blob: 5abceffc6012ec200fcc0ded3342990cdd2cab09 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
// -*- C++ -*-
// ============================================================================
//
// = LIBRARY
// TAO/tao
//
// = FILENAME
// Codeset_Translator_Factory.cpp
//
// = DESCRIPTION
// The base for all the translator factories. Translator factories are
// responsible for supplying the proper translator on demand.
//
// = AUTHORS
// Phil Mesnier <mesnier_p@ociweb.com>
//
// ============================================================================
#include "Codeset_Translator_Factory.h"
#include "tao/CDR.h"
ACE_RCSID (tao,
Codeset_Translator_Factory,
"$Id$")
TAO_Codeset_Translator_Factory::TAO_Codeset_Translator_Factory ()
{
}
TAO_Codeset_Translator_Factory::~TAO_Codeset_Translator_Factory ()
{
}
int
TAO_Codeset_Translator_Factory::init (int , ACE_TCHAR **)
{
return 0;
}
void
TAO_Codeset_Translator_Factory::assign_i (
TAO_InputCDR *cdr,
ACE_Char_Codeset_Translator *trans
) const
{
cdr->char_translator(trans);
}
void
TAO_Codeset_Translator_Factory::assign_i (
TAO_OutputCDR *cdr,
ACE_Char_Codeset_Translator *trans
) const
{
cdr->char_translator(trans);
}
void
TAO_Codeset_Translator_Factory::assign_i (
TAO_InputCDR *cdr,
ACE_WChar_Codeset_Translator *trans
) const
{
cdr->wchar_translator(trans);
}
void
TAO_Codeset_Translator_Factory::assign_i (
TAO_OutputCDR *cdr,
ACE_WChar_Codeset_Translator *trans
) const
{
cdr->wchar_translator(trans);
}
|