diff options
Diffstat (limited to 'TAO/tao/DynamicInterface/Request.inl')
-rw-r--r-- | TAO/tao/DynamicInterface/Request.inl | 161 |
1 files changed, 0 insertions, 161 deletions
diff --git a/TAO/tao/DynamicInterface/Request.inl b/TAO/tao/DynamicInterface/Request.inl index cc3470968d9..090bb3c25bf 100644 --- a/TAO/tao/DynamicInterface/Request.inl +++ b/TAO/tao/DynamicInterface/Request.inl @@ -162,164 +162,3 @@ CORBA::Request::raw_user_exception (void) { return this->raw_user_exception_; } - -// ************************************************************* -// Inline operations for class CORBA::Request_var -// ************************************************************* - -ACE_INLINE -CORBA::Request_var::Request_var (void) - : ptr_ (CORBA::Request::_nil ()) -{ -} - -ACE_INLINE -CORBA::Request_var::Request_var (CORBA::Request_ptr p) - : ptr_ (p) -{} - -ACE_INLINE -CORBA::Request_var::~Request_var (void) -{ - CORBA::release (this->ptr_); -} - -ACE_INLINE CORBA::Request_ptr -CORBA::Request_var::ptr (void) const -{ - return this->ptr_; -} - -ACE_INLINE -CORBA::Request_var::Request_var (const Request_var &p) - : ptr_ (CORBA::Request::_duplicate (p.ptr ())) -{} - -ACE_INLINE CORBA::Request_var & -CORBA::Request_var::operator= (CORBA::Request_ptr p) -{ - CORBA::release (this->ptr_); - this->ptr_ = p; - return *this; -} - -ACE_INLINE CORBA::Request_var & -CORBA::Request_var::operator= (const CORBA::Request_var &p) -{ - if (this != &p) - { - CORBA::release (this->ptr_); - this->ptr_ = CORBA::Request::_duplicate (p.ptr ()); - } - return *this; -} - -ACE_INLINE -CORBA::Request_var::operator const CORBA::Request_ptr &() const -{ - return this->ptr_; -} - -ACE_INLINE -CORBA::Request_var::operator CORBA::Request_ptr &() -{ - return this->ptr_; -} - -ACE_INLINE CORBA::Request_ptr -CORBA::Request_var::operator-> (void) const -{ - return this->ptr_; -} - -ACE_INLINE CORBA::Request_ptr -CORBA::Request_var::in (void) const -{ - return this->ptr_; -} - -ACE_INLINE CORBA::Request_ptr & -CORBA::Request_var::inout (void) -{ - return this->ptr_; -} - -ACE_INLINE CORBA::Request_ptr & -CORBA::Request_var::out (void) -{ - CORBA::release (this->ptr_); - this->ptr_ = CORBA::Request::_nil (); - return this->ptr_; -} - -ACE_INLINE CORBA::Request_ptr -CORBA::Request_var::_retn (void) -{ - // yield ownership - CORBA::Request_ptr val = this->ptr_; - this->ptr_ = CORBA::Request::_nil (); - return val; -} - -// ************************************************************* -// Inline operations for class CORBA::Request_out -// ************************************************************* - -ACE_INLINE -CORBA::Request_out::Request_out (CORBA::Request_ptr &p) - : ptr_ (p) -{ - this->ptr_ = CORBA::Request::_nil (); -} - -ACE_INLINE -CORBA::Request_out::Request_out (CORBA::Request_var &p) - : ptr_ (p.out ()) -{ - CORBA::release (this->ptr_); - this->ptr_ = CORBA::Request::_nil (); -} - -ACE_INLINE -CORBA::Request_out::Request_out (CORBA::Request_out &p) - : ptr_ (p.ptr_) -{} - -ACE_INLINE CORBA::Request_out & -CORBA::Request_out::operator= (CORBA::Request_out &p) -{ - this->ptr_ = p.ptr_; - return *this; -} - -ACE_INLINE CORBA::Request_out & -CORBA::Request_out::operator= (const CORBA::Request_var &p) -{ - this->ptr_ = CORBA::Request::_duplicate (p.ptr ()); - return *this; -} - -ACE_INLINE CORBA::Request_out & -CORBA::Request_out::operator= (CORBA::Request_ptr p) -{ - this->ptr_ = p; - return *this; -} - -ACE_INLINE -CORBA::Request_out::operator CORBA::Request_ptr &() -{ - return this->ptr_; -} - -ACE_INLINE CORBA::Request_ptr & -CORBA::Request_out::ptr (void) -{ - return this->ptr_; -} - -ACE_INLINE CORBA::Request_ptr -CORBA::Request_out::operator-> (void) -{ - return this->ptr_; -} |