summaryrefslogtreecommitdiff
path: root/TAO/tao/Valuetype/AbstractBase_T.h
diff options
context:
space:
mode:
authorbala <balanatarajan@users.noreply.github.com>2003-10-28 18:31:01 +0000
committerbala <balanatarajan@users.noreply.github.com>2003-10-28 18:31:01 +0000
commitc20c95d4d526d887c9782960a3ff73f63c3c1c85 (patch)
treefd6ae8c3db752254802dfaafd1543974a4741e47 /TAO/tao/Valuetype/AbstractBase_T.h
parent3d20d6aedf2b56b86fe2a386777c7afbf1c19c93 (diff)
downloadATCD-c20c95d4d526d887c9782960a3ff73f63c3c1c85.tar.gz
ChangeLogTag:Tue Oct 28 12:02:47 2003 Balachandran Natarajan <bala@dre.vanderbilt.edu>
Diffstat (limited to 'TAO/tao/Valuetype/AbstractBase_T.h')
-rw-r--r--TAO/tao/Valuetype/AbstractBase_T.h56
1 files changed, 56 insertions, 0 deletions
diff --git a/TAO/tao/Valuetype/AbstractBase_T.h b/TAO/tao/Valuetype/AbstractBase_T.h
new file mode 100644
index 00000000000..d592a8a32f5
--- /dev/null
+++ b/TAO/tao/Valuetype/AbstractBase_T.h
@@ -0,0 +1,56 @@
+// -*- C++ -*-
+
+//=============================================================================
+/**
+ * @file AbstractBase_T.h
+ *
+ * $Id$
+ *
+ * @author Balachandran Natarajan <bala@dre.vanderbilt.edu>
+ */
+//=============================================================================
+
+#ifndef TAO_ABSTRACTBASE_T_H
+#define TAO_ABSTRACTBASE_T_H
+#include /**/ "ace/pre.h"
+
+#include "tao/Object_T.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+namespace CORBA
+{
+ class AbstractBase;
+ typedef AbstractBase *AbstractBase_ptr;
+}
+
+namespace TAO
+{
+ template<typename T>
+ class AbstractBase_Narrow_Utils
+ {
+ public:
+ typedef T *T_ptr;
+
+ static T_ptr narrow (CORBA::AbstractBase_ptr,
+ const char *repo_id,
+ Proxy_Broker_Factory
+ ACE_ENV_ARG_DECL);
+
+ static T_ptr unchecked_narrow (CORBA::AbstractBase_ptr,
+ Proxy_Broker_Factory);
+ };
+}
+
+#if defined (ACE_TEMPLATES_REQUIRE_SOURCE)
+#include "AbstractBase_T.cpp"
+#endif /* ACE_TEMPLATES_REQUIRE_SOURCE */
+
+#if defined (ACE_TEMPLATES_REQUIRE_PRAGMA)
+#pragma implementation ("AbstractBase_T.cpp")
+#endif /* ACE_TEMPLATES_REQUIRE_PRAGMA */
+
+#include /**/ "ace/post.h"
+#endif /*TAO_ABSTRACTBASE_T_H*/