summaryrefslogtreecommitdiff
path: root/TAO/tao/DynamicAny/DynAnyFactory.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/DynamicAny/DynAnyFactory.h')
-rw-r--r--TAO/tao/DynamicAny/DynAnyFactory.h30
1 files changed, 19 insertions, 11 deletions
diff --git a/TAO/tao/DynamicAny/DynAnyFactory.h b/TAO/tao/DynamicAny/DynAnyFactory.h
index 69fc9a1b05d..1a02019b529 100644
--- a/TAO/tao/DynamicAny/DynAnyFactory.h
+++ b/TAO/tao/DynamicAny/DynAnyFactory.h
@@ -46,6 +46,25 @@ public:
/// Constructor.
TAO_DynAnyFactory (void);
+ /// Obtain the kind of object, after all aliasing has been removed.
+ static CORBA::TCKind unalias (CORBA::TypeCode_ptr tc
+ ACE_ENV_ARG_DECL);
+
+ /// Same as above, but returns type code instead of TCKind. Caller
+ /// must release the return value.
+ static CORBA::TypeCode_ptr strip_alias (CORBA::TypeCode_ptr tc
+ ACE_ENV_ARG_DECL);
+
+ /// Create the correct type of DynAny object for <any>.
+ static DynamicAny::DynAny_ptr
+ make_dyn_any (const CORBA::Any &any
+ ACE_ENV_ARG_DECL);
+
+ /// Create the correct type of DynAny object for <tc>
+ static DynamicAny::DynAny_ptr
+ make_dyn_any (CORBA::TypeCode_ptr tc
+ ACE_ENV_ARG_DECL);
+
// = The DynamicAnyFactory methods.
virtual DynamicAny::DynAny_ptr create_dyn_any (
const CORBA::Any & value
@@ -93,18 +112,7 @@ public:
ACE_THROW_SPEC ((
CORBA::SystemException
));
-
- /// TAO-specific methods.
- /// Obtain the kind of object, after all aliasing has been removed.
- static CORBA::TCKind unalias (CORBA::TypeCode_ptr tc
- ACE_ENV_ARG_DECL);
-
- /// Same as above, but returns type code instead of TCKind. Caller
- /// must release the return value.
- static CORBA::TypeCode_ptr strip_alias (CORBA::TypeCode_ptr tc
- ACE_ENV_ARG_DECL);
-
private:
// Not allowed.
TAO_DynAnyFactory (const TAO_DynAnyFactory &src);