Public Member Functions | |
| AddressDataSequence () | |
| Default constructor. | |
| AddressDataSequence (int initialCapacity) | |
| Constructor that takes an initial capacity. | |
| AddressDataSequence (const AddressDataSequence &other) | |
| Copy constructor. | |
| ~AddressDataSequence () | |
| Destructor. | |
| AddressDataSequence & | operator= (const AddressDataSequence &other) |
| Assignment operator. | |
| unsigned | NumElements () const |
| Gets the number of AddressData objects in the container. | |
| void | InsertElement (unsigned pos, AddressData *element) |
| Inserts an AddressData object at the specified position. | |
| void | AppendElement (AddressData *element) |
| Appends an AddressData object. | |
| AddressData * | RemoveElement (unsigned index) |
| Removes an AddressData object from the collection. | |
| AddressData * | ElementAt (unsigned index) const |
| Gets the AddressData object at the specified position. | |
| void | DeleteAll () |
| Removes and deletes all objects from the collection. | |
| void | ImportData (ListItem *root) |
| Called by the parser to set the data for this object. | |
|
|
Default constructor. |
|
|
Constructor that takes an initial capacity. If you know beforehand how many AddressData objects you will add to the collection, you may add them more efficiently if you create the AddressDataSequence object with sufficient capacity. You may use this constructor to specify the capacity when you create the AddressDataSequence. It is always safe to add additional AddressData objects, even if the initial capcity is too small, because the library increases the capacity dynamically.
|
|
|
Copy constructor.
|
|
|
Destructor. |
|
|
Appends an AddressData object.
|
|
|
Removes and deletes all AddressData objects from the collection. |
|
|
Gets the AddressData object at the specified position. The index parameter must satisfy index < NumElements().
|
|
|
Called by the parser to set the data for this object. Only the parser should call this function.
|
|
||||||||||||
|
Inserts an AddressData object at the specified position. The index parameter must satisfy index <= NumElements().
|
|
|
Gets the number of AddressData objects in the container.
|
|
|
Assignment operator.
|
|
|
Removes an AddressData object from the collection. The index parameter must satisfy index < NumElements().
|
Copyright © 2001-2005 Hunny Software, Inc. All rights reserved.