GitHub link
Polygon Mesh Processing Library
ObjectProperty< T > Class Template Reference

Object property of type T. More...

#include <pmp/SurfaceMesh.h>

Inherits Property< T >.

Public Member Functions

 ObjectProperty ()=default
 default constructor More...
 
Property< T >::reference operator[] (IndexType idx)
 access the data stored for the object More...
 
Property< T >::const_reference operator[] (IndexType idx) const
 access the data stored for the object More...
 

Detailed Description

template<class T>
class pmp::ObjectProperty< T >

Object property of type T.

Constructor & Destructor Documentation

◆ ObjectProperty()

ObjectProperty ( )
explicitdefault

default constructor

Member Function Documentation

◆ operator[]() [1/2]

Property< T >::reference operator[] ( IndexType  idx)
inline

access the data stored for the object

◆ operator[]() [2/2]

Property< T >::const_reference operator[] ( IndexType  idx) const
inline

access the data stored for the object