API Reference > Other Classes > OdResBuf Class
OdResBuf Class
OdResBufOdResBuf
Syntax
C++
class OdResBuf : public OdRxObject;

ResBuf.h

 

This class implements ResBuf object which represents the structure for storing and passing the tagged data of all basic data types between various objects using different technologies.

Each ResBuf object contains three data members:

  • ResType: An integer which specifies the type of data stored in the ResBuf instance.
  • ResVal: A container for the data stored in the ResBuf instance.
  • RbNext: A smart pointer to the ResBuf instance to be attached in a linked list.

 
Name 
Description 
 
Destroys an instance of the ResBuf object. 
 
Name 
Description 
 
Defines the group codes for ResBuf instances. 
 
Name 
Description 
 
Copies the contents of the specified ResBuf object into this ResBuf object.
 
 
Returns the data content of the ResBuf object as a Binary chunk. 
 
Returns the data content of the ResBuf object as a Boolean value. 
 
Returns the data content of the ResBuf object as a Color instance. 
 
Returns the data content of the ResBuf object as a double-precision floating-point value. 
 
Returns the data content of the ResBuf object as an OdDbObjectId instance. 
 
Returns the data content of the ResBuf object as an OdDbHandle instance. 
 
Returns the data content of the ResBuf object as 16-bit Integer value. 
 
Returns the data content of the ResBuf object as 32-bit Integer value. 
 
Returns the data content of the ResBuf object as 64-bit Integer value. 
 
Returns the data content of the ResBuf object as 8-bit Integer value. 
 
Returns the data content of the ResBuf object as an OdDbObjectId instance using the specified database instance.
 
 
Returns the ResVal in this ResBuf object. 
 
Returns the data content of the ResBuf object as two-dimensional point instance. 
 
Returns the data content of the ResBuf object as three-dimensional point instance. 
 
Returns a pointer to the ResBuf instance nested in the data content of the ResBuf object. 
 
Returns the data content of the ResBuf object as a String value. 
 
Returns the data content of the ResBuf object as two-dimensional vector instance. 
 
Returns the data content of the ResBuf object as three-dimensional vector instance. 
 
Inserts the specified ResBuf object before the next ResBuf object in the sequence of tagged data after the current ResBuf object that calls this method.
 
 
last 
Returns a smart pointer to the last ResBuf object in the sequence of tagged data. 
 
This is the overview for the newRb method overload. 
 
next 
Returns a smart pointer to the next ResBuf object in the sequence of tagged data. 
 
 
 
Returns the group code as an Integer value which indicates the data type stored in the ResBuf object. 
 
 
 
Sets the data content of the ResBuf object using the specified binary chunk instance only if the stored group code has the BinaryChunk type.
 
 
Sets the data content of the ResBuf object using the specified Boolean value only if the stored group code has a Boolean type.
 
 
Sets the data content of the ResBuf object using the specified Color instance only if the group code is set to OdResBuf::kRtColor.
 
 
Sets the data content of the ResBuf object using the specified double-precision floating-point value only if the stored group code has a Double or Angle type.
 
 
Sets the data content of the ResBuf object using the specified Handle instance only if the stored group code has the Handle type.
 
 
Sets the data content of the ResBuf object using the specified 16-bit Integer value only if the stored group code has an Integer type.
 
 
Sets the data content of the ResBuf object using the specified 32-bit Integer value only if the stored group code has an Integer type.
 
 
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.
 
 
Sets the data content of the ResBuf object using the specified 8-bit Integer value only if the stored group code has an Integer type.
 
 
Sets the specified ResBuf object as the next ResBuf Object in the sequence of tagged data after the current ResBuf object that calls this method.
 
 
Sets the data content of the ResBuf object using the specified object ID instance only if the stored group code has the ObjectId, SoftPointerId, HardPointerId, SoftOwnershipId, or HardOwnershipId type.
 
 
Sets the ResVal in this ResBuf object.
 
 
Sets the data content of the ResBuf object using the specified two-dimensional point instance only if the stored group code has a Point type.
 
 
Sets the data content of the ResBuf object using the specified three-dimensional point instance only if the stored group code has a Point type.
 
 
Sets the data content of the ResBuf object using the specified ResBuf instance only if the group code is set to OdResBuf::kRtResBuf.
 
 
Sets the group code for the ResBuf object.
 
 
Sets the data content of the ResBuf object using the specified String value only if the stored group code has a String type.
 
 
Sets the data content of the ResBuf object using the specified two-dimensional vector instance only if the stored group code has a Point type.
 
 
Sets the data content of the ResBuf object using the specified three-dimensional vector instance only if the stored group code has a Point type.
 
 
Name 
Description 
 
!= 
Compares the specified ResBuf object with this ResBuf object whether object are not equal.
 
 
== 
Compares the specified ResBuf object with this ResBuf object whether object are equal.
 
 
Name 
Description 
 
Data 
Defines the content of the ResBuf object. 
Copyright © 2002–2021. Open Design Alliance. All rights reserved.