Public Types | Public Member Functions | Static Public Member Functions | Private Types | Private Attributes

TAO_Array_Forany_T< T, T_slice, TAG > Class Template Reference

Parametrized implementation of _forany class for arrays. More...

#include <Array_VarOut_T.h>

List of all members.

Public Types

typedef T _array_type
typedef T_slice _slice_type
typedef TAG _tag_type
typedef const _slice_type_in_type
typedef _slice_type_inout_type
typedef _slice_type *& _out_type
typedef _slice_type_retn_type
typedef _slice_type *& _retn_arg_type

Public Member Functions

 TAO_Array_Forany_T (void)
 TAO_Array_Forany_T (_slice_type *, CORBA::Boolean nocopy=false)
 TAO_Array_Forany_T (const TAO_Array_Forany_T< T, T_slice, TAG > &)
 ~TAO_Array_Forany_T (void)
TAO_Array_Forany_Toperator= (_slice_type *)
TAO_Array_Forany_Toperator= (const TAO_Array_Forany_T< T, T_slice, TAG > &)
_slice_typeoperator[] (CORBA::ULong index)
const _slice_typeoperator[] (CORBA::ULong index) const
 operator _slice_type *const & () const
 operator _slice_type *& ()
_in_type in (void) const
_inout_type inout (void)
_out_type out (void)
_retn_type _retn (void)
_slice_typeptr (void) const
CORBA::Boolean nocopy (void) const

Static Public Member Functions

static void _tao_any_destructor (void *)
static _slice_typetao_alloc (void)

Private Types

typedef TAO_Array_Forany_T< T,
T_slice, TAG > 
FORANY

Private Attributes

_slice_typeptr_
CORBA::Boolean nocopy_

Detailed Description

template<typename T, typename T_slice, typename TAG>
class TAO_Array_Forany_T< T, T_slice, TAG >

Parametrized implementation of _forany class for arrays.

Definition at line 49 of file Array_VarOut_T.h.


Member Typedef Documentation

template<typename T, typename T_slice, typename TAG>
typedef T TAO_Array_Forany_T< T, T_slice, TAG >::_array_type

Definition at line 52 of file Array_VarOut_T.h.

template<typename T, typename T_slice, typename TAG>
typedef const _slice_type* TAO_Array_Forany_T< T, T_slice, TAG >::_in_type

Definition at line 72 of file Array_VarOut_T.h.

template<typename T, typename T_slice, typename TAG>
typedef _slice_type* TAO_Array_Forany_T< T, T_slice, TAG >::_inout_type

Definition at line 73 of file Array_VarOut_T.h.

template<typename T, typename T_slice, typename TAG>
typedef _slice_type* & TAO_Array_Forany_T< T, T_slice, TAG >::_out_type

Definition at line 74 of file Array_VarOut_T.h.

template<typename T, typename T_slice, typename TAG>
typedef _slice_type*& TAO_Array_Forany_T< T, T_slice, TAG >::_retn_arg_type

Definition at line 76 of file Array_VarOut_T.h.

template<typename T, typename T_slice, typename TAG>
typedef _slice_type* TAO_Array_Forany_T< T, T_slice, TAG >::_retn_type

Definition at line 75 of file Array_VarOut_T.h.

template<typename T, typename T_slice, typename TAG>
typedef T_slice TAO_Array_Forany_T< T, T_slice, TAG >::_slice_type

Definition at line 53 of file Array_VarOut_T.h.

template<typename T, typename T_slice, typename TAG>
typedef TAG TAO_Array_Forany_T< T, T_slice, TAG >::_tag_type

Definition at line 54 of file Array_VarOut_T.h.

template<typename T, typename T_slice, typename TAG>
typedef TAO_Array_Forany_T<T,T_slice,TAG> TAO_Array_Forany_T< T, T_slice, TAG >::FORANY [private]

Definition at line 88 of file Array_VarOut_T.h.


Constructor & Destructor Documentation

template<typename T , typename T_slice , typename TAG >
TAO_Array_Forany_T< T, T_slice, TAG >::TAO_Array_Forany_T ( void   ) 

Definition at line 246 of file Array_VarOut_T.inl.

  : ptr_ (0),
    nocopy_ (false)
{}

template<typename T , typename T_slice , typename TAG >
TAO_Array_Forany_T< T, T_slice, TAG >::TAO_Array_Forany_T ( _slice_type p,
CORBA::Boolean  nocopy = false 
)

Definition at line 253 of file Array_VarOut_T.inl.

  : ptr_ (p),
    nocopy_ (nocopy)
{}

template<typename T , typename T_slice , typename TAG >
TAO_Array_Forany_T< T, T_slice, TAG >::TAO_Array_Forany_T ( const TAO_Array_Forany_T< T, T_slice, TAG > &  p  ) 

