API Reference > OdDb Classes > OdDbObjectContextDefaultPE Class > OdDbObjectContextDefaultPE Methods > OdDbObjectContextDefaultPE::hasContext Method
OdDbObjectContextDefaultPE::hasContext Method
Syntax
C++
virtual bool hasContext(const OdDbObject*, const OdDbObjectContext&) const;
Parameters 
Description 
pObject 
[in] Pointer to the object.  
context 
[in] Name of the context. 

Returns true if the object uses the named context, or returns false if it does not.

Returns whether a context is used by a specified object. 

 

Copyright © 2002–2020. Open Design Alliance. All rights reserved.