API Reference > Other Classes > OdResBuf Class > OdResBuf Methods > newRb Method > OdResBuf::newRb Method (int)
OdResBuf::newRb Method (int)
Syntax
C++
static OdResBufPtr newRb(int resType = OdResBuf::kRtNone);
Parameters 
Description 
int resType = OdResBuf::kRtNone 
[in] Group code as an Integer value. 

Create an instance of the ResBuf object of the specified data type and initialized the specified data value. 

 

This method generate the OdError_InvalidResBuf exception when the specified data value does not correspond to the specified data type.

Sequence of Tagged Data 

Getting and Setting Objects

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