A high level converter This interface does not require C++11 to compile.
More...
#include <SimpleConverter.hpp>
List of all members.
Public Member Functions |
| SimpleConverter (const std::string &configFileName) |
| Constructor of SimpleConverter.
|
std::string | Convert (const std::string &input) const |
| Converts a text.
|
std::string | Convert (const char *input) const |
| Converts a text.
|
std::string | Convert (const char *input, size_t length) const |
| Converts a text.
|
size_t | Convert (const char *input, char *output) const |
| Converts a text and writes to an allocated buffer Please make sure the buffer has sufficent space.
|
size_t | Convert (const char *input, size_t length, char *output) const |
| Converts a text and writes to an allocated buffer Please make sure the buffer has sufficent space.
|
Detailed Description
A high level converter This interface does not require C++11 to compile.
Constructor & Destructor Documentation
Constructor of SimpleConverter.
- Parameters:
-
configFileName | File name of configuration. |
Member Function Documentation
Converts a text.
- Parameters:
-
input | Text to be converted. |
Converts a text.
- Parameters:
-
input | A C-Style string (terminated by '\0') to be converted. |
Converts a text.
- Parameters:
-
input | A C-Style string limited by a given length to be converted. |
length | Maximal length in byte of the input string. |
Converts a text and writes to an allocated buffer Please make sure the buffer has sufficent space.
- Parameters:
-
input | A C-Style string (terminated by '\0') to be converted. |
output | Buffer to write the converted text. |
- Returns:
- Length of converted text.
Converts a text and writes to an allocated buffer Please make sure the buffer has sufficent space.
- Parameters:
-
input | A C-Style string limited by a given length to be converted. |
length | Maximal length in byte of the input string. |
output | Buffer to write the converted text. |
- Returns:
- Length of converted text.
The documentation for this class was generated from the following files: