|
Xerces-C++ 3.2.4
|
#include <xercesc/util/TransService.hpp>
Public Member Functions | |
| TranscodeToStr (const XMLCh *in, const char *encoding, MemoryManager *manager=XMLPlatformUtils::fgMemoryManager) | |
| Converts from the internal XMLCh* encoding to the specified encoding. | |
| TranscodeToStr (const XMLCh *in, XMLSize_t length, const char *encoding, MemoryManager *manager=XMLPlatformUtils::fgMemoryManager) | |
| Converts from the internal XMLCh* encoding to the specified encoding. | |
| TranscodeToStr (const XMLCh *in, XMLTranscoder *trans, MemoryManager *manager=XMLPlatformUtils::fgMemoryManager) | |
| Converts from the internal XMLCh* encoding to the specified encoding. | |
| TranscodeToStr (const XMLCh *in, XMLSize_t length, XMLTranscoder *trans, MemoryManager *manager=XMLPlatformUtils::fgMemoryManager) | |
| Converts from the internal XMLCh* encoding to the specified encoding. | |
| ~TranscodeToStr () | |
Getter methods | |
| const XMLByte * | str () const |
| Returns the transcoded, null terminated string. | |
| XMLByte * | adopt () |
| Returns the transcoded, null terminated string - adopting the memory allocated to it from the TranscodeToStr object. | |
| XMLSize_t | length () const |
| Returns the length of the transcoded string in bytes. | |
| TranscodeToStr::TranscodeToStr | ( | const XMLCh * | in, |
| const char * | encoding, | ||
| MemoryManager * | manager = XMLPlatformUtils::fgMemoryManager ) |
Converts from the internal XMLCh* encoding to the specified encoding.
| in | the null terminated source buffer to be transcoded |
| encoding | the name of the encoding to transcode to |
| manager | the memory manager to use |
References XMLPlatformUtils::fgMemoryManager.
Referenced by ~TranscodeToStr().
| TranscodeToStr::TranscodeToStr | ( | const XMLCh * | in, |
| XMLSize_t | length, | ||
| const char * | encoding, | ||
| MemoryManager * | manager = XMLPlatformUtils::fgMemoryManager ) |
Converts from the internal XMLCh* encoding to the specified encoding.
| in | the source buffer to be transcoded |
| length | the length of the source buffer |
| encoding | the name of the encoding to transcode to |
| manager | the memory manager to use |
References XMLPlatformUtils::fgMemoryManager, and length().
| TranscodeToStr::TranscodeToStr | ( | const XMLCh * | in, |
| XMLTranscoder * | trans, | ||
| MemoryManager * | manager = XMLPlatformUtils::fgMemoryManager ) |
Converts from the internal XMLCh* encoding to the specified encoding.
| in | the null terminated source buffer to be transcoded |
| trans | the transcoder to use |
| manager | the memory manager to use |
References XMLPlatformUtils::fgMemoryManager.
| TranscodeToStr::TranscodeToStr | ( | const XMLCh * | in, |
| XMLSize_t | length, | ||
| XMLTranscoder * | trans, | ||
| MemoryManager * | manager = XMLPlatformUtils::fgMemoryManager ) |
Converts from the internal XMLCh* encoding to the specified encoding.
| in | the source buffer to be transcoded |
| length | the length of the source buffer |
| trans | the transcoder to use |
| manager | the memory manager to use |
References XMLPlatformUtils::fgMemoryManager, and length().
| TranscodeToStr::~TranscodeToStr | ( | ) |
References adopt(), length(), str(), and TranscodeToStr().
| XMLByte * TranscodeToStr::adopt | ( | ) |
Returns the transcoded, null terminated string - adopting the memory allocated to it from the TranscodeToStr object.
Referenced by ~TranscodeToStr().
| XMLSize_t TranscodeToStr::length | ( | ) | const |
Returns the length of the transcoded string in bytes.
The length does not include the null terminator.
Referenced by TranscodeToStr(), TranscodeToStr(), and ~TranscodeToStr().
| const XMLByte * TranscodeToStr::str | ( | ) | const |
Returns the transcoded, null terminated string.
Referenced by ~TranscodeToStr().