#include <EC_Lifetime_Utils_T.h>
Public Member Functions | |
TAO_EC_Servant_Var (T *p=0) | |
Constructor. Assumes ownership of p . | |
TAO_EC_Servant_Var (TAO_EC_Servant_Var< T > const &rhs) | |
Copy constructor. Adds reference to rhs . | |
TAO_EC_Servant_Var< T > & | operator= (TAO_EC_Servant_Var< T > const &rhs) |
Assignment operator. Adds reference to rhs . | |
~TAO_EC_Servant_Var () | |
TAO_EC_Servant_Var< T > & | operator= (T *p) |
Assignment operator. Assumes ownership of p . | |
template<class Y > | |
TAO_EC_Servant_Var (Y *p) | |
template<class Y > | |
TAO_EC_Servant_Var (TAO_EC_Servant_Var< Y > const &rhs) | |
template<class Y > | |
TAO_EC_Servant_Var< T > & | operator= (TAO_EC_Servant_Var< Y > const &rhs) |
template<class Y > | |
TAO_EC_Servant_Var< T > & | operator= (Y *p) |
T const * | operator-> () const |
Smart pointer operator-> provides access to the underlying object. | |
T * | operator-> () |
Smart pointer operator-> provides access to the underlying object. | |
T const & | operator* () const |
Dereference the underlying object. | |
T & | operator* () |
Dereference the underlying object. | |
operator void const * () const | |
T * | in () const |
As an IN parameter. | |
T *& | inout () |
As an INOUT parameter. | |
T *& | out () |
As an OUT parameter. | |
T * | _retn () |
Private Attributes | |
T * | ptr_ |
TAO_EC_Servant_Var< T >::TAO_EC_Servant_Var | ( | T * | p = 0 |
) | [inline] |
Constructor. Assumes ownership of p
.
TAO_EC_Servant_Var< T >::TAO_EC_Servant_Var | ( | TAO_EC_Servant_Var< T > const & | rhs | ) | [inline] |
Copy constructor. Adds reference to rhs
.
TAO_EC_Servant_Var< T >::~TAO_EC_Servant_Var | ( | ) | [inline] |
Destructor. Removes a reference from the underlying object, possibly destroying it.
TAO_EC_Servant_Var< T >::TAO_EC_Servant_Var | ( | Y * | p | ) | [inline] |
Template member constructor from a pointer that will implicitly cast to type T. Assumes ownership of p
. This constructor allows constructs such as: Servant_Base<Base> p(new Derived);
TAO_EC_Servant_Var< T >::TAO_EC_Servant_Var | ( | TAO_EC_Servant_Var< Y > const & | rhs | ) | [inline] |
Template member copy constructor from a TAO_EC_Servant_Var<Y>, where Y can be implicitly cast to type T.
T * TAO_EC_Servant_Var< T >::_retn | ( | ) | [inline] |
T * TAO_EC_Servant_Var< T >::in | ( | ) | const [inline] |
As an IN parameter.
T *& TAO_EC_Servant_Var< T >::inout | ( | ) | [inline] |
As an INOUT parameter.
TAO_EC_Servant_Var< T >::operator void const * | ( | ) | const [inline] |
Return a void pointer to the underlying object. This allows it to be used in conditional code and tested against 0.
T & TAO_EC_Servant_Var< T >::operator* | ( | ) | [inline] |
Dereference the underlying object.
T const & TAO_EC_Servant_Var< T >::operator* | ( | ) | const [inline] |
Dereference the underlying object.
T * TAO_EC_Servant_Var< T >::operator-> | ( | ) | [inline] |
Smart pointer operator-> provides access to the underlying object.
T const * TAO_EC_Servant_Var< T >::operator-> | ( | ) | const [inline] |
Smart pointer operator-> provides access to the underlying object.
TAO_EC_Servant_Var< T > & TAO_EC_Servant_Var< T >::operator= | ( | Y * | p | ) | [inline] |
Template member assignment operator from a pointer to Y, where Y can be implicitly cast to type T.
TAO_EC_Servant_Var<T>& TAO_EC_Servant_Var< T >::operator= | ( | TAO_EC_Servant_Var< Y > const & | rhs | ) | [inline] |
Template member assignment operator from a TAO_EC_Servant_Var<Y>, where Y can be implicitly cast to type T.
TAO_EC_Servant_Var< T > & TAO_EC_Servant_Var< T >::operator= | ( | T * | p | ) | [inline] |
Assignment operator. Assumes ownership of p
.
TAO_EC_Servant_Var< T > & TAO_EC_Servant_Var< T >::operator= | ( | TAO_EC_Servant_Var< T > const & | rhs | ) | [inline] |
Assignment operator. Adds reference to rhs
.
T *& TAO_EC_Servant_Var< T >::out | ( | ) | [inline] |
As an OUT parameter.
T* TAO_EC_Servant_Var< T >::ptr_ [private] |