API Reference > OdDg Classes > OdDgElementId Class
OdDgElementId Class
OdDgElementId
Syntax
C++
class OdDgElementId;

DgElementId.h

This class implements memory-resident ElementId objects for OdDgDatabase objects.

Database objects reference other database objects using ElementId objects, and a database object pointer can always be obtained from a valid ObjectId objects. The effect of this mechanism is that database objects do not have to reside in memory unless they are explicitly being examined or modified by the user.

  • OdDbHandle
  • OdDgElement

 

Corresponding C++ library: TG_Db 

 

 
Name 
Description 
 
This is the overview for the OdDgElementId constructor overload. 
 
Name 
Description 
 
The null ObjectId object. 
 
Name 
Description 
 
If this ObjectId object has been redirected from another database (possibly an Xref), this function returns the actual ObjectId object for that database. 
 
Returns the database with which this ObjectId object is associated. 
 
Returns the database handle of the object referenced by this ObjectId object. 
 
Returns the database handle of the object referenced by this ObjectId object. 
 
Returns true if and only if the object associated with this ObjectId object is erased. 
 
Returns true and only if this ObjectId object is null. 
 
Returns true and only if this ObjectId object references a valid object. 
 
Opens the database object associated with this ObjectId object, in the specified mode.
 
 
Returns the original database with which this ObjectId object is associated. 
 
Opens the database object associated with this ObjectId object, in the specified mode, or throws and exception if unsucessful.
 
 
Sets this Object ID to null. 
 
Name 
Description 
 
! 
 
 
!= 
 
 
< 
 
 
<= 
 
 
= 
This is the overview for the = operator overload. 
 
== 
 
 
> 
 
 
-> 
 
 
>= 
 
 
 
Copyright © 2002–2021. Open Design Alliance. All rights reserved.