tlp::GraphProperty Class Reference
[Properties]
#include <GraphProperty.h>
List of all members.
Public Member Functions
Static Public Attributes
Friends
Constructor & Destructor Documentation
tlp::GraphProperty::GraphProperty |
( |
Graph * |
, |
|
|
std::string |
n = "" | |
|
) |
| | |
virtual tlp::GraphProperty::~GraphProperty |
( |
|
) |
[virtual] |
Member Function Documentation
Creates an object of the same real type of the current property, in the the graph (first parameter) with the name (second parameter). Values are not copied.
Implements tlp::PropertyInterface.
void tlp::GraphProperty::destroy |
( |
Graph * |
|
) |
[virtual] |
std::string tlp::GraphProperty::getTypename |
( |
|
) |
const [inline, virtual] |
Returns a string describing the type of the property. i.e. "graph", "double", "layout", "string", "integer", "color", "size", ...
Implements tlp::PropertyInterface.
bool tlp::GraphProperty::hasNonDefaultValue |
( |
const edge |
e |
) |
const [inline] |
bool tlp::GraphProperty::hasNonDefaultValue |
( |
const node |
n |
) |
const [inline] |
bool tlp::GraphProperty::setAllEdgeStringValue |
( |
const std::string & |
v |
) |
[virtual] |
Clears all edges registered values, and sets a new edge default value in converting the given string representation of a value. Returns true if the given string representation has been successfully converted to a value, false otherwise.
Reimplemented from tlp::AbstractProperty< Tnode, Tedge, TPROPERTY >.
bool tlp::GraphProperty::setAllNodeStringValue |
( |
const std::string & |
v |
) |
[virtual] |
Clears all nodes registered values, and sets a new node default value in converting the given string representation of a value. Returns true if the given string representation has been successfully converted to a value, false otherwise.
Reimplemented from tlp::AbstractProperty< Tnode, Tedge, TPROPERTY >.
bool tlp::GraphProperty::setEdgeStringValue |
( |
const edge |
e, |
|
|
const std::string & |
v | |
|
) |
| | [virtual] |
Registers a new value for the given edge in converting the given string representation. Returns true if the given string representation has been successfully converted to a value, false otherwise.
Reimplemented from tlp::AbstractProperty< Tnode, Tedge, TPROPERTY >.
bool tlp::GraphProperty::setNodeStringValue |
( |
const node |
n, |
|
|
const std::string & |
v | |
|
) |
| | [virtual] |
Registers a new value for the given node in converting the given string representation. Returns true if the given string representation has been successfully converted to a value, false otherwise.
Reimplemented from tlp::AbstractProperty< Tnode, Tedge, TPROPERTY >.
Friends And Related Function Documentation
friend class GraphAbstract [friend] |
Member Data Documentation
|