MapGuide API Reference
|
Manipulates collections of MgLayerBase objects. More...
Public Member Functions | |
void | Add (MgLayerBase *value) |
Adds a layer to the end of the collection. | |
void | Clear () |
Removes all layers from the collection. | |
bool | Contains (CREFSTRING name) |
Determines if the collection contains the specified layer. | |
bool | Contains (MgLayerBase *value) |
Determines if the collection contains the specified layer. | |
INT32 | GetCount () |
Gets the number of layers in the collection. | |
MgLayerBase * | GetItem (INT32 index) |
Gets the layer at the specified index. | |
MgLayerBase * | GetItem (CREFSTRING name) |
Returns the layer with the specified name. | |
INT32 | IndexOf (CREFSTRING name) |
Gets the index of the specified layer in the collection. | |
INT32 | IndexOf (MgLayerBase *value) |
Gets the index of the specified layer in the collection. | |
void | Insert (INT32 index, MgLayerBase *value) |
Inserts a layer at a specified location in the collection. | |
bool | Remove (MgLayerBase *value) |
Removes a layer from the collection. | |
void | RemoveAt (INT32 index) |
Removes a layer from the collection at the specified index. | |
void | SetItem (INT32 index, MgLayerBase *value) |
Sets the layer in the collection at the specified index to the specified value. |
Manipulates collections of MgLayerBase objects.