MapGuide API Reference
|
This class represents a collection of integers. The integers are owned and managed by the collection. More...
Public Member Functions | |
virtual void | Add (INT32 value) |
Adds the specified item to the end of the collection. | |
virtual void | Clear () |
Removes all items from the collection. | |
virtual bool | Contains (INT32 value) |
Returns true if the collection contains the specified item, false otherwise. | |
virtual INT32 | GetCount () const |
Gets the number of items in the collection. | |
virtual INT32 | GetItem (INT32 index) const |
Gets the item in the collection at the specified index. | |
virtual INT32 | IndexOf (INT32 value) |
Returns the index of the specified item in the collection or -1 if the item does not exist. | |
virtual void | Insert (INT32 index, INT32 value) |
Inserts the specified item at the specified index within the collection. Items following the insertion point are moved down to accommodate the new item. | |
MgIntCollection () | |
Constructs a StringCollection. Collection is initially empty. | |
virtual bool | Remove (INT32 value) |
Removes the specified item from the collection. | |
virtual void | RemoveAt (INT32 index) |
Removes the specified item from the collection. | |
virtual void | SetItem (INT32 index, INT32 value) |
Sets the item in the collection at the specified index to the specified value. |
This class represents a collection of integers. The integers are owned and managed by the collection.