API Reference > Other Classes > OdResBuf Class > OdResBuf Methods > OdResBuf::setInt64 Method
OdResBuf::setInt64 Method
Syntax
C++
void setInt64(OdInt64 iValue);
Parameters 
Description 
OdInt64 iValue 
[in] 64-bit Integer value to be set. 

Sets the data content of the ResBuf object using the specified 64-bit Integer value only if the stored group code has an Integer type. 

 

This method generates the OdError_InvalidResBuf exception when the stored data type does not correspond to the Integer64 type. Use the ((OdInt64)value) instruction to convert the passed value.

Example of Entering and Displaying Tagged Data 

Getting and Setting Typical Data (integer 

Determining the Data Type by Group Code 

OdResBuf::getInt64(), OdResBuf::setRestype(), OdDxfCode::_getType() methods

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