Environment.i

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // Environment.i,v 1.15 2005/11/02 07:13:02 ossama Exp
00004 
00005 
00006 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00007 
00008 ACE_INLINE
00009 CORBA::Boolean
00010 CORBA::is_nil (CORBA::Environment_ptr env)
00011 {
00012   return env == 0;
00013 }
00014 
00015 ACE_INLINE
00016 void
00017 CORBA::release (CORBA::Environment_ptr env)
00018 {
00019   delete env;
00020 }
00021 
00022 ACE_INLINE
00023 CORBA::Exception *
00024 CORBA::Environment::exception (void) const
00025 {
00026   return this->exception_;
00027 }
00028 
00029 ACE_INLINE
00030 CORBA::Environment *
00031 CORBA::Environment::_duplicate (CORBA::Environment *x)
00032 {
00033   if (x == 0)
00034     {
00035       return 0;
00036     }
00037 
00038   return new CORBA::Environment (*x);
00039 }
00040 
00041 ACE_INLINE
00042 CORBA::Environment_ptr
00043 CORBA::Environment::_nil (void)
00044 {
00045   return static_cast <CORBA::Environment_ptr> (0);
00046 }
00047 
00048 TAO_END_VERSIONED_NAMESPACE_DECL

Generated on Thu Nov 9 11:54:11 2006 for TAO by doxygen 1.3.6