This class defines an efficient indexed object catalog of TYPE objects. This container is exception neutral with no guarantee of rollback: if an exception is thrown during the invocation of a method on a pre‐existing instance, the object is left in a valid but undefined state. In no event is memory leaked or a mutex left in a locked state.
Synopsis
Declared in <bdlcc_objectcatalog.h>
template<class TYPE>
class ObjectCatalog;
Member Functions
Name |
Description |
|
Create an empty object catalog, using the optionally specified |
|
Destroy this object catalog. |
|
|
Return the allocator used by this object. |
|
|
|
Return |
|
Return a "snapshot" of the number of items currently contained in this catalog. |
|
Optionally load into the optionally specified |
|
|
|
|
|
Return a |
|
Verify that this catalog is in a consistent state. This function is introduced for testing purposes only. |
|
|
Declare that this type uses a |
Friends
Name |
Description |
Provide thread safe iteration through all the objects of an object catalog of parameterized |
|
This class provides a specialized proctor object that, upon destruction and unless the |
Created with MrDocs