Overview     Modules     Class Hierarchy     Classes     Members  

Classes

class  tlp::AbstractProperty< Tnode, Tedge, TPROPERTY >
 This class is used to store a property of a graph. It implements PropertyInterface and add new methods to deal with two distinct type of values : More...
class  tlp::AbstractVectorProperty< vectType, eltType >
class  tlp::BooleanProperty
class  tlp::BooleanVectorProperty
class  tlp::ColorProperty
class  tlp::ColorVectorProperty
class  tlp::GraphProperty
class  tlp::IntegerProperty
class  tlp::IntegerVectorProperty
class  tlp::LayoutProperty
class  tlp::CoordVectorProperty
class  tlp::PropertyObserver
 Observer for Property. More...
class  tlp::PropertyInterface
class  tlp::PropertyInterface::MetaValueCalculator
class  tlp::PropertyEvent
 Event class for specific events on PropertyInterface. More...
class  tlp::SizeProperty
class  tlp::SizeVectorProperty

Enumerations

enum  tlp::PropertyEvent::PropertyEventType {
  tlp::PropertyEvent::TLP_BEFORE_SET_NODE_VALUE = 0, tlp::PropertyEvent::TLP_AFTER_SET_NODE_VALUE, tlp::PropertyEvent::TLP_BEFORE_SET_ALL_NODE_VALUE, tlp::PropertyEvent::TLP_AFTER_SET_ALL_NODE_VALUE,
  tlp::PropertyEvent::TLP_BEFORE_SET_ALL_EDGE_VALUE, tlp::PropertyEvent::TLP_AFTER_SET_ALL_EDGE_VALUE, tlp::PropertyEvent::TLP_BEFORE_SET_EDGE_VALUE, tlp::PropertyEvent::TLP_AFTER_SET_EDGE_VALUE
}

Functions

 tlp::BooleanProperty::BooleanProperty (Graph *g, std::string n="")
PropertyInterface * tlp::BooleanProperty::clonePrototype (Graph *, const std::string &)
std::string tlp::BooleanProperty::getTypename () const
void tlp::BooleanProperty::reverse ()
void tlp::BooleanProperty::reverseEdgeDirection ()
Iterator< node > * tlp::BooleanProperty::getNodesEqualTo (const bool val, Graph *g=0)
Iterator< edge > * tlp::BooleanProperty::getEdgesEqualTo (const bool val, Graph *g=0)
 tlp::BooleanVectorProperty::BooleanVectorProperty (Graph *g, std::string n="")
PropertyInterface * tlp::BooleanVectorProperty::clonePrototype (Graph *, const std::string &)
std::string tlp::BooleanVectorProperty::getTypename () const
virtual tlp::PropertyInterface::~PropertyInterface ()
virtual void tlp::PropertyInterface::erase (const node)=0
virtual void tlp::PropertyInterface::erase (const edge)=0
virtual void tlp::PropertyInterface::copy (const node src, const node dst, PropertyInterface *prop, bool ifNotDefault=false)=0
virtual void tlp::PropertyInterface::copy (const edge src, const edge dst, PropertyInterface *prop, bool ifNotDefault=false)=0
virtual void tlp::PropertyInterface::copy (PropertyInterface *prop)=0
virtual PropertyInterface * tlp::PropertyInterface::clonePrototype (Graph *, const std::string &)=0
virtual std::string tlp::PropertyInterface::getTypename () const =0
const std::string & tlp::PropertyInterface::getName () const
tlp::Graphtlp::PropertyInterface::getGraph ()
virtual std::string tlp::PropertyInterface::getNodeDefaultStringValue () const =0
virtual bool tlp::PropertyInterface::setAllNodeStringValue (const std::string &v)=0
virtual std::string tlp::PropertyInterface::getEdgeDefaultStringValue () const =0
virtual bool tlp::PropertyInterface::setAllEdgeStringValue (const std::string &v)=0
virtual std::string tlp::PropertyInterface::getNodeStringValue (const node n) const =0
virtual bool tlp::PropertyInterface::setNodeStringValue (const node n, const std::string &v)=0
virtual std::string tlp::PropertyInterface::getEdgeStringValue (const edge e) const =0
virtual bool tlp::PropertyInterface::setEdgeStringValue (const edge e, const std::string &v)=0
virtual DataMem * tlp::PropertyInterface::getNodeDefaultDataMemValue () const =0
virtual void tlp::PropertyInterface::setAllNodeDataMemValue (const DataMem *v)=0
virtual DataMem * tlp::PropertyInterface::getEdgeDefaultDataMemValue () const =0
virtual void tlp::PropertyInterface::setAllEdgeDataMemValue (const DataMem *v)=0
virtual DataMem * tlp::PropertyInterface::getNodeDataMemValue (const node n) const =0
virtual DataMem * tlp::PropertyInterface::getNonDefaultDataMemValue (const node n) const =0
virtual void tlp::PropertyInterface::setNodeDataMemValue (const node n, const DataMem *v)=0
virtual DataMem * tlp::PropertyInterface::getEdgeDataMemValue (const edge e) const =0
virtual DataMem * tlp::PropertyInterface::getNonDefaultDataMemValue (const edge e) const =0
virtual void tlp::PropertyInterface::setEdgeDataMemValue (const edge e, const DataMem *v)=0
virtual tlp::Iterator< node > * tlp::PropertyInterface::getNonDefaultValuatedNodes (const Graph *=NULL) const =0
virtual tlp::Iterator< edge > * tlp::PropertyInterface::getNonDefaultValuatedEdges (const Graph *=NULL) const =0
virtual void tlp::PropertyInterface::computeMetaValue (node mN, Graph *sg, Graph *mg)=0
virtual void tlp::PropertyInterface::computeMetaValue (edge mE, tlp::Iterator< edge > *itE, Graph *mg)=0
virtual tlp::PropertyInterface::MetaValueCalculator::~MetaValueCalculator ()
MetaValueCalculator * tlp::PropertyInterface::getMetaValueCalculator ()
virtual void tlp::PropertyInterface::setMetaValueCalculator (MetaValueCalculator *mvCalc)
void tlp::PropertyInterface::addPropertyObserver (PropertyObserver *pObs)
void tlp::PropertyInterface::removePropertyObserver (PropertyObserver *pObs)
unsigned int tlp::PropertyInterface::countPropertyObservers () const
virtual int tlp::PropertyInterface::compare (const node n1, const node n2) const =0
 Compare value of the node n1 to the value of the node n2.
