Patate Lib  0.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
PatateCommon::Property< T > Class Template Reference

Inherited by PatateCommon::SurfaceMesh::EdgeProperty< T >, PatateCommon::SurfaceMesh::FaceProperty< T >, PatateCommon::SurfaceMesh::HalfedgeProperty< T >, PatateCommon::SurfaceMesh::VertexProperty< T >, and Vitelotte::VGMesh< _Scalar, _Dims, _Coeffs >::NodeProperty< T >.

Public Types

typedef PropertyArray< T >
::Reference 
Reference
 
typedef PropertyArray< T >
::ConstReference 
ConstReference
 

Public Member Functions

 Property (PropertyArray< T > *p=NULL)
 
void reset ()
 
 operator bool () const
 
Reference operator[] (int i)
 
ConstReference operator[] (int i) const
 
const T * data () const
 
std::vector< T > & vector ()
 

Friends

class PropertyContainer
 
class SurfaceMesh