API Reference > Structs, Records, Enums > OdStringDataA Structure
OdStringDataA Structure
Syntax
C++
struct OdStringDataA { OdRefCounter nRefs; int nDataLength; int nAllocLength; OdCodePageId codepage; };

OdAnsiString.h

This structure contains string data used by OdAnsiString.

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

Corresponding C++ library: TD_Root

 
Name 
Description 
 
This is codepage, a member of class OdStringDataA. 
 
String allocation length in characters, omitting the 0 terminator. 
 
String length in characters, omitting the 0 terminator. 
 
Number of references to this string. 
 
Name 
Description 
 
data 
Returns the underlying char array (buffer) of this StringData object. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.