00001 // -*- C++ -*- 00002 00003 //============================================================================= 00004 /** 00005 * @file Value_CORBA_methods.h 00006 * 00007 * $Id: Value_CORBA_methods.h 72316 2006-04-25 16:31:42Z mesnier_p $ 00008 * 00009 * Declarations of common ValueType methods in the CORBA namespace. 00010 * 00011 * @author Ossama Othman <ossama@dre.vanderbilt.edu> 00012 */ 00013 //============================================================================= 00014 00015 #ifndef TAO_VALUETYPE_CORBA_METHODS_H 00016 #define TAO_VALUETYPE_CORBA_METHODS_H 00017 00018 #include /**/ "ace/pre.h" 00019 00020 #include "tao/Valuetype/valuetype_export.h" 00021 00022 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00023 # pragma once 00024 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00025 00026 #include "tao/Basic_Types.h" 00027 00028 #if defined (TAO_EXPORT_MACRO) 00029 #undef TAO_EXPORT_MACRO 00030 #endif 00031 #define TAO_EXPORT_MACRO TAO_Valuetype_Export 00032 00033 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00034 00035 00036 namespace CORBA 00037 { 00038 class ValueBase; 00039 00040 extern TAO_Valuetype_Export void add_ref (ValueBase *); 00041 extern TAO_Valuetype_Export void remove_ref (ValueBase *); 00042 00043 class AbstractBase; 00044 typedef AbstractBase *AbstractBase_ptr; 00045 00046 extern TAO_Valuetype_Export Boolean is_nil (AbstractBase_ptr); 00047 extern TAO_Valuetype_Export void release (AbstractBase_ptr); 00048 00049 00050 } 00051 00052 TAO_END_VERSIONED_NAMESPACE_DECL 00053 00054 #include /**/ "ace/post.h" 00055 00056 #endif /* TAO_VALUETYPE_CORBA_METHODS_H */