API Reference > Classes > OdDAIObjectId Class > OdDAIObjectId Methods > OdDAIObjectId::isNonPersistent Method
OdDAIObjectId::isNonPersistent Method
Syntax
C++
bool isNonPersistent() const;

Returns true if and only if non-null identifier doesn't belong to any owning model and has a link to owner's identifier. remarks Object identifiers for non-persistent instances are created during owning instance's derived attributes evaluation only. Such identifiers have handle which isn't equal to zero, don't have owning model and have link to owning instance's object identifier simultaneously.

Retrieves whether the identifier's instance is non-persistent.

Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.