Tulip
6.0.0
Large graphs analysis and drawing
|
#include <AbstractProperty.h>
Inherited by tlp::DoubleProperty::nodeValueRef, and tlp::IntegerProperty::nodeValueRef.
Public Member Functions | |
constexpr | nodeValueRef (AbstractProperty *prop, node n) |
tlp::StoredType< typename Tnode::RealType >::ReturnedConstValue | getValue () const |
operator typename tlp::StoredType< typename Tnode::RealType >::ReturnedConstValue () | |
nodeValueRef & | operator= (const nodeValueRef &ref) noexcept |
nodeValueRef & | operator= (typename tlp::StoredType< typename Tnode::RealType >::ReturnedConstValue val) noexcept |
Protected Attributes | |
node | _n |
AbstractProperty * | _prop |
inner class used to overload the operator[] to set a node value
Definition at line 142 of file AbstractProperty.h.
|
inline |
overloading of value type conversion operator which allow to write: if (prop[n])
Definition at line 177 of file AbstractProperty.h.
|
inlinenoexcept |
overloading of operator= to assign a node value which allow to write: prop1[n] = prop2[m]
Definition at line 168 of file AbstractProperty.h.
|
inlinenoexcept |
overloading of operator= to assign a node value which allow to write: prop[n] = val
Definition at line 159 of file AbstractProperty.h.