Tulip 6.1.0
Large graphs analysis and drawing
Loading...
Searching...
No Matches
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 ()
edgeStringValueRef & operator= (const edgeStringValueRef &ref) noexcept
edgeStringValueRef & operator= (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.

Constructor & Destructor Documentation

◆ edgeStringValueRef()

tlp::PropertyInterface::edgeStringValueRef::edgeStringValueRef ( PropertyInterface * prop,
edge e )
inlineconstexpr

Definition at line 294 of file PropertyInterface.h.

Member Function Documentation

◆ getStringValue()

std::string tlp::PropertyInterface::edgeStringValueRef::getStringValue ( ) const
inline

Definition at line 296 of file PropertyInterface.h.

◆ 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.

◆ 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.

◆ 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.

Member Data Documentation

◆ _e

edge tlp::PropertyInterface::edgeStringValueRef::_e
protected

Definition at line 291 of file PropertyInterface.h.

◆ _prop

PropertyInterface* tlp::PropertyInterface::edgeStringValueRef::_prop
protected

Definition at line 290 of file PropertyInterface.h.