diff options
Diffstat (limited to 'TAO/tao/Object_KeyC.i')
-rw-r--r-- | TAO/tao/Object_KeyC.i | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/TAO/tao/Object_KeyC.i b/TAO/tao/Object_KeyC.i index 4f26c346930..40e5b21152e 100644 --- a/TAO/tao/Object_KeyC.i +++ b/TAO/tao/Object_KeyC.i @@ -1,7 +1,7 @@ // $Id$ // ****** Code generated by the The ACE ORB (TAO) IDL Compiler ******* -// TAO ORB and the TAO IDL Compiler have been developed by Washington +// TAO ORB and the TAO IDL Compiler have been developed by Washington // University Computer Science's Distributed Object Computing Group. // // Information on TAO is available at @@ -53,19 +53,19 @@ TAO_ObjectKey::operator= (const TAO_ObjectKey &rhs) ACE_INLINE TAO_ObjectKey_var::TAO_ObjectKey_var (void) // default constructor - : ptr_ (0) + : ptr_ (0) {} ACE_INLINE TAO_ObjectKey_var::TAO_ObjectKey_var (TAO_ObjectKey *p) - : ptr_ (p) + : ptr_ (p) {} ACE_INLINE TAO_ObjectKey_var::TAO_ObjectKey_var (const TAO_ObjectKey_var &p) // copy constructor { if (p.ptr_) - ACE_NEW (this->ptr_, + ACE_NEW (this->ptr_, TAO_ObjectKey(*p.ptr_)); else this->ptr_ = 0; @@ -97,9 +97,9 @@ TAO_ObjectKey_var::operator= (const TAO_ObjectKey_var &p) // deep copy } else { - TAO_ObjectKey *deep_copy = + TAO_ObjectKey *deep_copy = new TAO_ObjectKey (*p.ptr_); - + if (deep_copy != 0) { TAO_ObjectKey *tmp = deep_copy; @@ -109,7 +109,7 @@ TAO_ObjectKey_var::operator= (const TAO_ObjectKey_var &p) // deep copy } } } - + return *this; } @@ -125,20 +125,20 @@ TAO_ObjectKey_var::operator-> (void) return this->ptr_; } -ACE_INLINE +ACE_INLINE TAO_ObjectKey_var::operator const TAO_ObjectKey &() const // cast { return *this->ptr_; } -ACE_INLINE -TAO_ObjectKey_var::operator TAO_ObjectKey &() // cast +ACE_INLINE +TAO_ObjectKey_var::operator TAO_ObjectKey &() // cast { return *this->ptr_; } -ACE_INLINE -TAO_ObjectKey_var::operator TAO_ObjectKey &() const// cast +ACE_INLINE +TAO_ObjectKey_var::operator TAO_ObjectKey &() const// cast { return *this->ptr_; } @@ -161,7 +161,7 @@ TAO_ObjectKey_var::inout (void) return *this->ptr_; } -// mapping for variable size +// mapping for variable size ACE_INLINE TAO_ObjectKey *& TAO_ObjectKey_var::out (void) { @@ -190,14 +190,14 @@ TAO_ObjectKey_var::ptr (void) const ACE_INLINE TAO_ObjectKey_out::TAO_ObjectKey_out (TAO_ObjectKey *&p) - : ptr_ (p) + : ptr_ (p) { this->ptr_ = 0; } ACE_INLINE TAO_ObjectKey_out::TAO_ObjectKey_out (TAO_ObjectKey_var &p) // constructor from _var - : ptr_ (p.out ()) + : ptr_ (p.out ()) { delete this->ptr_; this->ptr_ = 0; @@ -205,7 +205,7 @@ TAO_ObjectKey_out::TAO_ObjectKey_out (TAO_ObjectKey_var &p) // constructor from ACE_INLINE TAO_ObjectKey_out::TAO_ObjectKey_out (TAO_ObjectKey_out &p) // copy constructor - : ptr_ (p.ptr_) + : ptr_ (p.ptr_) {} ACE_INLINE TAO_ObjectKey_out & @@ -222,7 +222,7 @@ TAO_ObjectKey_out::operator= (TAO_ObjectKey *p) return *this; } -ACE_INLINE +ACE_INLINE TAO_ObjectKey_out::operator TAO_ObjectKey *&() // cast { return this->ptr_; |