Use =default for skeleton copy constructor
[ACE_TAO.git] / TAO / tao / Codeset / Codeset_Translator_Factory.cpp
blob8f1c005055ce200e4a3396ce38c891ac9c3e1054
1 // -*- C++ -*-
3 //=============================================================================
4 /**
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"
15 #include "tao/CDR.h"
17 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
19 int
20 TAO_Codeset_Translator_Factory::init (int , ACE_TCHAR **)
22 return 0;
25 void
26 TAO_Codeset_Translator_Factory::assign_i (
27 TAO_InputCDR *cdr,
28 ACE_Char_Codeset_Translator *trans) const
30 cdr->char_translator(trans);
33 void
34 TAO_Codeset_Translator_Factory::assign_i (
35 TAO_OutputCDR *cdr,
36 ACE_Char_Codeset_Translator *trans) const
38 cdr->char_translator(trans);
41 void
42 TAO_Codeset_Translator_Factory::assign_i (
43 TAO_InputCDR *cdr,
44 ACE_WChar_Codeset_Translator *trans) const
46 cdr->wchar_translator(trans);
49 void
50 TAO_Codeset_Translator_Factory::assign_i (
51 TAO_OutputCDR *cdr,
52 ACE_WChar_Codeset_Translator *trans) const
54 cdr->wchar_translator(trans);
57 TAO_END_VERSIONED_NAMESPACE_DECL