API Reference > Classes > Database Classes > OdBmElement Class > OdBmElement Methods > OdBmElement::assertReadEnabled Method
OdBmElement::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 (c) 2002-2020. Open Design Alliance. All rights reserved.