Tulip
4.6.0
Better Visualization Through Research
|
#include <PropertyInterface.h>
Public Member Functions | |
virtual bool | setEdgeStringValueAsVector (const edge e, const std::string &value, char openChar= '(', char sepChar= ',', char closeChar= ')')=0 |
virtual bool | setNodeStringValueAsVector (const node n, const std::string &value, char openChar= '(', char sepChar= ',', char closeChar= ')')=0 |
VectorPropertyInterface describes the interface of a graph property whose holded value is a vector (std::vector)
Definition at line 474 of file PropertyInterface.h.
virtual bool tlp::VectorPropertyInterface::setEdgeStringValueAsVector | ( | const edge | e, |
const std::string & | value, | ||
char | openChar = '(' , |
||
char | sepChar = ',' , |
||
char | closeChar = ')' |
||
) | [pure virtual] |
Sets a new vector described by the string parameter as the edge value.
e | The edge on which to set value on. |
value | A string listing the elements of the vector to set on the edge. |
openChar | an optional character opening the list of elements. Default value is '('; when set to '\0' it indicates that there is no opening character. |
sepChar | an optional character separing the elements of the list. Default value is ','. |
closeChar | an optional character closing the list of elements. Default value is ')'; when set to '\0' it indicates that there is no opening character. |
virtual bool tlp::VectorPropertyInterface::setNodeStringValueAsVector | ( | const node | n, |
const std::string & | value, | ||
char | openChar = '(' , |
||
char | sepChar = ',' , |
||
char | closeChar = ')' |
||
) | [pure virtual] |
Sets a new vector described by the string parameter as the node value.
n | The node on which to set the new value. |
value | A string listing the elements of the vector to set on the node. |
openChar | an optional character opening the list of elements. Default value is '('; when set to '\0' it indicates that there is no opening character. |
sepChar | an optional character separing the elements of the list. Default value is ','. |
closeChar | an optional character closing the list of elements. Default value is ')'; when set to '\0' it indicates that there is no opening character. |