Share

ads_u_val

C++

union ads_u_val {
  ads_real rreal;
  ads_real rpoint[3];
  short rint;
  ACHAR * rstring;
  const ACHAR* rcstring;
  int64_t rlname[2];
  int64_t mnLongPtr;
  int32_t rlong;
  int64_t mnInt64;
  struct ads_binary rbinary;
  unsigned char ihandle[8];
};

File

adsdef.h

Members

Members Description
rreal Real data type
rpoint 3D point data type
rint Integer data type
rstring Character string data type
rcstring Character string data type as a constant.
rlname Entity name data type
mnLongPtr Use this instead of rlong for pointers.
rlong A 32-bit integer value
mnInt64 A 64-bit integer value
rbinary Binary data type
ihandle Entity handle data type

Description

A union that is used in a resbuf structure to store data of various types. See ObjectARX Global Utility Functions->Variables, Types, and Values Defined in ObjectARX->Result Buffers and Type Codes in the ObjectARX Developer's Guide for more information.

Previous Declaration

AutoCAD 2024 and earlier

union ads_u_val {

ads_real rreal;

ads_real rpoint[3];

short rint;

ACHAR * rstring;

int64_t rlname[2];

int64_t mnLongPtr;

int32_t rlong;

int64_t mnInt64;

struct ads_binary rbinary;

unsigned char ihandle[8];

};

History

AutoCAD 2025

rcstring as added.

Was this information helpful?