API Reference > OdDb Classes > OdDbLongTransWorkSetIterator Class > OdDbLongTransWorkSetIterator Methods > OdDbLongTransWorkSetIterator::curObjectIsPrimary Method
OdDbLongTransWorkSetIterator::curObjectIsPrimary Method
Syntax
C++
virtual bool curObjectIsPrimary() const = 0;

Returns true if and only if the entity currently referenced by this Iterator object is a Primary object.

Primary objects are in the work set because they have been explicitly added to it. 

Non-Primary objects are in the work set only because they are referenced by Primary objects. 

The default iterators return only Primary objects.

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