diff options
author | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:11 +0000 |
---|---|---|
committer | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:11 +0000 |
commit | 6b846cf03c0bcbd8c276cb0af61a181e5f98eaae (patch) | |
tree | da50d054f9c761c3f6a5923f6979e93306c56d68 /TAO/tao/DynamicAny/DynAnyFactory.h | |
parent | 0e555b9150d38e3b3473ba325b56db2642e6352b (diff) | |
download | ATCD-6b846cf03c0bcbd8c276cb0af61a181e5f98eaae.tar.gz |
Repo restructuring
Diffstat (limited to 'TAO/tao/DynamicAny/DynAnyFactory.h')
-rw-r--r-- | TAO/tao/DynamicAny/DynAnyFactory.h | 100 |
1 files changed, 0 insertions, 100 deletions
diff --git a/TAO/tao/DynamicAny/DynAnyFactory.h b/TAO/tao/DynamicAny/DynAnyFactory.h deleted file mode 100644 index f37cda716b8..00000000000 --- a/TAO/tao/DynamicAny/DynAnyFactory.h +++ /dev/null @@ -1,100 +0,0 @@ -// -*- C++ -*- -// -// $Id$ - -//============================================================================= -/** - * @file DynAnyFactory.h - * - * $Id$ - * - * @author Carlos O'Ryan <coryan@uci.edu> - */ -//============================================================================= - - -#ifndef TAO_DYNANYFACTORY_H -#define TAO_DYNANYFACTORY_H -#include /**/ "ace/pre.h" - -#include "tao/DynamicAny/DynamicAny.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "tao/LocalObject.h" - -#if defined (_MSC_VER) -# pragma warning(push) -# pragma warning (disable:4250) -#endif /* _MSC_VER */ - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -/** - * @class TAO_DynAnyFactory - * - * Implements the DynamicAnyFactory interface and provides several - * utility functions shared by all the Dynamic Any components. - */ -class TAO_DynamicAny_Export TAO_DynAnyFactory - : public virtual DynamicAny::DynAnyFactory, - public virtual TAO_Local_RefCounted_Object -{ -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 - ACE_ENV_ARG_DECL_WITH_DEFAULTS) - - ACE_THROW_SPEC (( - CORBA::SystemException, - DynamicAny::DynAnyFactory::InconsistentTypeCode - )); - - virtual DynamicAny::DynAny_ptr create_dyn_any_from_type_code ( - CORBA::TypeCode_ptr type - ACE_ENV_ARG_DECL_WITH_DEFAULTS) - - ACE_THROW_SPEC (( - CORBA::SystemException, - DynamicAny::DynAnyFactory::InconsistentTypeCode - )); - -private: - // Not allowed. - TAO_DynAnyFactory (const TAO_DynAnyFactory &src); - TAO_DynAnyFactory &operator= (const TAO_DynAnyFactory &src); -}; - -TAO_END_VERSIONED_NAMESPACE_DECL - -#if defined(_MSC_VER) -# pragma warning(pop) -#endif /* _MSC_VER */ - -#include /**/ "ace/post.h" -#endif /* TAO_DYNANYFACTORY_H */ |