Iterators are provided to navigate the repositories. Examples of using an iterator can be found in the example problem section.
This method constructs an iterator for a repository.
odb_TypeRepositoryIT
odb_TypeRepositoryIT(const odb_TypeRepository& repository);
Required argument
The repository over which to iterate.
Optional arguments
Return value
An Iterator object.
Exceptions
This method sets the iterator to the first item in the repository.
first();
Arguments
Return value
Exceptions
This method sets the iterator to the next item in the repository.
next();
Arguments
Return value
Exceptions
This method checks whether the iterator is at the end of the repository.
bool isDone();
Arguments
Return value
A Boolean specifying whether the end of the repository has been reached.
Exceptions