|
nux-1.14.0
|
#include <NuxCore/Character/NUnicode.h>
Public Member Functions | |
| NCharacterConversion (const CONVERT_FROM *Source) | |
| ~NCharacterConversion () | |
| operator CONVERT_TO * (void) const | |
Convert from one string format to another.
Definition at line 319 of file NUnicode.h.
| nux::NCharacterConversion< CONVERT_TO, CONVERT_FROM, BASE_CONVERTER, DefaultConversionSize >::NCharacterConversion | ( | const CONVERT_FROM * | Source | ) | [inline, explicit] |
Converts the data by using the Convert() method on the base class
Definition at line 330 of file NUnicode.h.
{
if (Source != NULL)
{
// Use base class' convert method
ConvertedString = BASE_CONVERTER::Convert (Source);
}
else
{
ConvertedString = NULL;
}
}
| nux::NCharacterConversion< CONVERT_TO, CONVERT_FROM, BASE_CONVERTER, DefaultConversionSize >::~NCharacterConversion | ( | ) | [inline] |
If memory was allocated, then it is freed below
Definition at line 346 of file NUnicode.h.
{
if (ConvertedString != NULL)
{
delete [] ConvertedString;
}
}