API Reference > Other Classes > OdDgResBuf Class > OdDgResBuf Methods > OdDgResBuf::getInt32 Method
OdDgResBuf::getInt32 Method
Syntax
C++
OdInt32 getInt32() const;

Returns the data content of the ResBuf object as 32-bit Integer value.

This method generates the OdError_InvalidResBuf exception when the stored data type does not correspond to the Integer8, Integer16, or Integer32 type.

Example of Entering and Displaying Tagged Data 

Getting and Setting Typical Data (integer 

Determining the Data Type by Group Code 

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

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