virtual int tlp::PropertyInterface::compare (const edge e1, const edge e2) const =0
 Compare value of the edge e1 to the value of the edge e2.
void tlp::PropertyInterface::notifyBeforeSetNodeValue (const node n)
void tlp::PropertyInterface::notifyAfterSetNodeValue (const node n)
void tlp::PropertyInterface::notifyBeforeSetEdgeValue (const edge e)
void tlp::PropertyInterface::notifyAfterSetEdgeValue (const edge e)
void tlp::PropertyInterface::notifyBeforeSetAllNodeValue ()
void tlp::PropertyInterface::notifyAfterSetAllNodeValue ()
void tlp::PropertyInterface::notifyBeforeSetAllEdgeValue ()
void tlp::PropertyInterface::notifyAfterSetAllEdgeValue ()
void tlp::PropertyInterface::notifyDestroy ()
 use for old observer tulip compatibility
 tlp::PropertyEvent::PropertyEvent (const PropertyInterface &prop, PropertyEventType propEvtType, Event::EventType evtType=Event::TLP_MODIFICATION, unsigned int id=UINT_MAX)
PropertyInterface * tlp::PropertyEvent::getProperty () const
node tlp::PropertyEvent::getNode () const
edge tlp::PropertyEvent::getEdge () const
PropertyEventType tlp::PropertyEvent::getType () const

Variables

static const std::string tlp::BooleanProperty::propertyTypename
static const std::string tlp::BooleanVectorProperty::propertyTypename
std::string tlp::PropertyInterface::name
Graph * tlp::PropertyInterface::graph
MetaValueCalculator * tlp::PropertyInterface::metaValueCalculator
PropertyEventType tlp::PropertyEvent::evtType
unsigned int tlp::PropertyEvent::eltId

Friends

class tlp::BooleanProperty::BooleanAlgorithm
class tlp::PropertyInterface::PropertyManager

Detailed Description

Enumeration Type Documentation

Enumerator:
TLP_BEFORE_SET_NODE_VALUE 
TLP_AFTER_SET_NODE_VALUE 
TLP_BEFORE_SET_ALL_NODE_VALUE 
TLP_AFTER_SET_ALL_NODE_VALUE 
TLP_BEFORE_SET_ALL_EDGE_VALUE 
TLP_AFTER_SET_ALL_EDGE_VALUE 
TLP_BEFORE_SET_EDGE_VALUE 
TLP_AFTER_SET_EDGE_VALUE 

Function Documentation

void tlp::PropertyInterface::addPropertyObserver ( PropertyObserver pObs)

Registers a new property observer.

