BloombergLP::bdlcc::ObjectCatalogIter::ObjectCatalogIter

Create an iterator for the specified catalog at the specified handle.

Synopsis

Declared in <bdlcc_objectcatalog.h>

ObjectCatalogIter(
    ObjectCatalog<TYPE> const& catalog,
    int handle);

Description

Create an iterator for the specified catalog and associate it with the member of the catalog associated with the specified handle. If the catalog is empty or if handle is invalid, then the iterator is initialized to be invalid. The catalog is locked for read for the duration of iterator's life.

Parameters

NameDescription
catalogcatalog to iterate
handlehandle of the member to associate with this iterator