summaryrefslogtreecommitdiff
path: root/TAO/tao/IOP_CodecC.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/IOP_CodecC.h')
-rw-r--r--TAO/tao/IOP_CodecC.h236
1 files changed, 118 insertions, 118 deletions
diff --git a/TAO/tao/IOP_CodecC.h b/TAO/tao/IOP_CodecC.h
index 6b08d0a6a4b..3c05765c8d8 100644
--- a/TAO/tao/IOP_CodecC.h
+++ b/TAO/tao/IOP_CodecC.h
@@ -46,7 +46,6 @@
#include "tao/Any.h"
#include "tao/Objref_VarOut_T.h"
#include "tao/VarOut_T.h"
-#include "tao/SystemException.h"
#if defined (TAO_EXPORT_MACRO)
#undef TAO_EXPORT_MACRO
@@ -71,13 +70,13 @@
#pragma option push -w-rvl -w-rch -w-ccc -w-inl
#endif /* __BORLANDC__ */
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// be\be_visitor_root/root_ch.cpp:63
namespace TAO
{
class Collocation_Proxy_Broker;
-
+
template<typename T> class Narrow_Utils;
template<typename T> class AbstractBase_Narrow_Utils;
}
@@ -87,22 +86,22 @@ namespace TAO
namespace IOP
{
-
+
// TAO_IDL - Generated from
// be\be_interface.cpp:611
#if !defined (_IOP_CODEC__VAR_OUT_CH_)
#define _IOP_CODEC__VAR_OUT_CH_
-
+
class Codec;
typedef Codec *Codec_ptr;
-
+
typedef
TAO_Objref_Var_T<
Codec
>
Codec_var;
-
+
typedef
TAO_Objref_Out_T<
Codec
@@ -110,58 +109,58 @@ namespace IOP
Codec_out;
#endif /* end #if !defined */
-
+
// TAO_IDL - Generated from
// be\be_visitor_interface/interface_ch.cpp:54
#if !defined (_IOP_CODEC_CH_)
#define _IOP_CODEC_CH_
-
+
class TAO_Export Codec
: public virtual CORBA::Object
{
public:
typedef Codec_ptr _ptr_type;
typedef Codec_var _var_type;
-
+
// The static operations.
static Codec_ptr _duplicate (Codec_ptr obj);
-
+
static Codec_ptr _narrow (
CORBA::Object_ptr obj
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
-
+
static Codec_ptr _unchecked_narrow (
CORBA::Object_ptr obj
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
-
+
static Codec_ptr _nil (void)
{
return (Codec_ptr)0;
}
-
+
static void _tao_any_destructor (void *);
-
+
// TAO_IDL - Generated from
// be\be_visitor_exception/exception_ch.cpp:51
#if !defined (_IOP_CODEC_INVALIDTYPEFORENCODING_CH_)
#define _IOP_CODEC_INVALIDTYPEFORENCODING_CH_
-
+
class TAO_Export InvalidTypeForEncoding : public CORBA::UserException
{
public:
-
+
InvalidTypeForEncoding (void);
InvalidTypeForEncoding (const InvalidTypeForEncoding &);
~InvalidTypeForEncoding (void);
InvalidTypeForEncoding &operator= (const InvalidTypeForEncoding &);
-
+
static void _tao_any_destructor (void *);
-
+
static InvalidTypeForEncoding *_downcast (CORBA::Exception *);
static CORBA::Exception *_alloc (void);
@@ -173,43 +172,43 @@ namespace IOP
TAO_OutputCDR &
ACE_ENV_ARG_DECL
) const;
-
+
virtual void _tao_decode (
TAO_InputCDR &
ACE_ENV_ARG_DECL
);
-
+
// TAO_IDL - Generated from
// be\be_visitor_exception/exception_ch.cpp:125
-
+
virtual CORBA::TypeCode_ptr _type (void) const;
};
-
+
// TAO_IDL - Generated from
// be\be_visitor_typecode/typecode_decl.cpp:44
-
+
static ::CORBA::TypeCode_ptr _tc_InvalidTypeForEncoding;
#endif /* end #if !defined */
-
+
// TAO_IDL - Generated from
// be\be_visitor_exception/exception_ch.cpp:51
#if !defined (_IOP_CODEC_FORMATMISMATCH_CH_)
#define _IOP_CODEC_FORMATMISMATCH_CH_
-
+
class TAO_Export FormatMismatch : public CORBA::UserException
{
public:
-
+
FormatMismatch (void);
FormatMismatch (const FormatMismatch &);
~FormatMismatch (void);
FormatMismatch &operator= (const FormatMismatch &);
-
+
static void _tao_any_destructor (void *);
-
+
static FormatMismatch *_downcast (CORBA::Exception *);
static CORBA::Exception *_alloc (void);
@@ -221,43 +220,43 @@ namespace IOP
TAO_OutputCDR &
ACE_ENV_ARG_DECL
) const;
-
+
virtual void _tao_decode (
TAO_InputCDR &
ACE_ENV_ARG_DECL
);
-
+
// TAO_IDL - Generated from
// be\be_visitor_exception/exception_ch.cpp:125
-
+
virtual CORBA::TypeCode_ptr _type (void) const;
};
-
+
// TAO_IDL - Generated from
// be\be_visitor_typecode/typecode_decl.cpp:44
-
+
static ::CORBA::TypeCode_ptr _tc_FormatMismatch;
#endif /* end #if !defined */
-
+
// TAO_IDL - Generated from
// be\be_visitor_exception/exception_ch.cpp:51
#if !defined (_IOP_CODEC_TYPEMISMATCH_CH_)
#define _IOP_CODEC_TYPEMISMATCH_CH_
-
+
class TAO_Export TypeMismatch : public CORBA::UserException
{
public:
-
+
TypeMismatch (void);
TypeMismatch (const TypeMismatch &);
~TypeMismatch (void);
TypeMismatch &operator= (const TypeMismatch &);
-
+
static void _tao_any_destructor (void *);
-
+
static TypeMismatch *_downcast (CORBA::Exception *);
static CORBA::Exception *_alloc (void);
@@ -269,28 +268,28 @@ namespace IOP
TAO_OutputCDR &
ACE_ENV_ARG_DECL
) const;
-
+
virtual void _tao_decode (
TAO_InputCDR &
ACE_ENV_ARG_DECL
);
-
+
// TAO_IDL - Generated from
// be\be_visitor_exception/exception_ch.cpp:125
-
+
virtual CORBA::TypeCode_ptr _type (void) const;
};
-
+
// TAO_IDL - Generated from
// be\be_visitor_typecode/typecode_decl.cpp:44
-
+
static ::CORBA::TypeCode_ptr _tc_TypeMismatch;
#endif /* end #if !defined */
-
+
// TAO_IDL - Generated from
// be\be_visitor_operation/operation_ch.cpp:46
-
+
virtual ::CORBA::OctetSeq * encode (
const CORBA::Any & data
ACE_ENV_ARG_DECL_WITH_DEFAULTS
@@ -299,10 +298,10 @@ namespace IOP
CORBA::SystemException
, IOP::Codec::InvalidTypeForEncoding
)) = 0;
-
+
// TAO_IDL - Generated from
// be\be_visitor_operation/operation_ch.cpp:46
-
+
virtual CORBA::Any * decode (
const CORBA::OctetSeq & data
ACE_ENV_ARG_DECL_WITH_DEFAULTS
@@ -311,10 +310,10 @@ namespace IOP
CORBA::SystemException
, IOP::Codec::FormatMismatch
)) = 0;
-
+
// TAO_IDL - Generated from
// be\be_visitor_operation/operation_ch.cpp:46
-
+
virtual ::CORBA::OctetSeq * encode_value (
const CORBA::Any & data
ACE_ENV_ARG_DECL_WITH_DEFAULTS
@@ -323,10 +322,10 @@ namespace IOP
CORBA::SystemException
, IOP::Codec::InvalidTypeForEncoding
)) = 0;
-
+
// TAO_IDL - Generated from
// be\be_visitor_operation/operation_ch.cpp:46
-
+
virtual CORBA::Any * decode_value (
const CORBA::OctetSeq & data,
CORBA::TypeCode_ptr tc
@@ -337,102 +336,102 @@ namespace IOP
, IOP::Codec::FormatMismatch
, IOP::Codec::TypeMismatch
)) = 0;
-
+
// TAO_IDL - Generated from
// be\be_visitor_interface/interface_ch.cpp:208
-
+
virtual CORBA::Boolean _is_a (
const char *type_id
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
-
+
virtual const char* _interface_repository_id (void) const;
virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr);
-
+
protected:
// Abstract or local interface only.
Codec (void);
-
+
virtual ~Codec (void);
-
+
private:
// Private and unimplemented for concrete interfaces.
Codec (const Codec &);
-
+
void operator= (const Codec &);
};
#endif /* end #if !defined */
-
+
// TAO_IDL - Generated from
// be\be_visitor_typecode/typecode_decl.cpp:44
-
+
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_Codec;
-
+
// TAO_IDL - Generated from
// be\be_visitor_typedef/typedef_ch.cpp:342
-
+
typedef CORBA::Short EncodingFormat;
typedef CORBA::Short_out EncodingFormat_out;
-
+
// TAO_IDL - Generated from
// be\be_visitor_typecode/typecode_decl.cpp:44
-
+
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_EncodingFormat;
-
+
// TAO_IDL - Generated from
// be\be_visitor_constant/constant_ch.cpp:52
-
+
const IOP::EncodingFormat ENCODING_CDR_ENCAPS = 0;
-
+
// TAO_IDL - Generated from
// be\be_type.cpp:258
-
+
struct Encoding;
-
+
typedef
TAO_Fixed_Var_T<
Encoding
>
Encoding_var;
-
+
typedef
Encoding &
Encoding_out;
-
+
// TAO_IDL - Generated from
// be\be_visitor_structure/structure_ch.cpp:52
-
+
struct TAO_Export Encoding
{
typedef Encoding_var _var_type;
-
+
static void _tao_any_destructor (void *);
IOP::EncodingFormat format;
CORBA::Octet major_version;
CORBA::Octet minor_version;
};
-
+
// TAO_IDL - Generated from
// be\be_visitor_typecode/typecode_decl.cpp:44
-
+
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_Encoding;
-
+
// TAO_IDL - Generated from
// be\be_interface.cpp:611
#if !defined (_IOP_CODECFACTORY__VAR_OUT_CH_)
#define _IOP_CODECFACTORY__VAR_OUT_CH_
-
+
class CodecFactory;
typedef CodecFactory *CodecFactory_ptr;
-
+
typedef
TAO_Objref_Var_T<
CodecFactory
>
CodecFactory_var;
-
+
typedef
TAO_Objref_Out_T<
CodecFactory
@@ -440,58 +439,58 @@ namespace IOP
CodecFactory_out;
#endif /* end #if !defined */
-
+
// TAO_IDL - Generated from
// be\be_visitor_interface/interface_ch.cpp:54
#if !defined (_IOP_CODECFACTORY_CH_)
#define _IOP_CODECFACTORY_CH_
-
+
class TAO_Export CodecFactory
: public virtual CORBA::Object
{
public:
typedef CodecFactory_ptr _ptr_type;
typedef CodecFactory_var _var_type;
-
+
// The static operations.
static CodecFactory_ptr _duplicate (CodecFactory_ptr obj);
-
+
static CodecFactory_ptr _narrow (
CORBA::Object_ptr obj
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
-
+
static CodecFactory_ptr _unchecked_narrow (
CORBA::Object_ptr obj
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
-
+
static CodecFactory_ptr _nil (void)
{
return (CodecFactory_ptr)0;
}
-
+
static void _tao_any_destructor (void *);
-
+
// TAO_IDL - Generated from
// be\be_visitor_exception/exception_ch.cpp:51
#if !defined (_IOP_CODECFACTORY_UNKNOWNENCODING_CH_)
#define _IOP_CODECFACTORY_UNKNOWNENCODING_CH_
-
+
class TAO_Export UnknownEncoding : public CORBA::UserException
{
public:
-
+
UnknownEncoding (void);
UnknownEncoding (const UnknownEncoding &);
~UnknownEncoding (void);
UnknownEncoding &operator= (const UnknownEncoding &);
-
+
static void _tao_any_destructor (void *);
-
+
static UnknownEncoding *_downcast (CORBA::Exception *);
static CORBA::Exception *_alloc (void);
@@ -503,28 +502,28 @@ namespace IOP
TAO_OutputCDR &
ACE_ENV_ARG_DECL
) const;
-
+
virtual void _tao_decode (
TAO_InputCDR &
ACE_ENV_ARG_DECL
);
-
+
// TAO_IDL - Generated from
// be\be_visitor_exception/exception_ch.cpp:125
-
+
virtual CORBA::TypeCode_ptr _type (void) const;
};
-
+
// TAO_IDL - Generated from
// be\be_visitor_typecode/typecode_decl.cpp:44
-
+
static ::CORBA::TypeCode_ptr _tc_UnknownEncoding;
#endif /* end #if !defined */
-
+
// TAO_IDL - Generated from
// be\be_visitor_operation/operation_ch.cpp:46
-
+
virtual ::IOP::Codec_ptr create_codec (
const IOP::Encoding & enc
ACE_ENV_ARG_DECL_WITH_DEFAULTS
@@ -533,36 +532,36 @@ namespace IOP
CORBA::SystemException
, IOP::CodecFactory::UnknownEncoding
)) = 0;
-
+
// TAO_IDL - Generated from
// be\be_visitor_interface/interface_ch.cpp:208
-
+
virtual CORBA::Boolean _is_a (
const char *type_id
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
-
+
virtual const char* _interface_repository_id (void) const;
virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr);
-
+
protected:
// Abstract or local interface only.
CodecFactory (void);
-
+
virtual ~CodecFactory (void);
-
+
private:
// Private and unimplemented for concrete interfaces.
CodecFactory (const CodecFactory &);
-
+
void operator= (const CodecFactory &);
};
#endif /* end #if !defined */
-
+
// TAO_IDL - Generated from
// be\be_visitor_typecode/typecode_decl.cpp:44
-
+
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_CodecFactory;
// TAO_IDL - Generated from
@@ -579,18 +578,18 @@ namespace TAO
#if !defined (_IOP_CODEC__TRAITS_CH_)
#define _IOP_CODEC__TRAITS_CH_
-
+
ACE_TEMPLATE_SPECIALIZATION
struct TAO_Export Objref_Traits<IOP::Codec>
{
- static IOP::Codec_ptr duplicate (
+ static IOP::Codec_ptr tao_duplicate (
IOP::Codec_ptr
);
- static void release (
+ static void tao_release (
IOP::Codec_ptr
);
- static IOP::Codec_ptr nil (void);
- static CORBA::Boolean marshal (
+ static IOP::Codec_ptr tao_nil (void);
+ static CORBA::Boolean tao_marshal (
IOP::Codec_ptr p,
TAO_OutputCDR & cdr
);
@@ -600,18 +599,18 @@ namespace TAO
#if !defined (_IOP_CODECFACTORY__TRAITS_CH_)
#define _IOP_CODECFACTORY__TRAITS_CH_
-
+
ACE_TEMPLATE_SPECIALIZATION
struct TAO_Export Objref_Traits<IOP::CodecFactory>
{
- static IOP::CodecFactory_ptr duplicate (
+ static IOP::CodecFactory_ptr tao_duplicate (
IOP::CodecFactory_ptr
);
- static void release (
+ static void tao_release (
IOP::CodecFactory_ptr
);
- static IOP::CodecFactory_ptr nil (void);
- static CORBA::Boolean marshal (
+ static IOP::CodecFactory_ptr tao_nil (void);
+ static CORBA::Boolean tao_marshal (
IOP::CodecFactory_ptr p,
TAO_OutputCDR & cdr
);
@@ -698,3 +697,4 @@ TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, IOP::Encoding &);
#include /**/ "ace/post.h"
#endif /* ifndef */
+