diff options
Diffstat (limited to 'TAO/tao/CodecFactory/CDR_Encaps_Codec.h')
-rw-r--r-- | TAO/tao/CodecFactory/CDR_Encaps_Codec.h | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/TAO/tao/CodecFactory/CDR_Encaps_Codec.h b/TAO/tao/CodecFactory/CDR_Encaps_Codec.h index 3ee1e43137c..37672c1e4de 100644 --- a/TAO/tao/CodecFactory/CDR_Encaps_Codec.h +++ b/TAO/tao/CodecFactory/CDR_Encaps_Codec.h @@ -15,7 +15,7 @@ #include /**/ "ace/pre.h" -#include "IOP_Codec_includeC.h" +#include "tao/CodecFactory/IOP_Codec_includeC.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once @@ -23,6 +23,10 @@ #include "tao/LocalObject.h" +TAO_BEGIN_VERSIONED_NAMESPACE_DECL + +class TAO_Codeset_Translator_Base; + /** * @class TAO_CDR_Encaps_Codec * @@ -48,7 +52,9 @@ public: /// Constructor. TAO_CDR_Encaps_Codec (CORBA::Octet major, CORBA::Octet minor, - TAO_ORB_Core * orb_core); + TAO_ORB_Core * orb_core, + TAO_Codeset_Translator_Base * char_trans, + TAO_Codeset_Translator_Base * wchar_trans); /// Encode the given data, including the TypeCode, into an octet /// sequence. @@ -103,9 +109,8 @@ private: /// Prevent copying through the copy constructor and the assignment /// operator. - ACE_UNIMPLEMENTED_FUNC ( - TAO_CDR_Encaps_Codec (const TAO_CDR_Encaps_Codec &)) - ACE_UNIMPLEMENTED_FUNC (void operator= (const TAO_CDR_Encaps_Codec &)) + TAO_CDR_Encaps_Codec (const TAO_CDR_Encaps_Codec &); + void operator= (const TAO_CDR_Encaps_Codec &); private: @@ -119,8 +124,15 @@ private: /// encapsulation. TAO_ORB_Core * const orb_core_; + /// Char codeset translator + TAO_Codeset_Translator_Base * char_translator_; + + /// WChar codeset translator + TAO_Codeset_Translator_Base * wchar_translator_; }; +TAO_END_VERSIONED_NAMESPACE_DECL + #include /**/ "ace/post.h" #endif /* TAO_CDR_ENCAPS_CODEC_H */ |