Overview     Modules     Class Hierarchy     Classes     Members  

tlp::GraphProperty Class Reference
[Properties]

#include <GraphProperty.h>

Inheritance diagram for tlp::GraphProperty:
Collaboration diagram for tlp::GraphProperty:

List of all members.

Public Member Functions

Friends


Constructor & Destructor Documentation

tlp::GraphProperty::GraphProperty ( Graph ,
std::string  n = "" 
)
virtual tlp::GraphProperty::~GraphProperty (  )  [virtual]

Member Function Documentation

PropertyInterface* tlp::GraphProperty::clonePrototype ( Graph ,
const std::string &   
) [virtual]

Create 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]

Reimplemented from tlp::GraphObserver.

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]

Clear all edges registered values, and set a new edge default value in converting the given string representation of a value

Reimplemented from tlp::AbstractProperty< Tnode, Tedge, TPROPERTY >.

bool tlp::GraphProperty::setAllNodeStringValue ( const std::string &  v  )  [virtual]

Clear all nodes registered values, and set a new node default value in converting the given string representation of a value

Reimplemented from tlp::AbstractProperty< Tnode, Tedge, TPROPERTY >.

virtual void tlp::GraphProperty::setAllNodeValue ( const GraphType::RealType g  )  [virtual]
bool tlp::GraphProperty::setEdgeStringValue ( const edge  e,
const std::string &  v 
) [virtual]

Register a new value for the given edge in converting the given string representation

Reimplemented from tlp::AbstractProperty< Tnode, Tedge, TPROPERTY >.

bool tlp::GraphProperty::setNodeStringValue ( const node  n,
const std::string &  v 
) [virtual]

Register a new value for the given node in converting the given string representation

Reimplemented from tlp::AbstractProperty< Tnode, Tedge, TPROPERTY >.

virtual void tlp::GraphProperty::setNodeValue ( const node  n,
const GraphType::RealType g 
) [virtual]

Friends And Related Function Documentation

friend class GraphAbstract [friend]


Tulip Software by LaBRI Visualization Team    2001 - 2011