2 //=============================================================================
4 * @file CORBA_methods.h
6 * Declarations of common methods in the CORBA namespace.
10 //=============================================================================
12 #ifndef TAO_CORBA_METHODS_H
13 #define TAO_CORBA_METHODS_H
15 #include /**/ "ace/pre.h"
17 #include /**/ "tao/TAO_Export.h"
19 #if !defined (ACE_LACKS_PRAGMA_ONCE)
21 #endif /* ACE_LACKS_PRAGMA_ONCE */
23 #include "tao/Basic_Types.h"
24 #include "tao/orbconf.h"
26 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
36 extern TAO_Export ORB_ptr
ORB_init (int & argc
,
38 const char * orb_name
= 0);
39 #if defined (ACE_USES_WCHAR)
40 extern TAO_Export ORB_ptr
ORB_init (int & argc
,
42 const char * orb_name
= 0);
44 extern TAO_Export ORB_ptr
ORB_init (int & argc
,
46 const wchar_t * orb_name
);
49 template<typename T
> inline Boolean
is_nil (T x
)
54 template<typename T
> inline void release (T x
)
63 TAO_END_VERSIONED_NAMESPACE_DECL
65 #include /**/ "ace/post.h"
67 #endif /* TAO_CORBA_METHODS_H */