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

#include <PropertyInterface.h>

+ Collaboration diagram for tlp::PropertyInterface::edgeStringValueRef:

Public Member Functions

constexpr edgeStringValueRef (PropertyInterface *prop, edge e)
 
std::string getStringValue () const
 
 operator std::string ()
 
edgeStringValueRefoperator= (const edgeStringValueRef &ref) noexcept
 
edgeStringValueRefoperator= (std::string val) noexcept
 
bool operator== (std::string str) noexcept
 

Protected Attributes

edge _e
 
PropertyInterface_prop
 

Detailed Description

inner class used to overload the operator[] to set an edge string value

Definition at line 288 of file PropertyInterface.h.

Member Function Documentation

◆ operator std::string()

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

overloading of std::string conversion operator

Definition at line 329 of file PropertyInterface.h.

◆ operator=() [1/2]

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

overloading of operator= to assign a edge string value which allows to write: prop1[e1] = prop2[e2]

Definition at line 313 of file PropertyInterface.h.

+ Here is the call graph for this function:

◆ operator=() [2/2]

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

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

Definition at line 304 of file PropertyInterface.h.

+ Here is the call graph for this function:

◆ operator==()

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

overloading of operator== which allows to write: prop1[e1] == prop2[e2]

Definition at line 322 of file PropertyInterface.h.

+ Here is the call graph for this function: