API Reference > Other Classes > OdResBuf Class > OdResBuf Unions > OdResBuf::Data Union
OdResBuf::Data Union
Syntax
C++
union Data { bool Bool; OdInt16 Int16; OdInt32 Int32; OdInt64 Int64; double Double; void* Pointer; OdUInt8 Bytes[sizeof(OdInt64)]; };

ResBuf.h

Members 
Description 
bool Bool; 
Boolean content 
OdInt16 Int16; 
8-bit or 16-bit Integer content 
OdInt32 Int32; 
32-bit Integer or Color content 
OdInt64 Int64; 
64-bit Integer or Handle content 
double Double; 
double-precision floating-point content 
void* Pointer; 
pointer to an object 
OdUInt8 Bytes[sizeof(OdInt64)]; 
Content as an array of bytes 

Defines the content of the ResBuf object.

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