|
MapGuide API Reference
|
MgParameterCollection represents a collection of parameters. All parameters contained in an instance of a parameter collection are objects whose base class is MgParameter. A call to a parameter object's GetType() method returns one of the integer constants defined in class MgPropertyType. This collection does not allow duplicate key names. More...
Inheritance diagram for MgParameterCollection:Public Member Functions | |
| void | Add (MgParameter *value) |
| Adds the specified item to the end of the collection. | |
| void | Clear () |
| Removes all items from the collection. | |
| bool | Contains (const MgParameter *value) const |
| Returns true if the collection contains the specified item, false otherwise. | |
| INT32 | GetCount () const |
| Gets the number of items in the collection. | |
| MgParameter * | GetItem (INT32 index) const |
| Gets the item in the collection at the specified index. | |
| INT32 | IndexOf (const MgParameter *value) const |
| Returns the index of the specified item in the collection or -1 if the item does not exist. | |
| void | Insert (INT32 index, MgParameter *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. | |
| MgParameterCollection () | |
| Constructs a MgParameterCollection. The collection is initially empty. | |
| bool | Remove (MgParameter *value) |
| Removes the specified item from the collection. | |
| void | RemoveAt (INT32 index) |
| Removes the specified item from the collection. | |
| void | SetItem (INT32 index, MgParameter *value) |
| Sets the item in the collection at the specified index to the specified value. | |
MgParameterCollection represents a collection of parameters. All parameters contained in an instance of a parameter collection are objects whose base class is MgParameter. A call to a parameter object's GetType() method returns one of the integer constants defined in class MgPropertyType. This collection does not allow duplicate key names.