#include <Encoding_Converter_Factory.h>
Public Types | |
enum | Encoding_Hint { ACE_UTF_32BE, ACE_UTF_32LE, ACE_UTF_16BE, ACE_UTF_16LE, ACE_UTF_8, ACE_NONE } |
This enum is used to tell what type of converter to create. More... | |
Static Public Member Functions | |
static ACE_Encoding_Converter * | create (const ACE_Byte *source, size_t source_size, Encoding_Hint hint=ACE_NONE) |
Create an encoding converter based on the source or hint. This class allows users to avoid knowing any concrete converter types.
static ACE_Encoding_Converter* ACE_Encoding_Converter_Factory::create | ( | const ACE_Byte * | source, | |
size_t | source_size, | |||
Encoding_Hint | hint = ACE_NONE | |||
) | [static] |
Create an encoding converter based on the source. If a hint is given, it just creates the specified type of converter without looking at the source.