API Reference > OdDb Classes > OdDbObjectContextPE Class > OdDbObjectContextPE Methods > OdDbObjectContextPE::hasContext Method
OdDbObjectContextPE::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–2021. Open Design Alliance. All rights reserved.