ACE_Encoding_Converter_Factory Class Reference

#include <Encoding_Converter_Factory.h>

List of all members.

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_Convertercreate (const ACE_Byte *source, size_t source_size, Encoding_Hint hint=ACE_NONE)

Detailed Description

Create an encoding converter based on the source or hint. This class allows users to avoid knowing any concrete converter types.


Member Enumeration Documentation

This enum is used to tell what type of converter to create.

Enumerator:
ACE_UTF_32BE 
ACE_UTF_32LE 
ACE_UTF_16BE 
ACE_UTF_16LE 
ACE_UTF_8 
ACE_NONE 

Member Function Documentation

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.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Mon Nov 30 00:51:57 2009 for ACE by  doxygen 1.6.1