CFx SDK Documentation  2023 SP0
Public Attributes | List of all members
OdStringData Struct Reference

#include <OdString.h>

Public Attributes

OdRefCounter nRefs
 
int nDataLength
 
int nAllocLength
 
OdCharunicodeBuffer
 
char * ansiString
 

Detailed Description

This structure contains string data used by OdString.

Remarks
An OdChar array (buffer) is allocated along with this structure, and is freed when this structure is freed.

Corresponding C++ library: TD_Root <group !!RECORDS_TD_APIRef>

Definition at line 58 of file OdString.h.

Member Data Documentation

◆ ansiString

char* OdStringData::ansiString

Underlying char array (buffer) of this StringData object.

Definition at line 83 of file OdString.h.

◆ nAllocLength

int OdStringData::nAllocLength

String allocation length in characters, omitting the 0 terminator.

Definition at line 73 of file OdString.h.

◆ nDataLength

int OdStringData::nDataLength

String length in characters, omitting the 0 terminator.

Definition at line 68 of file OdString.h.

◆ nRefs

OdRefCounter OdStringData::nRefs

Number of references to this string.

Definition at line 63 of file OdString.h.

◆ unicodeBuffer

OdChar* OdStringData::unicodeBuffer

Underlying OdChar array (buffer) of this StringData object.

Definition at line 78 of file OdString.h.


The documentation for this struct was generated from the following file: