#include <Array_VarOut_T.h>
Inheritance diagram for TAO_FixedArray_Var_T< T, T_slice, TAG >:
Public Types | |
typedef T_slice | _slice_type |
typedef T_slice * | _out_type |
Public Member Functions | |
TAO_FixedArray_Var_T (void) | |
TAO_FixedArray_Var_T (_slice_type *) | |
TAO_FixedArray_Var_T (const TAO_FixedArray_Var_T< T, T_slice, TAG > &) | |
TAO_FixedArray_Var_T< T, T_slice, TAG > & | operator= (_slice_type *) |
TAO_FixedArray_Var_T< T, T_slice, TAG > & | operator= (const TAO_FixedArray_Var_T< T, T_slice, TAG > &) |
_out_type | out (void) |
Private Types | |
typedef TAO_Array_Var_Base_T< T, T_slice, TAG >::FORANY | FORANY |
Definition at line 137 of file Array_VarOut_T.h.
typedef T_slice* TAO_FixedArray_Var_T< T, T_slice, TAG >::_out_type |
Definition at line 141 of file Array_VarOut_T.h.
typedef T_slice TAO_FixedArray_Var_T< T, T_slice, TAG >::_slice_type |
Reimplemented from TAO_Array_Var_Base_T< T, T_slice, TAG >.
Definition at line 140 of file Array_VarOut_T.h.
typedef TAO_Array_Var_Base_T<T,T_slice,TAG>::FORANY TAO_FixedArray_Var_T< T, T_slice, TAG >::FORANY [private] |
Reimplemented from TAO_Array_Var_Base_T< T, T_slice, TAG >.
Definition at line 157 of file Array_VarOut_T.h.
ACE_INLINE TAO_FixedArray_Var_T< T, T_slice, TAG >::TAO_FixedArray_Var_T | ( | void | ) |
ACE_INLINE TAO_FixedArray_Var_T< T, T_slice, TAG >::TAO_FixedArray_Var_T | ( | _slice_type * | ) |
Definition at line 113 of file Array_VarOut_T.inl.
00114 : TAO_Array_Var_Base_T<T,T_slice,TAG> (p) 00115 {}
TAO_FixedArray_Var_T< T, T_slice, TAG >::TAO_FixedArray_Var_T | ( | const TAO_FixedArray_Var_T< T, T_slice, TAG > & | ) |
TAO_FixedArray_Var_T< T, T_slice, TAG > & TAO_FixedArray_Var_T< T, T_slice, TAG >::operator= | ( | const TAO_FixedArray_Var_T< T, T_slice, TAG > & | ) |
Definition at line 32 of file Array_VarOut_T.cpp.
References dup(), free(), TAO_Array_Var_Base_T< T, T_slice, TAG >::in(), and TAO_Array_Var_Base_T< T, T_slice, TAG >::ptr_.
00035 { 00036 if (this != &p) 00037 { 00038 TAO::Array_Traits<FORANY>::free (this->ptr_); 00039 00040 // Deep copy. 00041 this->ptr_ = TAO::Array_Traits<FORANY>::dup (p.in ()); 00042 } 00043 00044 return *this; 00045 }
TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_FixedArray_Var_T< T, T_slice, TAG > & TAO_FixedArray_Var_T< T, T_slice, TAG >::operator= | ( | _slice_type * | ) |
Definition at line 17 of file Array_VarOut_T.cpp.
References free(), and TAO_Array_Var_Base_T< T, T_slice, TAG >::ptr_.
00018 { 00019 // Is what we own the same that is being assigned to us? 00020 if (this->ptr_ != p) 00021 { 00022 // Delete our stuff and assume ownership of p. 00023 TAO::Array_Traits<FORANY>::free (this->ptr_); 00024 this->ptr_ = p; 00025 } 00026 00027 return *this; 00028 }
ACE_INLINE T_slice * TAO_FixedArray_Var_T< T, T_slice, TAG >::out | ( | void | ) |
Definition at line 129 of file Array_VarOut_T.inl.
References TAO_Array_Var_Base_T< T, T_slice, TAG >::ptr_.
00130 { 00131 return this->ptr_; 00132 }