Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Codeset_Translator_Factory.cpp

Go to the documentation of this file.
00001 #include "tao_pch.h"
00002 // -*- C++ -*-
00003 // $Id: Codeset_Translator_Factory.cpp,v 1.1.8.2 2003/04/10 18:20:38 phil Exp $
00004 
00005 // ============================================================================
00006 //
00007 // = LIBRARY
00008 //    TAO/tao
00009 //
00010 // = FILENAME
00011 //    Codeset_Translator_Factory.cpp
00012 //
00013 // = DESCRIPTION
00014 //    The base for all the translator factories. Translator factories are 
00015 //    responsible for supplying the proper translator on demand.
00016 //
00017 // = AUTHORS
00018 //      Phil Mesnier <mesnier_p@ociweb.com>
00019 //
00020 // ============================================================================
00021 
00022 
00023 #include "Codeset_Translator_Factory.h"
00024 #include <ace/CDR_Stream.h>
00025 
00026 TAO_Codeset_Translator_Factory::TAO_Codeset_Translator_Factory ()
00027 {
00028 
00029 }
00030 
00031 TAO_Codeset_Translator_Factory::~TAO_Codeset_Translator_Factory ()
00032 {
00033 
00034 }
00035 
00036 int
00037 TAO_Codeset_Translator_Factory::init (int , ACE_TCHAR ** )
00038 {
00039   return 0;
00040 }
00041 
00042 void
00043 TAO_Codeset_Translator_Factory::assign_i (TAO_InputCDR *cdr, ACE_Char_Codeset_Translator *trans) const
00044 {
00045   cdr->char_translator(trans);
00046 }
00047 
00048 void
00049 TAO_Codeset_Translator_Factory::assign_i (TAO_OutputCDR *cdr, ACE_Char_Codeset_Translator *trans) const
00050 {
00051   cdr->char_translator(trans);
00052 }
00053 
00054 void
00055 TAO_Codeset_Translator_Factory::assign_i (TAO_InputCDR *cdr, ACE_WChar_Codeset_Translator *trans) const
00056 {
00057   cdr->wchar_translator(trans);
00058 }
00059 
00060 void
00061 TAO_Codeset_Translator_Factory::assign_i (TAO_OutputCDR *cdr, ACE_WChar_Codeset_Translator *trans) const
00062 {
00063   cdr->wchar_translator(trans);
00064 }

Generated on Mon Jun 16 13:48:05 2003 for TAO by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002