_var
class for object references.
More...
#include <Objref_VarOut_T.h>
Inheritance diagram for TAO_Objref_Var_T< T >:
Public Types | |
typedef T | _obj_type |
typedef T * | _in_type |
typedef T *& | _inout_type |
typedef T *& | _out_type |
typedef T * | _retn_type |
Public Member Functions | |
TAO_Objref_Var_T (void) | |
TAO_Objref_Var_T (T *p) | |
TAO_Objref_Var_T (const TAO_Objref_Var_T< T > &) | |
~TAO_Objref_Var_T (void) | |
TAO_Objref_Var_T< T > & | operator= (T *) |
TAO_Objref_Var_T< T > & | operator= (const TAO_Objref_Var_T< T > &) |
T * | operator-> (void) const |
operator T *const & () const | |
operator T *& () | |
_in_type | in (void) const |
_inout_type | inout (void) |
_out_type | out (void) |
_retn_type | _retn (void) |
_retn_type | ptr (void) const |
Protected Member Functions | |
void | free (void) |
void | reset (T *) |
Protected Attributes | |
T * | ptr_ |
Private Member Functions | |
TAO_Objref_Var_T (const TAO_Base_var &) | |
void | operator= (const TAO_Base_var &) |
_var
class for object references.
Definition at line 50 of file Objref_VarOut_T.h.
|
Definition at line 67 of file Objref_VarOut_T.h. |
|
Definition at line 68 of file Objref_VarOut_T.h. |
|
Definition at line 66 of file Objref_VarOut_T.h. |
|
Definition at line 69 of file Objref_VarOut_T.h. |
|
Definition at line 70 of file Objref_VarOut_T.h. |
|
Definition at line 11 of file Objref_VarOut_T.cpp.
00012 : ptr_ (TAO::Objref_Traits<T>::nil ()) 00013 { 00014 } |
|
Definition at line 54 of file Objref_VarOut_T.h.
00054 : ptr_ (p) {} |
|
Definition at line 17 of file Objref_VarOut_T.cpp.
00020 : TAO_Base_var (), 00021 ptr_ (TAO::Objref_Traits<T>::duplicate (p.ptr ())) 00022 { 00023 } |
|
Definition at line 26 of file Objref_VarOut_T.cpp.
00027 { 00028 TAO::Objref_Traits<T>::release (this->ptr_); 00029 } |
|
|
|
Definition at line 99 of file Objref_VarOut_T.cpp. Referenced by TAO_Policy_Set::copy_from(), TAO_Stub::get_cached_policy(), TAO_ORB_Core::get_cached_policy(), TAO_ORB_Core::get_cached_policy_including_current(), TAO_Profile::get_policies(), TAO_Stub::get_policy(), TAO_ORB_Core::get_policy(), TAO_ORB_Core::get_policy_including_current(), TAO_Policy_Set::set_policy(), and TAO_Policy_Set::TAO_Policy_Set().
00100 { 00101 T * val = this->ptr_; 00102 this->ptr_ = TAO::Objref_Traits<T>::nil (); 00103 return val; 00104 } |
|
Definition at line 115 of file Objref_VarOut_T.cpp.
00116 { 00117 TAO::Objref_Traits<T>::release (this->ptr_); 00118 } |
|
Definition at line 76 of file Objref_VarOut_T.cpp. Referenced by TAO_Stub::get_cached_policy(), TAO_ORB_Core::get_cached_policy(), TAO_ORB_Core::get_cached_policy_including_current(), TAO_Profile::get_policies(), TAO_Stub::get_policy(), TAO_ORB_Core::get_policy(), and TAO_ORB_Core::get_policy_including_current().
00077 { 00078 return this->ptr_; 00079 } |
|
Definition at line 83 of file Objref_VarOut_T.cpp.
00084 { 00085 return this->ptr_; 00086 } |
|
Definition at line 69 of file Objref_VarOut_T.cpp.
00070 { 00071 return this->ptr_; 00072 } |
|
Definition at line 63 of file Objref_VarOut_T.cpp.
00064 { 00065 return this->ptr_; 00066 } |
|
Definition at line 57 of file Objref_VarOut_T.cpp.
00058 { 00059 return this->ptr_; 00060 } |
|
Reimplemented from TAO_Base_var. |
|
Definition at line 42 of file Objref_VarOut_T.cpp. References TAO_Objref_Var_T< T >::ptr().
|
|
Definition at line 33 of file Objref_VarOut_T.cpp.
00034 { 00035 TAO::Objref_Traits<T>::release (this->ptr_); 00036 this->ptr_ = p; 00037 return *this; 00038 } |
|
Definition at line 90 of file Objref_VarOut_T.cpp.
|
|
Definition at line 108 of file Objref_VarOut_T.cpp. Referenced by TAO_Policy_Set::copy_from(), TAO_Objref_Var_T< T >::operator=(), TAO_Policy_Set::set_policy(), and TAO_Policy_Set::TAO_Policy_Set().
00109 { 00110 return this->ptr_; 00111 } |
|
Definition at line 122 of file Objref_VarOut_T.cpp.
00123 { 00124 TAO::Objref_Traits<T>::release (this->ptr_); 00125 this->ptr_ = p; 00126 } |
|
Definition at line 81 of file Objref_VarOut_T.h. |