Parametrized implementation of _var class for sequences whose element is of variable size.. More...
#include <Seq_Var_T.h>


Public Types | |
| typedef T::subscript_type | T_elem |
| typedef T::const_subscript_type | T_const_elem |
Public Member Functions | |
| TAO_VarSeq_Var_T (void) | |
| TAO_VarSeq_Var_T (T *) | |
| TAO_VarSeq_Var_T (const TAO_VarSeq_Var_T< T > &) | |
| TAO_VarSeq_Var_T & | operator= (T *) |
| TAO_VarSeq_Var_T & | operator= (const TAO_VarSeq_Var_T< T > &) |
| T_elem | operator[] (CORBA::ULong index) |
| T_const_elem | operator[] (CORBA::ULong index) const |
| operator T *& () | |
| Variable-size base types only. | |
Parametrized implementation of _var class for sequences whose element is of variable size..
Definition at line 108 of file Seq_Var_T.h.
| typedef T::const_subscript_type TAO_VarSeq_Var_T< T >::T_const_elem |
Definition at line 112 of file Seq_Var_T.h.
| typedef T::subscript_type TAO_VarSeq_Var_T< T >::T_elem |
Reimplemented from TAO_Seq_Var_Base_T< T >.
Definition at line 111 of file Seq_Var_T.h.
| TAO_VarSeq_Var_T< T >::TAO_VarSeq_Var_T | ( | void | ) |
Definition at line 169 of file Seq_Var_T.inl.
{
}
| TAO_VarSeq_Var_T< T >::TAO_VarSeq_Var_T | ( | T * | p | ) |
Definition at line 175 of file Seq_Var_T.inl.
: TAO_Seq_Var_Base_T<T> (p) { }
| TAO_VarSeq_Var_T< T >::TAO_VarSeq_Var_T | ( | const TAO_VarSeq_Var_T< T > & | p | ) |
Definition at line 181 of file Seq_Var_T.inl.
: TAO_Seq_Var_Base_T<T> (p) { }
| TAO_VarSeq_Var_T< T >::operator T *& | ( | ) |
| TAO_VarSeq_Var_T< T > & TAO_VarSeq_Var_T< T >::operator= | ( | const TAO_VarSeq_Var_T< T > & | p | ) |
Definition at line 59 of file Seq_Var_T.cpp.
{
// Strongly exception safe assignment using copy and non-throwing
// swap technique.
TAO_VarSeq_Var_T<T> tmp (p);
T * old_ptr = this->ptr_;
this->ptr_ = tmp.ptr_;
tmp.ptr_ = old_ptr;
return *this;
}
| TAO_VarSeq_Var_T< T > & TAO_VarSeq_Var_T< T >::operator= | ( | T * | p | ) |
Definition at line 190 of file Seq_Var_T.inl.
| TAO_VarSeq_Var_T< T >::T_elem TAO_VarSeq_Var_T< T >::operator[] | ( | CORBA::ULong | index | ) |
Definition at line 208 of file Seq_Var_T.inl.
{
return this->ptr_->operator[] (index);
}
| TAO_VarSeq_Var_T< T >::T_const_elem TAO_VarSeq_Var_T< T >::operator[] | ( | CORBA::ULong | index | ) | const |
Definition at line 216 of file Seq_Var_T.inl.
{
return this->ptr_->operator[] (index);
}
1.7.0