Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdStringData Structure
Syntax
C++
struct OdStringData { OdRefCounter nRefs; int nDataLength; int nAllocLength; OdChar* unicodeBuffer; char* ansiString; };
Members
Description
nRefs
Number of references to this string.
nDataLength
String length in characters, omitting the 0 terminator.
nAllocLength
String allocation length in characters, omitting the 0 terminator.
unicodeBuffer
Underlying OdChar array (buffer) of this StringData object.
ansiString
Underlying char array (buffer) of this StringData object.

This structure contains string data used by OdString.

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

Corresponding C++ library: TD_Root

File: OdString.h 

Module: API Reference 

Copyright © 2002-2022. Open Design Alliance All rights reserved.