vcg::SimpleTempData< STL_CONT, ATTR_TYPE > Class Template Reference

#include <simple_temporary_data.h>

Inheritance diagram for vcg::SimpleTempData< STL_CONT, ATTR_TYPE >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef ATTR_TYPE AttrType
typedef SimpleTempData
< STL_CONT, ATTR_TYPE > 
SimpTempDataType

Public Member Functions

void * DataBegin ()
void Init (const ATTR_TYPE &val)
ATTR_TYPE & operator[] (const int &i)
ATTR_TYPE & operator[] (const typename STL_CONT::iterator &cont)
ATTR_TYPE & operator[] (const typename STL_CONT::value_type *v)
ATTR_TYPE & operator[] (const typename STL_CONT::value_type &v)
void Reorder (std::vector< size_t > &newVertIndex)
void Resize (const int &sz)
 SimpleTempData (STL_CONT &_c, const ATTR_TYPE &val)
 SimpleTempData (STL_CONT &_c)
int SizeOf () const
bool UpdateSize ()
 ~SimpleTempData ()

Public Attributes

STL_CONT & c
VectorNBW< ATTR_TYPE > data
int padding

Detailed Description

template<class STL_CONT, class ATTR_TYPE>
class vcg::SimpleTempData< STL_CONT, ATTR_TYPE >

Definition at line 113 of file simple_temporary_data.h.


Member Typedef Documentation

template<class STL_CONT, class ATTR_TYPE>
typedef ATTR_TYPE vcg::SimpleTempData< STL_CONT, ATTR_TYPE >::AttrType

Definition at line 117 of file simple_temporary_data.h.

template<class STL_CONT, class ATTR_TYPE>
typedef SimpleTempData<STL_CONT,ATTR_TYPE> vcg::SimpleTempData< STL_CONT, ATTR_TYPE >::SimpTempDataType

Definition at line 116 of file simple_temporary_data.h.


Constructor & Destructor Documentation

template<class STL_CONT, class ATTR_TYPE>
vcg::SimpleTempData< STL_CONT, ATTR_TYPE >::SimpleTempData ( STL_CONT &  _c  )  [inline]

Definition at line 123 of file simple_temporary_data.h.

template<class STL_CONT, class ATTR_TYPE>
vcg::SimpleTempData< STL_CONT, ATTR_TYPE >::SimpleTempData ( STL_CONT &  _c,
const ATTR_TYPE &  val 
) [inline]

Definition at line 124 of file simple_temporary_data.h.

template<class STL_CONT, class ATTR_TYPE>
vcg::SimpleTempData< STL_CONT, ATTR_TYPE >::~SimpleTempData (  )  [inline]

Definition at line 129 of file simple_temporary_data.h.


Member Function Documentation

template<class STL_CONT, class ATTR_TYPE>
void* vcg::SimpleTempData< STL_CONT, ATTR_TYPE >::DataBegin (  )  [inline, virtual]

Implements vcg::SimpleTempDataBase< STL_CONT >.

Definition at line 163 of file simple_temporary_data.h.

template<class STL_CONT, class ATTR_TYPE>
void vcg::SimpleTempData< STL_CONT, ATTR_TYPE >::Init ( const ATTR_TYPE &  val  )  [inline]

Definition at line 131 of file simple_temporary_data.h.

template<class STL_CONT, class ATTR_TYPE>
ATTR_TYPE& vcg::SimpleTempData< STL_CONT, ATTR_TYPE >::operator[] ( const int &  i  )  [inline]

Definition at line 139 of file simple_temporary_data.h.

template<class STL_CONT, class ATTR_TYPE>
ATTR_TYPE& vcg::SimpleTempData< STL_CONT, ATTR_TYPE >::operator[] ( const typename STL_CONT::iterator &  cont  )  [inline]

Definition at line 138 of file simple_temporary_data.h.

template<class STL_CONT, class ATTR_TYPE>
ATTR_TYPE& vcg::SimpleTempData< STL_CONT, ATTR_TYPE >::operator[] ( const typename STL_CONT::value_type *  v  )  [inline]

Definition at line 137 of file simple_temporary_data.h.

template<class STL_CONT, class ATTR_TYPE>
ATTR_TYPE& vcg::SimpleTempData< STL_CONT, ATTR_TYPE >::operator[] ( const typename STL_CONT::value_type &  v  )  [inline]

Definition at line 136 of file simple_temporary_data.h.

template<class STL_CONT, class ATTR_TYPE>
void vcg::SimpleTempData< STL_CONT, ATTR_TYPE >::Reorder ( std::vector< size_t > &  newVertIndex  )  [inline, virtual]

Implements vcg::SimpleTempDataBase< STL_CONT >.

Definition at line 155 of file simple_temporary_data.h.

template<class STL_CONT, class ATTR_TYPE>
void vcg::SimpleTempData< STL_CONT, ATTR_TYPE >::Resize ( const int &  sz  )  [inline, virtual]

Implements vcg::SimpleTempDataBase< STL_CONT >.

Definition at line 151 of file simple_temporary_data.h.

template<class STL_CONT, class ATTR_TYPE>
int vcg::SimpleTempData< STL_CONT, ATTR_TYPE >::SizeOf (  )  const [inline, virtual]

Implements vcg::SimpleTempDataBase< STL_CONT >.

Definition at line 162 of file simple_temporary_data.h.

template<class STL_CONT, class ATTR_TYPE>
bool vcg::SimpleTempData< STL_CONT, ATTR_TYPE >::UpdateSize (  )  [inline]

Definition at line 142 of file simple_temporary_data.h.


Member Data Documentation

template<class STL_CONT, class ATTR_TYPE>
STL_CONT& vcg::SimpleTempData< STL_CONT, ATTR_TYPE >::c

Definition at line 119 of file simple_temporary_data.h.

template<class STL_CONT, class ATTR_TYPE>
VectorNBW<ATTR_TYPE> vcg::SimpleTempData< STL_CONT, ATTR_TYPE >::data

Definition at line 120 of file simple_temporary_data.h.

template<class STL_CONT, class ATTR_TYPE>
int vcg::SimpleTempData< STL_CONT, ATTR_TYPE >::padding

Definition at line 121 of file simple_temporary_data.h.


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


vcglib
Author(s): Christian Bersch
autogenerated on Fri Jan 11 09:23:05 2013