API Reference > OdDb Classes > OdDbObject Class > OdDbObject Methods > OdDbObject::assertReadEnabled Method
OdDbObject::assertReadEnabled Method
Syntax
C++
void assertReadEnabled() const;

Throws an exception if this object is not open OdDb::kForRead.

This function should be used only inside member functions that do not modify this object. It should be the first function called by these functions.

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