Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Ishtar::ValueVectorTemplate< T > Struct Template Reference

#include <services.h>

Inheritance diagram for Ishtar::ValueVectorTemplate< T >:

Ishtar::ValueVector List of all members.

Detailed Description

template<typename T>
struct Ishtar::ValueVectorTemplate< T >

The template implementation of ValueVector.

Public Member Functions

 ValueVectorTemplate (Size size)
 Constructor. Create a ValueVectoTemplate<T> with size elements.
virtual void serialize (OutputStream *stream) const
 Serialize this vector to a stream, write the type that call serializeSpecified.
virtual void serializeSpecified (OutputStream *stream) const
 Serialize the values of this vector to a stream, write the length then each value.
virtual void deserializeSpecified (InputStream *stream)
 Deserialize the values of this vector form a stream, the type has already been read because the vector is already created.
virtual std::string toString (unsigned index) const
 Get value index to a string.
virtual void fromString (unsigned index, const std::string &s)
 Set value index from a string s.
virtual Size size (void) const
 Return the length of the vector.
virtual Type getType (void) const
 Return the type of the vector.

Public Attributes

std::vector< T > value
 The vector containing scalar values.

The documentation for this struct was generated from the following file:
Generated on Mon Oct 24 17:31:22 2005 for libishtarservices by  doxygen 1.4.2