Definition at line 263 of file Array_VarOut_T.inl.

  : ptr_ (p.ptr_),
    nocopy_ (p.nocopy_)
{
}

template<typename T , typename T_slice , typename TAG >
TAO_Array_Forany_T< T, T_slice, TAG >::~TAO_Array_Forany_T ( void   ) 

Definition at line 273 of file Array_VarOut_T.inl.

{
}


Member Function Documentation

template<typename T , typename T_slice , typename TAG >
T_slice * TAO_Array_Forany_T< T, T_slice, TAG >::_retn ( void   ) 

Definition at line 356 of file Array_VarOut_T.inl.

{
  return this->ptr_;
}

template<typename T , typename T_slice , typename TAG >
void TAO_Array_Forany_T< T, T_slice, TAG >::_tao_any_destructor ( void *  _tao_void_pointer  )  [static]

Definition at line 85 of file Array_VarOut_T.cpp.

{
  T_slice * tmp = static_cast<T_slice *> (_tao_void_pointer);
  TAO::Array_Traits<FORANY>::free (tmp);
}

template<typename T , typename T_slice , typename TAG >
const T_slice * TAO_Array_Forany_T< T, T_slice, TAG >::in ( void   )  const

Definition at line 332 of file Array_VarOut_T.inl.

{
  return this->ptr_;
}

template<typename T , typename T_slice , typename TAG >
T_slice * TAO_Array_Forany_T< T, T_slice, TAG >::inout ( void   ) 

Definition at line 340 of file Array_VarOut_T.inl.

{
  return this->ptr_;
}

template<typename T , typename T_slice , typename TAG >
CORBA::Boolean TAO_Array_Forany_T< T, T_slice, TAG >::nocopy ( void   )  const

Definition at line 364 of file Array_VarOut_T.inl.

{
  return this->nocopy_;
}

template<typename T, typename T_slice, typename TAG>
TAO_Array_Forany_T< T, T_slice, TAG >::operator _slice_type *& (  ) 
template<typename T, typename T_slice, typename TAG>
TAO_Array_Forany_T< T, T_slice, TAG >::operator _slice_type *const & (  )  const
template<typename T , typename T_slice , typename TAG >
TAO_Array_Forany_T< T, T_slice, TAG > & TAO_Array_Forany_T< T, T_slice, TAG >::operator= ( const TAO_Array_Forany_T< T, T_slice, TAG > &  p  ) 

Definition at line 289 of file Array_VarOut_T.inl.

{
  this->ptr_ = p.ptr_;
  this->nocopy_ = p.nocopy_;
  return *this;
}

template<typename T , typename T_slice , typename TAG >
TAO_Array_Forany_T< T, T_slice, TAG > & TAO_Array_Forany_T< T, T_slice, TAG >::operator= ( _slice_type p  ) 

Definition at line 280 of file Array_VarOut_T.inl.

{
  this->ptr_ = p;
  return *this;
}

template<typename T , typename T_slice , typename TAG >
T_slice & TAO_Array_Forany_T< T, T_slice, TAG >::operator[] ( CORBA::ULong  index  ) 

Definition at line 324 of file Array_VarOut_T.inl.

{
  return this->ptr_[index];
}

template<typename T , typename T_slice , typename TAG >
const T_slice & TAO_Array_Forany_T< T, T_slice, TAG >::operator[] ( CORBA::ULong  index  )  const

Definition at line 315 of file Array_VarOut_T.inl.

{
  const T_slice & tmp = this->ptr_[index];
  return tmp;
}

template<typename T , typename T_slice , typename TAG >
T_slice *& TAO_Array_Forany_T< T, T_slice, TAG >::out ( void   ) 

Definition at line 348 of file Array_VarOut_T.inl.

{
  return this->ptr_;
}

template<typename T , typename T_slice , typename TAG >
T_slice * TAO_Array_Forany_T< T, T_slice, TAG >::ptr ( void   )  const

Definition at line 372 of file Array_VarOut_T.inl.

{
  return this->ptr_;
}

template<typename T , typename T_slice , typename TAG >
T_slice * TAO_Array_Forany_T< T, T_slice, TAG >::tao_alloc ( void   )  [static]

Definition at line 380 of file Array_VarOut_T.inl.

{
  return TAO::Array_Traits<FORANY>::alloc ();
}


Member Data Documentation

template<typename T, typename T_slice, typename TAG>
CORBA::Boolean TAO_Array_Forany_T< T, T_slice, TAG >::nocopy_ [private]

Definition at line 90 of file Array_VarOut_T.h.

template<typename T, typename T_slice, typename TAG>
_slice_type* TAO_Array_Forany_T< T, T_slice, TAG >::ptr_ [private]

Definition at line 89 of file Array_VarOut_T.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines