diff options
Diffstat (limited to 'trunk/TAO/tao/Valuetype/Value_CORBA_methods.h')
-rw-r--r-- | trunk/TAO/tao/Valuetype/Value_CORBA_methods.h | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/trunk/TAO/tao/Valuetype/Value_CORBA_methods.h b/trunk/TAO/tao/Valuetype/Value_CORBA_methods.h new file mode 100644 index 00000000000..dde1c2837b7 --- /dev/null +++ b/trunk/TAO/tao/Valuetype/Value_CORBA_methods.h @@ -0,0 +1,56 @@ +// -*- C++ -*- + +//============================================================================= +/** + * @file Value_CORBA_methods.h + * + * $Id$ + * + * Declarations of common ValueType methods in the CORBA namespace. + * + * @author Ossama Othman <ossama@dre.vanderbilt.edu> + */ +//============================================================================= + +#ifndef TAO_VALUETYPE_CORBA_METHODS_H +#define TAO_VALUETYPE_CORBA_METHODS_H + +#include /**/ "ace/pre.h" + +#include "tao/Valuetype/valuetype_export.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +#include "tao/Basic_Types.h" + +#if defined (TAO_EXPORT_MACRO) +#undef TAO_EXPORT_MACRO +#endif +#define TAO_EXPORT_MACRO TAO_Valuetype_Export + +TAO_BEGIN_VERSIONED_NAMESPACE_DECL + + +namespace CORBA +{ + class ValueBase; + + extern TAO_Valuetype_Export void add_ref (ValueBase *); + extern TAO_Valuetype_Export void remove_ref (ValueBase *); + + class AbstractBase; + typedef AbstractBase *AbstractBase_ptr; + + extern TAO_Valuetype_Export Boolean is_nil (AbstractBase_ptr); + extern TAO_Valuetype_Export void release (AbstractBase_ptr); + + +} + +TAO_END_VERSIONED_NAMESPACE_DECL + +#include /**/ "ace/post.h" + +#endif /* TAO_VALUETYPE_CORBA_METHODS_H */ |