API Reference > OdDbRoot Classes > OdDbSubentId Class
OdDbSubentId Class
OdDbSubentId
Syntax
C++
class OdDbSubentId;

DbBaseSubentId.h

This class implements Subentity Id objects for OdDbEntity objects in an OdDbDatabase instance.

A given OdDbEntity object may consist of any number of graphical subentities. 

Subentity type must be one of the following: 

 

Name 
Value 
OdDb::kNullSubentType 
OdDb::kFaceSubentType 
OdDb::kEdgeSubentType 
OdDb::kVertexSubentType 
OdDb::kMlineSubentCache 

 

Each SubentityId object is created from a Subentity type and an index. 

Corresponding C++ library: TD_DbRoot 

 

 
Name 
Description 
 
This is the overview for the OdDbSubentId constructor overload. 
 
Name 
Description 
 
Returns the index of this SubentId object.
 
 
Sets the index of this SubentId object.
 
 
Sets the type of this SubentId object.
 
 
type 
Returns the type of this SubentId object.
 
 
Name 
Description 
 
!= 
Comparison operator "not equal". This operator compares this object with another object of the OdDbSubentId type.
 
 
== 
Comparison operator. This operator compares this object with another object of the OdDbSubentId type.
 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.