summaryrefslogtreecommitdiff
path: root/TAO/tao/Any.h
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-03-24 13:28:35 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-03-24 13:28:35 +0000
commit098294d3ff4a69abb8fb7d023db325297f7e43af (patch)
tree4353df24a7f8e3e9a0a6fb49eb3b45d6fd7ea05c /TAO/tao/Any.h
parent6a0480358b46379cadd77498043c3ad69f57cb8e (diff)
downloadATCD-098294d3ff4a69abb8fb7d023db325297f7e43af.tar.gz
#include the .i file in the .h/.cpp file instead of corba.h
Diffstat (limited to 'TAO/tao/Any.h')
-rw-r--r--TAO/tao/Any.h21
1 files changed, 13 insertions, 8 deletions
diff --git a/TAO/tao/Any.h b/TAO/tao/Any.h
index 4b5d7979c59..85601218be0 100644
--- a/TAO/tao/Any.h
+++ b/TAO/tao/Any.h
@@ -1,4 +1,5 @@
// This may look like C, but it's really -*- C++ -*-
+// $Id$
// ============================================================================
//
@@ -64,8 +65,8 @@ public:
// Default constructor.
CORBA_Any (CORBA::TypeCode_ptr type,
- void *value = 0,
- CORBA::Boolean any_owns_data = CORBA::B_FALSE);
+ void *value = 0,
+ CORBA::Boolean any_owns_data = CORBA::B_FALSE);
// Constructor. The any_owns_data flag determines if the Any owns the value
CORBA_Any (const CORBA_Any &a);
@@ -159,7 +160,7 @@ public:
{
from_string (char* s,
CORBA::ULong b,
- CORBA::Boolean nocopy = CORBA::B_FALSE);
+ CORBA::Boolean nocopy = CORBA::B_FALSE);
char *val_;
CORBA::ULong bound_;
CORBA::Boolean nocopy_;
@@ -246,15 +247,15 @@ public:
// parameter, two forms of the replace method are provided.
void replace (CORBA::TypeCode_ptr type,
- const void *value,
- CORBA::Boolean any_owns_data,
- CORBA::Environment &env);
+ const void *value,
+ CORBA::Boolean any_owns_data,
+ CORBA::Environment &env);
// Replace the current typecode and data with the specified one -
// unsafe.
void replace (CORBA::TypeCode_ptr type,
- const void *value,
- CORBA::Environment &env);
+ const void *value,
+ CORBA::Environment &env);
// Replace the current typecode and data with the specified one -
// unsafe. This uses a default value for the "any_owns_data" parameter
@@ -382,4 +383,8 @@ private:
// assignment from _var disallowed
};
+#if defined (__ACE_INLINE__)
+# include "tao/Any.i"
+#endif /* __ACE_INLINE__ */
+
#endif /* TAO_ANY_H */