tlp::BooleanProperty::BooleanProperty ( Graph g,
std::string  n = "" 
)
inline
tlp::BooleanVectorProperty::BooleanVectorProperty ( Graph g,
std::string  n = "" 
)
inline
PropertyInterface* tlp::BooleanProperty::clonePrototype ( Graph ,
const std::string &   
)
virtual

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.

PropertyInterface* tlp::BooleanVectorProperty::clonePrototype ( Graph ,
const std::string &   
)
virtual

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.

virtual PropertyInterface* tlp::PropertyInterface::clonePrototype ( Graph ,
const std::string &   
)
pure virtual
virtual void tlp::PropertyInterface::copy ( const edge  src,
const edge  dst,
PropertyInterface prop,
bool  ifNotDefault = false 
)
pure virtual
unsigned int tlp::PropertyInterface::countPropertyObservers ( ) const
inline

Returns the number of registered observers.

edge tlp::PropertyEvent::getEdge ( ) const
inline
Iterator<edge>* tlp::BooleanProperty::getEdgesEqualTo ( const bool  val,
Graph g = 0 
)
tlp::Graph* tlp::PropertyInterface::getGraph ( )
inline

Returns the graph on which the property has been defined. WARNING : If the property is inherited the graph could be different that the one used to get that property.

MetaValueCalculator* tlp::PropertyInterface::getMetaValueCalculator ( )
inline

Returns the meta value calculator associated to this property.

const std::string& tlp::PropertyInterface::getName ( ) const
inline

Returns the name of the property.

node tlp::PropertyEvent::getNode ( ) const
inline
Iterator<node>* tlp::BooleanProperty::getNodesEqualTo ( const bool  val,
Graph g = 0 
)
PropertyInterface* tlp::PropertyEvent::getProperty ( ) const
inline
PropertyEventType tlp::PropertyEvent::getType ( ) const
inline
std::string tlp::BooleanProperty::getTypename ( ) const
inlinevirtual

Returns a string describing the type of the property. i.e. "graph", "double", "layout", "string", "integer", "color", "size", ...

Implements tlp::PropertyInterface.

std::string tlp::BooleanVectorProperty::getTypename ( ) const
inlinevirtual

Returns a string describing the type of the property. i.e. "graph", "double", "layout", "string", "integer", "color", "size", ...

Implements tlp::PropertyInterface.

virtual std::string tlp::PropertyInterface::getTypename ( ) const
pure virtual
void tlp::PropertyInterface::notifyAfterSetAllEdgeValue ( )
protected
void tlp::PropertyInterface::notifyAfterSetAllNodeValue ( )
protected
void tlp::PropertyInterface::notifyAfterSetEdgeValue ( const edge  e)
protected
void tlp::PropertyInterface::notifyAfterSetNodeValue ( const node  n)
protected
void tlp::PropertyInterface::notifyBeforeSetAllEdgeValue ( )
protected
void tlp::PropertyInterface::notifyBeforeSetAllNodeValue ( )
protected
void tlp::PropertyInterface::notifyBeforeSetEdgeValue ( const edge  e)
protected
void tlp::PropertyInterface::notifyBeforeSetNodeValue ( const node  n)
protected
void tlp::PropertyInterface::notifyDestroy ( )
protected

use for old observer tulip compatibility

Reimplemented from tlp::Observable.

tlp::PropertyEvent::PropertyEvent ( const PropertyInterface prop,
PropertyEventType  propEvtType,
Event::EventType  evtType = Event::TLP_MODIFICATION,
unsigned int  id = UINT_MAX 
)
inline
void tlp::PropertyInterface::removePropertyObserver ( PropertyObserver pObs)

Removes a registered property observer.

void tlp::BooleanProperty::reverse ( )
void tlp::BooleanProperty::reverseEdgeDirection ( )
virtual tlp::PropertyInterface::MetaValueCalculator::~MetaValueCalculator ( )
inlinevirtual
virtual tlp::PropertyInterface::~PropertyInterface ( )
virtual

Variable Documentation

unsigned int tlp::PropertyEvent::eltId
protected
PropertyEventType tlp::PropertyEvent::evtType
protected
Graph* tlp::PropertyInterface::graph
protected
MetaValueCalculator* tlp::PropertyInterface::metaValueCalculator
protected
std::string tlp::PropertyInterface::name
protected
const std::string tlp::BooleanProperty::propertyTypename
static
const std::string tlp::BooleanVectorProperty::propertyTypename
static

Friends

friend class BooleanAlgorithm
friend
friend class PropertyManager
friend


Tulip Software by LaBRI Visualization Team    2001 - 2012