Parametrized implementation of _var class for sequences whose element is of fixed 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_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. | |
Parametrized implementation of _var class for sequences whose element is of fixed size..
Definition at line 77 of file Seq_Var_T.h.
| typedef T::const_subscript_type TAO_FixedSeq_Var_T< T >::T_const_elem |
Definition at line 81 of file Seq_Var_T.h.
| typedef T::subscript_type TAO_FixedSeq_Var_T< T >::T_elem |
Reimplemented from TAO_Seq_Var_Base_T< T >.
Definition at line 80 of file Seq_Var_T.h.
| TAO_FixedSeq_Var_T< T >::TAO_FixedSeq_Var_T | ( | void | ) |
Definition at line 113 of file Seq_Var_T.inl.
{}
| TAO_FixedSeq_Var_T< T >::TAO_FixedSeq_Var_T | ( | T * | p | ) |
Definition at line 118 of file Seq_Var_T.inl.
: TAO_Seq_Var_Base_T<T> (p) {}
| TAO_FixedSeq_Var_T< T >::TAO_FixedSeq_Var_T | ( | const TAO_FixedSeq_Var_T< T > & | p | ) |
Definition at line 123 of file Seq_Var_T.inl.
: TAO_Seq_Var_Base_T<T> (p) { }
| TAO_FixedSeq_Var_T< T >::TAO_FixedSeq_Var_T | ( | const T & | p | ) |
Definition at line 133 of file Seq_Var_T.inl.
| TAO_FixedSeq_Var_T< T > & TAO_FixedSeq_Var_T< T >::operator= | ( | T * | p | ) |
Definition at line 142 of file Seq_Var_T.inl.
| TAO_FixedSeq_Var_T< T > & TAO_FixedSeq_Var_T< T >::operator= | ( | const T & | p | ) |
Fixed-size base types only.
Definition at line 42 of file Seq_Var_T.cpp.
{
// Strongly exception safe assignment using copy and non-throwing
// swap technique.
TAO_FixedSeq_Var_T<T> tmp (p);
T * old_ptr = this->ptr_;
this->ptr_ = tmp.ptr_;
tmp.ptr_ = old_ptr;
return *this;
}
| TAO_FixedSeq_Var_T< T > & TAO_FixedSeq_Var_T< T >::operator= | ( | const TAO_FixedSeq_Var_T< T > & | p | ) |
Definition at line 25 of file Seq_Var_T.cpp.
{
// Strongly exception safe assignment using copy and non-throwing
// swap technique.
TAO_FixedSeq_Var_T<T> tmp (p);
T * old_ptr = this->ptr_;
this->ptr_ = tmp.ptr_;
tmp.ptr_ = old_ptr;
return *this;
}
| 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.
{
return this->ptr_->operator[] (index);
}
| 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.
{
return this->ptr_->operator[] (index);
}
1.7.0