FdoReadOnlyUnnamedCollection< OBJ, BASE, EXC > Class Template Reference
FdoReadOnlyUnnamedCollection is an abstract template class used to define a collection that can not be modified after it is constructed, i.e. provides read-only access. The difference to the class
FdoReadOnlyCollection is that this class contains objects that do not have a property name.
More...
#include <ReadOnlyUnnamedCollection.h>
Inherits FdoIDisposable.
List of all members.
|
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 (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 | FdoReadOnlyUnnamedCollection () |
void | SetBaseCollection (BASE *base) |
virtual FDO_API | ~FdoReadOnlyUnnamedCollection () |
Detailed Description
template<class OBJ, class BASE, class EXC>
class FdoReadOnlyUnnamedCollection< OBJ, BASE, EXC >
FdoReadOnlyUnnamedCollection is an abstract template class used to define a collection that can not be modified after it is constructed, i.e. provides read-only access. The difference to the class
FdoReadOnlyCollection is that this class contains objects that do not have a property name.
Definition at line 32 of file ReadOnlyUnnamedCollection.h.
The documentation for this class was generated from the following file: