API Reference > OdDb Classes > OdDbObjectContextCollection Class
OdDbObjectContextCollection Class
OdDbObjectContextCollection
Syntax
C++
class OdDbObjectContextCollection : public OdRxObject;

DbObjectContextCollection.h

This class represents a collection of objects that have context items defined.

Implement this interface and register it with OdDbObjectContextContextManager for each database that supports context items. A context collection can be made current, locked, or unlocked. 

 

 
Name 
Description 
 
Copies a context and adds the copy to the context collection.
 
 
Returns a pointer to the current context of the context collection.
 
 
Returns a pointer to a copy of a named context in the collection.
 
 
Returns whether a named context exists in the collection.
 
 
Internal use only. 
 
Internal use only. 
 
name 
Returns the name of the context collection. 
 
Returns an Iterator to the contexts in the collection. 
 
 
 
Removes a context from the context collection.
 
 
Sets the current context of the context collection.
 
 
Internal use only. 
Copyright © 2002–2021. Open Design Alliance. All rights reserved.