3 //=============================================================================
5 * @file Codeset_Translator_Factory.cpp
7 * The base for all the translator factories. Translator factories are
8 * responsible for supplying the proper translator on demand.
10 * @author Phil Mesnier <mesnier_p@ociweb.com>
12 //=============================================================================
14 #include "tao/Codeset/Codeset_Translator_Factory.h"
17 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
20 TAO_Codeset_Translator_Factory::init (int , ACE_TCHAR
**)
26 TAO_Codeset_Translator_Factory::assign_i (
28 ACE_Char_Codeset_Translator
*trans
) const
30 cdr
->char_translator(trans
);
34 TAO_Codeset_Translator_Factory::assign_i (
36 ACE_Char_Codeset_Translator
*trans
) const
38 cdr
->char_translator(trans
);
42 TAO_Codeset_Translator_Factory::assign_i (
44 ACE_WChar_Codeset_Translator
*trans
) const
46 cdr
->wchar_translator(trans
);
50 TAO_Codeset_Translator_Factory::assign_i (
52 ACE_WChar_Codeset_Translator
*trans
) const
54 cdr
->wchar_translator(trans
);
57 TAO_END_VERSIONED_NAMESPACE_DECL