# FdoReadOnlyUnnamedCollection< OBJ, BASE, EXC > Class Template Reference

`#include <ReadOnlyUnnamedCollection.h>`

Inheritance diagram for FdoReadOnlyUnnamedCollection< OBJ, BASE, EXC >:

[legend]

List of all members.

## 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.

## 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 ()

The documentation for this class was generated from the following file:

- ReadOnlyUnnamedCollection.h