TalanSoft Toolkits  201707
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | List of all members
Buffer Struct Reference
Inheritance diagram for Buffer:
sBuffer BufferUTF16 BufferUTF32 BufferUTF8

Public Member Functions

 Buffer ()
 
 ~Buffer ()
 
tBool IsEmpty () const
 
tU32 GetCapacity () const
 
tU32 GetSize () const
 
tPtr GetData () const
 
tBool IsAdopted () const
 
tBool SetCapacity (tU32 anNewCapacity)
 
void Clear ()
 
tBool Adopt (tPtr apData, tU32 anInitialSize)
 
tBool Reserve (tU32 anSize)
 
void Compact ()
 
tBool Resize (tU32 anSize)
 
tBool Append (tPtr apData, tU32 anSize)
 
tBool AppendUTF8 (const cchar *apData, tU32 anSizeInBytes, tBool abAppendZero)
 
tBool AppendUTF8ToUTF16 (const cchar *apData, tU32 anSizeInBytes, tBool abAppendZero)
 
tBool AppendUTF8ToUTF32 (const cchar *apData, tU32 anSizeInBytes, tBool abAppendZero)
 
tBool AppendUTF16 (const gchar *apData, tU32 anSizeInBytes, tBool abAppendZero)
 
tBool AppendUTF16ToUTF8 (const gchar *apData, tU32 anSizeInBytes, tBool abAppendZero)
 
tBool AppendUTF16ToUTF32 (const gchar *apData, tU32 anSizeInBytes, tBool abAppendZero)
 
tBool AppendUTF32 (const xchar *apData, tU32 anSizeInBytes, tBool abAppendZero)
 
tBool AppendUTF32ToUTF8 (const xchar *apData, tU32 anSizeInBytes, tBool abAppendZero)
 
tBool AppendUTF32ToUTF16 (const xchar *apData, tU32 anSizeInBytes, tBool abAppendZero)
 
 niClassNoCopyAssign (Buffer)
 

Additional Inherited Members

- Public Attributes inherited from sBuffer
tPtr mpData
 
tU32 mnSize
 
tBool mbAdopted
 

Constructor & Destructor Documentation

Buffer ( )
~Buffer ( )

Member Function Documentation

tBool IsEmpty ( ) const
tU32 GetCapacity ( ) const
tU32 GetSize ( ) const
tPtr GetData ( ) const
tBool IsAdopted ( ) const
tBool SetCapacity ( tU32  anNewCapacity)
void Clear ( )
tBool Adopt ( tPtr  apData,
tU32  anInitialSize 
)
tBool Reserve ( tU32  anSize)
void Compact ( )
tBool Resize ( tU32  anSize)
tBool Append ( tPtr  apData,
tU32  anSize 
)
tBool AppendUTF8 ( const cchar apData,
tU32  anSizeInBytes,
tBool  abAppendZero 
)
tBool AppendUTF8ToUTF16 ( const cchar apData,
tU32  anSizeInBytes,
tBool  abAppendZero 
)
tBool AppendUTF8ToUTF32 ( const cchar apData,
tU32  anSizeInBytes,
tBool  abAppendZero 
)
tBool AppendUTF16 ( const gchar apData,
tU32  anSizeInBytes,
tBool  abAppendZero 
)
tBool AppendUTF16ToUTF8 ( const gchar apData,
tU32  anSizeInBytes,
tBool  abAppendZero 
)
tBool AppendUTF16ToUTF32 ( const gchar apData,
tU32  anSizeInBytes,
tBool  abAppendZero 
)
tBool AppendUTF32 ( const xchar apData,
tU32  anSizeInBytes,
tBool  abAppendZero 
)
tBool AppendUTF32ToUTF8 ( const xchar apData,
tU32  anSizeInBytes,
tBool  abAppendZero 
)
tBool AppendUTF32ToUTF16 ( const xchar apData,
tU32  anSizeInBytes,
tBool  abAppendZero 
)
niClassNoCopyAssign ( Buffer  )