| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
tlp::AbstractProperty< Tnode, Tedge, TPROPERTY > Class Template Reference |
tlp::AbstractProperty< Tnode, Tedge, TPROPERTY >::AbstractProperty | ( | Graph * | ) |
virtual tlp::AbstractProperty< Tnode, Tedge, TPROPERTY >::~AbstractProperty | ( | ) | [virtual] |
static void tlp::AbstractProperty< Tnode, Tedge, TPROPERTY >::initFactory | ( | ) | [inline, static] |
Tnode::RealType tlp::AbstractProperty< Tnode, Tedge, TPROPERTY >::getNodeDefaultValue | ( | ) |
Returns the node default value of the property proxy warnning: If the type is a pointer it can produce big memory leak if the user doesn't manage the memory himself
Tedge::RealType tlp::AbstractProperty< Tnode, Tedge, TPROPERTY >::getEdgeDefaultValue | ( | ) |
Returns the edge default value of the property proxy warnning: If the type is a pointer it can produce big memory leak if the user doesn't manage the memory himself
ReturnType<typename Tnode::RealType>::Value tlp::AbstractProperty< Tnode, Tedge, TPROPERTY >::getNodeValue | ( | const node | n | ) |
Returns the value associated to the node n in this property. If the value is already fixed it is done in constant time. else if it is a computed property (plug-in), it calls the associated property If there is no value and no algorithms it returns the default value depending of the type.
ReturnType<typename Tedge::RealType>::Value tlp::AbstractProperty< Tnode, Tedge, TPROPERTY >::getEdgeValue | ( | const edge | e | ) |
Returns the value associated to the node n in this property. If the value is already fixed it is done in constant time. else if it is a computed property (plug-in), it calls the associated property If there is no value and no algorithms it returns the default value depending of the type.
void tlp::AbstractProperty< Tnode, Tedge, TPROPERTY >::setNodeValue | ( | const node | n, | |
const typename Tnode::RealType & | v | |||
) |
void tlp::AbstractProperty< Tnode, Tedge, TPROPERTY >::setEdgeValue | ( | const edge | e, | |
const typename Tedge::RealType & | v | |||
) |
void tlp::AbstractProperty< Tnode, Tedge, TPROPERTY >::setAllNodeValue | ( | const typename Tnode::RealType & | v | ) |
Set the value of all nodes and notify the observers
void tlp::AbstractProperty< Tnode, Tedge, TPROPERTY >::setAllEdgeValue | ( | const typename Tedge::RealType & | v | ) |
Set the value of all edges and notify the observers
virtual void tlp::AbstractProperty< Tnode, Tedge, TPROPERTY >::erase | ( | const node | n | ) | [virtual] |
Implements tlp::PropertyInterface.
virtual void tlp::AbstractProperty< Tnode, Tedge, TPROPERTY >::erase | ( | const edge | e | ) | [virtual] |
Implements tlp::PropertyInterface.
virtual AbstractProperty<Tnode,Tedge,TPROPERTY>& tlp::AbstractProperty< Tnode, Tedge, TPROPERTY >::operator= | ( | AbstractProperty< Tnode, Tedge, TPROPERTY > & | proxy | ) | [inline, virtual] |
bool tlp::AbstractProperty< Tnode, Tedge, TPROPERTY >::compute | ( | const std::string & | algorithm, | |
std::string & | msg, | |||
const PropertyContext & | ||||
) |
virtual std::string tlp::AbstractProperty< Tnode, Tedge, TPROPERTY >::getTypename | ( | ) | [virtual] |
Implements tlp::PropertyInterface.
virtual std::string tlp::AbstractProperty< Tnode, Tedge, TPROPERTY >::getNodeDefaultStringValue | ( | ) | [virtual] |
Implements tlp::PropertyInterface.
virtual std::string tlp::AbstractProperty< Tnode, Tedge, TPROPERTY >::getEdgeDefaultStringValue | ( | ) | [virtual] |
Implements tlp::PropertyInterface.
virtual std::string tlp::AbstractProperty< Tnode, Tedge, TPROPERTY >::getNodeStringValue | ( | const node | n | ) | [virtual] |
Implements tlp::PropertyInterface.
virtual std::string tlp::AbstractProperty< Tnode, Tedge, TPROPERTY >::getEdgeStringValue | ( | const edge | e | ) | [virtual] |
Implements tlp::PropertyInterface.
virtual bool tlp::AbstractProperty< Tnode, Tedge, TPROPERTY >::setNodeStringValue | ( | const node | n, | |
const std::string & | v | |||
) | [virtual] |
Implements tlp::PropertyInterface.
virtual bool tlp::AbstractProperty< Tnode, Tedge, TPROPERTY >::setEdgeStringValue | ( | const edge | e, | |
const std::string & | v | |||
) | [virtual] |
Implements tlp::PropertyInterface.
virtual bool tlp::AbstractProperty< Tnode, Tedge, TPROPERTY >::setAllNodeStringValue | ( | const std::string & | v | ) | [virtual] |
Implements tlp::PropertyInterface.
virtual bool tlp::AbstractProperty< Tnode, Tedge, TPROPERTY >::setAllEdgeStringValue | ( | const std::string & | v | ) | [virtual] |
Implements tlp::PropertyInterface.
virtual void tlp::AbstractProperty< Tnode, Tedge, TPROPERTY >::clone_handler | ( | AbstractProperty< Tnode, Tedge, TPROPERTY > & | ) | [inline, protected, virtual] |
Enable to clone part of sub_class.
virtual void tlp::AbstractProperty< Tnode, Tedge, TPROPERTY >::setAllNodeValue_handler | ( | const typename Tnode::RealType & | ) | [inline, protected, virtual] |
Handler function for inherited AbstractProperty. This function is called after a setAllNodeValue operation.
virtual void tlp::AbstractProperty< Tnode, Tedge, TPROPERTY >::setAllEdgeValue_handler | ( | const typename Tedge::RealType & | ) | [inline, protected, virtual] |
Handler function for inherited AbstractProperty. This function is called after a setAllEdgeValue operation.
virtual void tlp::AbstractProperty< Tnode, Tedge, TPROPERTY >::setEdgeValue_handler | ( | const | edge, | |
const typename Tedge::RealType & | ||||
) | [inline, protected, virtual] |
Handler function for inherited AbstractProperty. This function is called after a setEdgeValue operation.
virtual void tlp::AbstractProperty< Tnode, Tedge, TPROPERTY >::setNodeValue_handler | ( | const | node, | |
const typename Tnode::RealType & | ||||
) | [inline, protected, virtual] |
Handler function for inherited AbstractProperty. This function is called after a setNodeValue operation.
friend class GraphView [friend] |
TLP_SCOPE TemplateFactory< PropertyFactory<TPROPERTY>, TPROPERTY, PropertyContext >* tlp::AbstractProperty< Tnode, Tedge, TPROPERTY >::factory [static] |
MutableContainer<typename Tnode::RealType> tlp::AbstractProperty< Tnode, Tedge, TPROPERTY >::nodeProperties [protected] |
MutableContainer<typename Tedge::RealType> tlp::AbstractProperty< Tnode, Tedge, TPROPERTY >::edgeProperties [protected] |
Graph* tlp::AbstractProperty< Tnode, Tedge, TPROPERTY >::graph [protected] |
bool tlp::AbstractProperty< Tnode, Tedge, TPROPERTY >::circularCall [protected] |
Tnode::RealType tlp::AbstractProperty< Tnode, Tedge, TPROPERTY >::nodeDefaultValue [protected] |
Tedge::RealType tlp::AbstractProperty< Tnode, Tedge, TPROPERTY >::edgeDefaultValue [protected] |
Tulip Software by LaBRI Visualization Team 2001 - 2007 |