API Reference > Other Classes > OdResBuf Class > OdResBuf Methods > OdResBuf::getEntName Method
OdResBuf::getEntName Method
Syntax
C++
const OdDbObjectId& getEntName() const;

Returns the data content of the ResBuf object as an OdDbObjectId instance.

This method generates the OdError_InvalidResBuf exception when the stored data type does not correspond to the ObjectId type. Only group codes kRtEntName and kDxfEnd store the object ID, other group codes associated with ObjectId, SoftPointerId, HardPointerId, SoftOwnershipId, HardOwnershipId types store the handle.

Example of Entering and Displaying Tagged Data 

Getting and Setting Objects 

Determining the Data Type by Group Code 

OdResBuf::setObjectId(), OdResBuf::restype(), OdDxfCode::_getType() methods 

OdDbObjectId, OdDbHandle classes

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