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/Object_T.h | |
parent | 0e555b9150d38e3b3473ba325b56db2642e6352b (diff) | |
download | ATCD-6b846cf03c0bcbd8c276cb0af61a181e5f98eaae.tar.gz |
Repo restructuring
Diffstat (limited to 'TAO/tao/Object_T.h')
-rw-r--r-- | TAO/tao/Object_T.h | 82 |
1 files changed, 0 insertions, 82 deletions
diff --git a/TAO/tao/Object_T.h b/TAO/tao/Object_T.h deleted file mode 100644 index c4cfd88230c..00000000000 --- a/TAO/tao/Object_T.h +++ /dev/null @@ -1,82 +0,0 @@ -// -*- C++ -*- - -//============================================================================= -/** - * @file Object_T.h - * - * $Id$ - * - * Templatized utilities common to all IDL interfaces. - * - * @author Jeff Parsons <j.parsons@vanderbilt.edu> - */ -//============================================================================= - -#ifndef TAO_CORBA_OBJECT_T_H -#define TAO_CORBA_OBJECT_T_H - -#include /**/ "ace/pre.h" - -#include "ace/config-all.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "tao/Versioned_Namespace.h" -#include "ace/CORBA_macros.h" - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace CORBA -{ - class Object; - typedef Object *Object_ptr; -} - -namespace TAO -{ - class Collocation_Proxy_Broker; - - typedef - Collocation_Proxy_Broker * (* Proxy_Broker_Factory)(CORBA::Object_ptr); - - template<typename T> - class Narrow_Utils - { - public: - typedef T *T_ptr; - - static T_ptr narrow (CORBA::Object_ptr, - const char *repo_id, - Proxy_Broker_Factory - ACE_ENV_ARG_DECL); - - // Version used the operators. - static T_ptr unchecked_narrow (CORBA::Object_ptr, - Proxy_Broker_Factory); - - static T_ptr unchecked_narrow (CORBA::Object_ptr, - const char *repo_id, - Proxy_Broker_Factory - ACE_ENV_ARG_DECL); - - private: - // Code for lazily evaluated IORs. - static T_ptr lazy_evaluation (CORBA::Object_ptr); - }; -} - -TAO_END_VERSIONED_NAMESPACE_DECL - -#if defined (ACE_TEMPLATES_REQUIRE_SOURCE) -#include "tao/Object_T.cpp" -#endif /* ACE_TEMPLATES_REQUIRE_SOURCE */ - -#if defined (ACE_TEMPLATES_REQUIRE_PRAGMA) -#pragma implementation ("Object_T.cpp") -#endif /* ACE_TEMPLATES_REQUIRE_PRAGMA */ - -#include /**/ "ace/post.h" - -#endif /* TAO_CORBA_OBJECT_T_H */ |