_CastTraits< _StorageT, _ValueT > Struct Template Reference

#include <_tools.h>

List of all members.

Public Types

typedef _StorageT storage_type
typedef _ValueT value_type

Static Public Member Functions

static value_typeto_value_type_ptr (storage_type *__ptr)
static value_type const * to_value_type_cptr (storage_type const *__ptr)
static value_type ** to_value_type_pptr (storage_type **__ptr)
static value_typeto_value_type_ref (storage_type &__ref)
static value_type const & to_value_type_cref (storage_type const &__ref)
static storage_typeto_storage_type_ptr (value_type *__ptr)
static storage_type const * to_storage_type_cptr (value_type const *__ptr)
static storage_type ** to_storage_type_pptr (value_type **__ptr)
static storage_type const & to_storage_type_cref (value_type const &__ref)
template<class _Tp1>
static _Tp1 const & to_storage_type_crefT (_Tp1 const &__ref)


Detailed Description

template<class _StorageT, class _ValueT>
struct _CastTraits< _StorageT, _ValueT >

Definition at line 331 of file _tools.h.


Member Typedef Documentation

template<class _StorageT, class _ValueT>
typedef _StorageT _CastTraits< _StorageT, _ValueT >::storage_type

Definition at line 332 of file _tools.h.

template<class _StorageT, class _ValueT>
typedef _ValueT _CastTraits< _StorageT, _ValueT >::value_type

Definition at line 333 of file _tools.h.


Member Function Documentation

template<class _StorageT, class _ValueT>
static value_type* _CastTraits< _StorageT, _ValueT >::to_value_type_ptr ( storage_type __ptr  )  [inline, static]

template<class _StorageT, class _ValueT>
static value_type const* _CastTraits< _StorageT, _ValueT >::to_value_type_cptr ( storage_type const *  __ptr  )  [inline, static]

Definition at line 337 of file _tools.h.

References __REINTERPRET_CAST.

template<class _StorageT, class _ValueT>
static value_type** _CastTraits< _StorageT, _ValueT >::to_value_type_pptr ( storage_type **  __ptr  )  [inline, static]

template<class _StorageT, class _ValueT>
static value_type& _CastTraits< _StorageT, _ValueT >::to_value_type_ref ( storage_type __ref  )  [inline, static]

Definition at line 341 of file _tools.h.

References __REINTERPRET_CAST.

template<class _StorageT, class _ValueT>
static value_type const& _CastTraits< _StorageT, _ValueT >::to_value_type_cref ( storage_type const &  __ref  )  [inline, static]

Definition at line 343 of file _tools.h.

References __REINTERPRET_CAST.

template<class _StorageT, class _ValueT>
static storage_type* _CastTraits< _StorageT, _ValueT >::to_storage_type_ptr ( value_type __ptr  )  [inline, static]

template<class _StorageT, class _ValueT>
static storage_type const* _CastTraits< _StorageT, _ValueT >::to_storage_type_cptr ( value_type const *  __ptr  )  [inline, static]

Definition at line 348 of file _tools.h.

References __REINTERPRET_CAST.

template<class _StorageT, class _ValueT>
static storage_type** _CastTraits< _StorageT, _ValueT >::to_storage_type_pptr ( value_type **  __ptr  )  [inline, static]

template<class _StorageT, class _ValueT>
static storage_type const& _CastTraits< _StorageT, _ValueT >::to_storage_type_cref ( value_type const &  __ref  )  [inline, static]

Definition at line 352 of file _tools.h.

References __REINTERPRET_CAST.

template<class _StorageT, class _ValueT>
template<class _Tp1>
static _Tp1 const& _CastTraits< _StorageT, _ValueT >::to_storage_type_crefT ( _Tp1 const &  __ref  )  [inline, static]

Definition at line 355 of file _tools.h.


The documentation for this struct was generated from the following file:
  • /home/ntakagi/work/STLport-5.1.5/stlport/stl/pointers/_tools.h



Generated on Mon Mar 10 15:32:53 2008 by  doxygen 1.5.1