Tulip  6.0.0
Large graphs analysis and drawing
tlp::PropertyInterface::nodeStringValueRef Class Reference

#include <PropertyInterface.h>

+ Collaboration diagram for tlp::PropertyInterface::nodeStringValueRef:

Public Member Functions

constexpr nodeStringValueRef (PropertyInterface *prop, node n)
 
std::string getStringValue () const
 
 operator std::string ()
 
nodeStringValueRefoperator= (const nodeStringValueRef &ref) noexcept
 
nodeStringValueRefoperator= (std::string val) noexcept
 
bool operator== (std::string str) noexcept
 

Protected Attributes

node _n
 
PropertyInterface_prop
 

Detailed Description

inner class used to overload the operator[] to set a node string value

Definition at line 216 of file PropertyInterface.h.

Member Function Documentation

◆ operator std::string()

tlp::PropertyInterface::nodeStringValueRef::operator std::string ( )
inline

overloading of std::string conversion operator

Definition at line 257 of file PropertyInterface.h.

◆ operator=() [1/2]

nodeStringValueRef& tlp::PropertyInterface::nodeStringValueRef::operator= ( const nodeStringValueRef ref)
inlinenoexcept

overloading of operator= to assign a node string value which allows to write: prop1[n] = prop2[m]

Definition at line 241 of file PropertyInterface.h.

+ Here is the call graph for this function:

◆ operator=() [2/2]

nodeStringValueRef& tlp::PropertyInterface::nodeStringValueRef::operator= ( std::string  val)
inlinenoexcept

overloading of operator= to assign a node string value which allows to write: prop[n] = strval

Definition at line 232 of file PropertyInterface.h.

+ Here is the call graph for this function:

◆ operator==()

bool tlp::PropertyInterface::nodeStringValueRef::operator== ( std::string  str)
inlinenoexcept

overloading of operator== which allows to write: prop1[n] == prop2[m]

Definition at line 250 of file PropertyInterface.h.

+ Here is the call graph for this function: