#include <Array.h>
Inheritance diagram for CODEX_ASN1::Array< T >:


Public Types | |||
| typedef T | ValueType | ||
| template argument -- useful when using typedefs | |||
| typedef vector< T * > | ArrayType | ||
| internal representation of the array | |||
| typedef ArrayType::const_iterator | ArrayItr | ||
| iterator to the elements of the array | |||
Public Methods | |||
| Array () | |||
| Default constructor, for creating an object to be filled or unmarshalled. | |||
| Array (const Array &aArr) | |||
| Create an Array from another Array. | |||
| virtual | ~Array () | ||
| Destructor -- frees the objects held. | |||
| void | operator= (const Array &aArr) | ||
| Assignment operator-- deep copy. | |||
| unsigned int | size () const | ||
| |||
| const T * | element (unsigned int i) const | ||
| |||
| ArrayItr | begin () const | ||
| |||
| ArrayItr | end () const | ||
| |||
| void | append (T *item) | ||
| |||
| int | marshal (unsigned char **pp) const | ||
| This function creates a serialized representation of the object, which is returned through the argument pp. | |||
| void * | unmarshal (void *bogus, unsigned char **pp, long length) | ||
| This function takes a serialized representation of the object and recreates the object representation. | |||
Definition at line 31 of file Array.h.
|
||||||||||
|
This function creates a serialized representation of the object, which is returned through the argument pp. This must be overridden by the concrete derived class.
Implements CODEX_ASN1::Base. |
|
||||||||||||||||||||
|
This function takes a serialized representation of the object and recreates the object representation. This must be overridden by the concrete derived class.
Implements CODEX_ASN1::Base. |
1.2.18