#include <Seq_Var_T.h>
Inheritance diagram for TAO_FixedSeq_Var_T< T >:
Public Types | |
typedef T::subscript_type | T_elem |
typedef T::const_subscript_type | T_const_elem |
Public Member Functions | |
TAO_FixedSeq_Var_T (void) | |
TAO_FixedSeq_Var_T (T *) | |
TAO_FixedSeq_Var_T (const TAO_FixedSeq_Var_T< T > &) | |
TAO_FixedSeq_Var_T (const T &) | |
TAO_FixedSeq_Var_T & | operator= (T *) |
TAO_FixedSeq_Var_T & | operator= (const TAO_FixedSeq_Var_T< T > &) |
T_elem | operator[] (CORBA::ULong index) |
T_const_elem | operator[] (CORBA::ULong index) const |
TAO_FixedSeq_Var_T & | operator= (const T &) |
Fixed-size base types only. |
Definition at line 75 of file Seq_Var_T.h.
typedef T::const_subscript_type TAO_FixedSeq_Var_T< T >::T_const_elem |
Definition at line 79 of file Seq_Var_T.h.
typedef T::subscript_type TAO_FixedSeq_Var_T< T >::T_elem |
ACE_INLINE TAO_FixedSeq_Var_T< T >::TAO_FixedSeq_Var_T | ( | void | ) |
ACE_INLINE TAO_FixedSeq_Var_T< T >::TAO_FixedSeq_Var_T | ( | T * | ) |
TAO_FixedSeq_Var_T< T >::TAO_FixedSeq_Var_T | ( | const TAO_FixedSeq_Var_T< T > & | ) |
ACE_INLINE TAO_FixedSeq_Var_T< T >::TAO_FixedSeq_Var_T | ( | const T & | ) |
Definition at line 133 of file Seq_Var_T.inl.
References ACE_NEW.
00134 { 00135 ACE_NEW (this->ptr_, 00136 T (p)); 00137 }
TAO_FixedSeq_Var_T< T > & TAO_FixedSeq_Var_T< T >::operator= | ( | const T & | ) |
Fixed-size base types only.
Definition at line 42 of file Seq_Var_T.cpp.
References TAO_Seq_Var_Base_T< T >::ptr_.
00043 { 00044 // Strongly exception safe assignment using copy and non-throwing 00045 // swap technique. 00046 TAO_FixedSeq_Var_T<T> tmp (p); 00047 00048 T * old_ptr = this->ptr_; 00049 this->ptr_ = tmp.ptr_; 00050 tmp.ptr_ = old_ptr; 00051 00052 return *this; 00053 }
TAO_FixedSeq_Var_T< T > & TAO_FixedSeq_Var_T< T >::operator= | ( | const TAO_FixedSeq_Var_T< T > & | ) |
Definition at line 25 of file Seq_Var_T.cpp.
References TAO_Seq_Var_Base_T< T >::ptr_.
00027 { 00028 // Strongly exception safe assignment using copy and non-throwing 00029 // swap technique. 00030 TAO_FixedSeq_Var_T<T> tmp (p); 00031 00032 T * old_ptr = this->ptr_; 00033 this->ptr_ = tmp.ptr_; 00034 tmp.ptr_ = old_ptr; 00035 00036 return *this; 00037 }
ACE_INLINE TAO_FixedSeq_Var_T< T > & TAO_FixedSeq_Var_T< T >::operator= | ( | T * | ) |
ACE_INLINE TAO_FixedSeq_Var_T< T >::T_const_elem TAO_FixedSeq_Var_T< T >::operator[] | ( | CORBA::ULong | index | ) | const |
Definition at line 160 of file Seq_Var_T.inl.
References TAO_Seq_Var_Base_T< T >::ptr_.
00161 { 00162 return this->ptr_->operator[] (index); 00163 }
ACE_INLINE TAO_FixedSeq_Var_T< T >::T_elem TAO_FixedSeq_Var_T< T >::operator[] | ( | CORBA::ULong | index | ) |
Definition at line 152 of file Seq_Var_T.inl.
References TAO_Seq_Var_Base_T< T >::ptr_.
00153 { 00154 return this->ptr_->operator[] (index); 00155 }