String

interface ICwAPI3DString

Public Functions

virtual void destroy() = 0

Destroys itself.

virtual uint32_t length() = 0

Returns the length of the string.

Returns:

length of string

virtual const character *data() = 0

Returns the data of the string.

Returns:

data of string

virtual const narrowCharacter *narrowData() = 0

Returns the narrow data of the string.

Returns:

narrow data of string

virtual void copyToBuffer(character *aBuffer, uint32_t aSize) = 0

Copies the data to a buffer.

Parameters:
  • aBuffer – buffer

  • aSize – size of buffer

virtual void copyToNarrowBuffer(narrowCharacter *aBuffer, uint32_t aSize) = 0

Copies the data to a narrow buffer.

Parameters:
  • aBuffer – narrow buffer

  • aSize – size of narrow buffer