diff options
author | Phil Mesnier <mesnier_p@ociweb.com> | 2003-03-04 21:51:05 +0000 |
---|---|---|
committer | Phil Mesnier <mesnier_p@ociweb.com> | 2003-03-04 21:51:05 +0000 |
commit | df2a4b5df8f0410557d70ab5b1b1303a8bb6c2f7 (patch) | |
tree | 698d5c5f3ffd87a5ccc73bca31cdfe094c044a9b /TAO/tao/CDR.h | |
parent | d9080fd64f02a31450719122b780ac064a2488cc (diff) | |
download | ATCD-df2a4b5df8f0410557d70ab5b1b1303a8bb6c2f7.tar.gz |
ChangeLog tag: Tue Mar 4 13:44:06 2003 Phil Mesnier <mesnier_p@ociweb.com>
Diffstat (limited to 'TAO/tao/CDR.h')
-rw-r--r-- | TAO/tao/CDR.h | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/TAO/tao/CDR.h b/TAO/tao/CDR.h index 65fb354eafe..f25943e7bce 100644 --- a/TAO/tao/CDR.h +++ b/TAO/tao/CDR.h @@ -49,6 +49,7 @@ # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ +#include "ace/CORBA_macros.h" #include "ace/CDR_Stream.h" class TAO_ORB_Core; @@ -93,9 +94,7 @@ public: ACE_CDR::Octet major_version = TAO_DEF_GIOP_MAJOR, ACE_CDR::Octet minor_version = - TAO_DEF_GIOP_MINOR, - ACE_Char_Codeset_Translator *char_translator = 0, - ACE_WChar_Codeset_Translator *wchar_translator = 0); + TAO_DEF_GIOP_MINOR); /// Build a CDR stream with an initial buffer, it will *not* remove /// <data>, since it did not allocated it. @@ -109,9 +108,7 @@ public: ACE_CDR::Octet major_version = TAO_DEF_GIOP_MAJOR, ACE_CDR::Octet minor_version = - TAO_DEF_GIOP_MINOR, - ACE_Char_Codeset_Translator *char_translator = 0, - ACE_WChar_Codeset_Translator *wchar_translator = 0); + TAO_DEF_GIOP_MINOR); /// Build a CDR stream with an initial Message_Block chain, it will *not* /// remove <data>, since it did not allocate it. @@ -121,9 +118,7 @@ public: ACE_CDR::Octet major_version = TAO_DEF_GIOP_MAJOR, ACE_CDR::Octet minor_version = - TAO_DEF_GIOP_MINOR, - ACE_Char_Codeset_Translator *char_translator = 0, - ACE_WChar_Codeset_Translator *wchar_translator = 0); + TAO_DEF_GIOP_MINOR); /// Destructor. ~TAO_OutputCDR (void); @@ -132,6 +127,8 @@ public: // strings and wstrings? // = TAO specific methods. + static void throw_stub_exception (int error_num ACE_ENV_ARG_DECL); + static void throw_skel_exception (int error_num ACE_ENV_ARG_DECL); private: /// disallow copying... @@ -260,8 +257,10 @@ public: /// Accessor TAO_ORB_Core *orb_core (void) const; -private: - void init_translators (void); + + // = TAO specific methods. + static void throw_stub_exception (int error_num ACE_ENV_ARG_DECL); + static void throw_skel_exception (int error_num ACE_ENV_ARG_DECL); private: /// The ORB_Core, required to extract object references. |