CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
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 60 of file OdString.h.

Member Data Documentation

◆ ansiString

char* OdStringData::ansiString

Underlying char array (buffer) of this StringData object.

Definition at line 85 of file OdString.h.

◆ nAllocLength

int OdStringData::nAllocLength

String allocation length in characters, omitting the 0 terminator.

Definition at line 75 of file OdString.h.

◆ nDataLength

int OdStringData::nDataLength

String length in characters, omitting the 0 terminator.

Definition at line 70 of file OdString.h.

◆ nRefs

OdRefCounter OdStringData::nRefs

Number of references to this string.

Definition at line 65 of file OdString.h.

◆ unicodeBuffer

OdChar* OdStringData::unicodeBuffer

Underlying OdChar array (buffer) of this StringData object.

Definition at line 80 of file OdString.h.


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