OPAL  Version 3.10.10
T140String Class Reference

#include <t140.h>

Inheritance diagram for T140String:

Public Types

enum  { ZERO_WIDTH_NO_BREAK = 0xfeff, UTF_NEWLINE = 0x2028 }
 

Public Member Functions

 T140String ()
 
 T140String (const BYTE *data, PINDEX len)
 
 T140String (const PBYTEArray &bytes)
 
 T140String (const char *chars)
 
 T140String (const PString &str)
 
PINDEX GetLength () const
 
PINDEX GetUTFLen (WORD c)
 
PINDEX GetUTF (const BYTE *ptr, PINDEX len, WORD &ch)
 
PINDEX GetUTF (PINDEX pos, WORD &ch)
 
PINDEX AppendUnicode16 (WORD c)
 
PINDEX AppendUTF (const BYTE *utf, PINDEX utfLen)
 
bool AsString (PString &str)
 

Protected Member Functions

PINDEX SetUTF (BYTE *ptr, WORD c)
 

Protected Attributes

PINDEX length
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
ZERO_WIDTH_NO_BREAK 
UTF_NEWLINE 

Constructor & Destructor Documentation

◆ T140String() [1/5]

T140String::T140String ( )

◆ T140String() [2/5]

T140String::T140String ( const BYTE *  data,
PINDEX  len 
)

◆ T140String() [3/5]

T140String::T140String ( const PBYTEArray &  bytes)

◆ T140String() [4/5]

T140String::T140String ( const char *  chars)

◆ T140String() [5/5]

T140String::T140String ( const PString &  str)

Member Function Documentation

◆ AppendUnicode16()

PINDEX T140String::AppendUnicode16 ( WORD  c)

◆ AppendUTF()

PINDEX T140String::AppendUTF ( const BYTE *  utf,
PINDEX  utfLen 
)

◆ AsString()

bool T140String::AsString ( PString &  str)

◆ GetLength()

PINDEX T140String::GetLength ( ) const
inline

◆ GetUTF() [1/2]

PINDEX T140String::GetUTF ( const BYTE *  ptr,
PINDEX  len,
WORD &  ch 
)

◆ GetUTF() [2/2]

PINDEX T140String::GetUTF ( PINDEX  pos,
WORD &  ch 
)

◆ GetUTFLen()

PINDEX T140String::GetUTFLen ( WORD  c)

◆ SetUTF()

PINDEX T140String::SetUTF ( BYTE *  ptr,
WORD  c 
)
protected

Field Documentation

◆ length

PINDEX T140String::length
protected

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