Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

List< T > Class Template Reference
[Data classes]

A packable list class based on std::vector. More...

#include <List.h>

Inheritance diagram for List< T >:

ListBase BaseType List of all members.

Public Methods

 ~List ()
T & extend ()
virtual void serialize (Archive &)
 Serialize to or from a data archive.

std::string asString () const
 Return a string representation of the instance.

virtual void parseXML (const char *cdata)
 Parse cdata from within the XML tags for this object.

virtual void convertXML ()
 Convert XML data to internal format prior to serialization.

virtual std::string typeString () const=0
 Return a string representation of the type.


Detailed Description

template<class T>
class List< T >

A packable list class based on std::vector.

Author:
Mark Rose <mrose@stm.lbl.gov>


Constructor & Destructor Documentation

template<class T>
List< T >::~List   [inline]
 


Member Function Documentation

template<typename T>
std::string List< T >::asString   [virtual]
 

Return a string representation of the instance.

This method is used to provide a string representation of the object for output to ostreams (using <<), and also serves as __repr__ in Python.

Implements BaseType.

void BaseType::convertXML   [virtual, inherited]
 

Convert XML data to internal format prior to serialization.

This method is currently only called by the XML parser for Object classes. If another BaseType class requires this method, a call must be added to the appropriate XML handler in the parser.

template<typename T>
T & List< T >::extend  
 

void BaseType::parseXML const char *    cdata [virtual, inherited]
 

Parse cdata from within the XML tags for this object.

Reimplemented in SimDate, EnumLink, GeoPos, LLA, UTM, Matrix3, Quat, Real, and Vector3.

template<typename T>
void List< T >::serialize Archive   [virtual]
 

Serialize to or from a data archive.

Reimplemented from BaseType.

virtual std::string BaseType::typeString   [pure virtual, inherited]
 

Return a string representation of the type.

Implemented in SimDate, EnumLink, External, GeoPos, LLA, UTM, ECEF, Curve, Table, Key, LinkBase, Link< T >, LUT< N, X >, LUT< 1, X >, Matrix3, Object, Path, Quat, Real, Vector3, and LUT< N, T >.


The documentation for this class was generated from the following file:
SimData version pre-0.4.0. For more information on SimData, visit the SimData Homepage.

Generated on Tue Oct 14 12:06:41 2003, using Doxygen 1.2.18.

[SF.net]