Xerces-C++: TranscodeToStr Class Reference (original) (raw)
#include <[xercesc/util/TransService.hpp](TransService%5F8hpp%5Fsource.html)>
| Public Member Functions |
|---|
| 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. | |
Converts from the internal XMLCh* encoding to the specified encoding.
Parameters
| in | the null terminated source buffer to be transcoded |
|---|---|
| encoding | the name of the encoding to transcode to |
| manager | the memory manager to use |
◆ TranscodeToStr() [2/4]
Converts from the internal XMLCh* encoding to the specified encoding.
Parameters
| 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 |
◆ TranscodeToStr() [3/4]
Converts from the internal XMLCh* encoding to the specified encoding.
Parameters
| in | the null terminated source buffer to be transcoded |
|---|---|
| trans | the transcoder to use |
| manager | the memory manager to use |
◆ TranscodeToStr() [4/4]
Converts from the internal XMLCh* encoding to the specified encoding.
Parameters
| 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 |
◆ ~TranscodeToStr()
| TranscodeToStr::~TranscodeToStr | ( | ) |
|---|
◆ adopt()
| XMLByte * TranscodeToStr::adopt | ( | ) |
|---|
Returns the transcoded, null terminated string - adopting the memory allocated to it from the TranscodeToStr object.
Returns
the transcoded string
◆ length()
Returns the length of the transcoded string in bytes.
The length does not include the null terminator.
Returns
the length of the transcoded string in bytes
◆ str()
| const XMLByte * TranscodeToStr::str | ( | ) | const |
|---|
Returns the transcoded, null terminated string.
Returns
the transcoded string
The documentation for this class was generated from the following file: