FDO API Reference | Feature Data Objects |
#include <ReadOnlyCollection.h>
Inherits FdoIDisposable.
Inheritance diagram for FdoReadOnlyCollection< OBJ, BASE, EXC >:
Definition at line 30 of file ReadOnlyCollection.h.
Public Member Functions | |
virtual FDO_API bool | Contains (const OBJ *value) |
Returns true if the collection contains the specified item, false otherwise. | |
virtual FDO_API FdoInt32 | GetCount () |
Gets the number of items in the collection. | |
virtual FDO_API OBJ * | GetItem (FdoString *name) |
Gets the item in the collection with the specified name. Throws an invalid argument exception if an item with the specified name does not exist in the collection. | |
virtual FDO_API OBJ * | GetItem (FdoInt32 index) |
Gets the item in the collection at the specified index. Throws an invalid argument exception if the index is out of range. | |
virtual FDO_API FdoInt32 | IndexOf (const OBJ *value) |
Returns the index of the specified item in the collection or -1 if the item does not exist. | |
Protected Member Functions | |
FDO_API | FdoReadOnlyCollection () |
void | SetBaseCollection (BASE *base) |
virtual FDO_API | ~FdoReadOnlyCollection () |
Comments or suggestions? Send us feedback. |