Easy3D 2.5.3
Graph::VertexProperty< T > Class Template Reference

#include <graph.h>

Inheritance diagram for Graph::VertexProperty< T >:
Property< T >

Public Member Functions

 VertexProperty ()=default
 default constructor
 
 VertexProperty (Property< T > p)
 
Property< T >::reference operator[] (Vertex v)
 access the data stored for vertex v
 
Property< T >::const_reference operator[] (Vertex v) const
 access the data stored for vertex v
 
- Public Member Functions inherited from Property< T >
 Property (PropertyArray< T > *p=nullptr)
 
void reset ()
 
 operator bool () const
 
virtual reference operator[] (size_t i)
 
virtual const_reference operator[] (size_t i) const
 
const T * data () const
 
std::vector< T > & vector ()
 
const std::vector< T > & vector () const
 
PropertyArray< T > & array ()
 
const PropertyArray< T > & array () const
 
const std::string & name () const
 Return the name of the property.
 
void set_name (const std::string &n)
 Set the name of the property.
 

Additional Inherited Members

- Public Types inherited from Property< T >
typedef PropertyArray< T >::reference reference
 
typedef PropertyArray< T >::const_reference const_reference
 

Detailed Description

template<class T>
class easy3d::Graph::VertexProperty< T >

Vertex property of type T

See also
EdgeProperty

The documentation for this class was generated from the following file: