Overview     Modules     Class Hierarchy     Classes     Members  

#include <BooleanProperty.h>

Inheritance diagram for tlp::BooleanProperty:
Collaboration diagram for tlp::BooleanProperty:

Public Member Functions

 BooleanProperty (Graph *g, std::string n="")
PropertyInterfaceclonePrototype (Graph *, const std::string &)
std::string getTypename () const
void reverse ()
void reverseEdgeDirection ()
Iterator< node > * getNodesEqualTo (const bool val, Graph *g=0)
Iterator< edge > * getEdgesEqualTo (const bool val, Graph *g=0)
- Public Member Functions inherited from tlp::AbstractProperty< tlp::BooleanType, tlp::BooleanType, tlp::BooleanAlgorithm >
 AbstractProperty (Graph *, std::string n="")
tlp::BooleanType::RealType getNodeDefaultValue () const
 Returns the default node value of the property.
tlp::BooleanType::RealType getEdgeDefaultValue () const
 Returns the default edge value of the property.
tlp::StoredType< typename
tlp::BooleanType::RealType >
::ReturnedConstValue 
getNodeValue (const node n) const
 Returns the value associated with the node n in this property. If there is no value, it returns the default ndoe value.
tlp::StoredType< typename
tlp::BooleanType::RealType >
::ReturnedConstValue 
getEdgeValue (const edge e) const
 Returns the value associated to the edge e in this property. If there is no value, it returns the default edge value.
virtual void setNodeValue (const node n, const typename tlp::BooleanType::RealType &v)
 Sets the value of a node and notify the observers of a modification.
virtual void setEdgeValue (const edge e, const typename tlp::BooleanType::RealType &v)
 Set the value of an edge and notify the observers of a modification.
virtual void setAllNodeValue (const typename tlp::BooleanType::RealType &v)
 Sets the value of all nodes and notify the observers.
virtual void setAllEdgeValue (const typename tlp::BooleanType::RealType &v)
 Sets the value of all edges and notify the observers.
virtual void erase (const node n)
 Resets the value of a node to the default value.
virtual void erase (const edge e)
 Resets the value of an edge to the default value.
virtual AbstractProperty
< tlp::BooleanType,
tlp::BooleanType,
tlp::BooleanAlgorithm > & 
operator= (AbstractProperty< tlp::BooleanType, tlp::BooleanType, tlp::BooleanAlgorithm > &prop)
virtual std::string getNodeDefaultStringValue () const
virtual std::string getEdgeDefaultStringValue () const
virtual std::string getNodeStringValue (const node n) const
virtual std::string getEdgeStringValue (const edge e) const
virtual bool setNodeStringValue (const node inN, const std::string &inV)
virtual bool setEdgeStringValue (const edge inE, const std::string &inV)
virtual bool setAllNodeStringValue (const std::string &inV)
virtual bool setAllEdgeStringValue (const std::string &inV)
virtual tlp::Iterator< node > * getNonDefaultValuatedNodes (const Graph *g=NULL) const
 Returns an iterator on all nodes whose value is different from the default value. When the pointer to the graph is not NULL, only the nodes owned by this graph are returned by the iterator.
virtual tlp::Iterator< edge > * getNonDefaultValuatedEdges (const Graph *g=NULL) const
 Returns an iterator on all edges whose value is different from the default value. When the pointer to the graph is not NULL, only the edges owned by this graph are returned by the iterator.
virtual void copy (const node destination, const node source, PropertyInterface *property, bool ifNotDefault=false)
 Copies the value hold by a property on a node to another node on this property.
virtual void copy (const edge destination, const edge source, PropertyInterface *property, bool ifNotDefault=false)
 Copies the value hold by a property on an edge to another edge on this property.
virtual void copy (PropertyInterface *property)
 Copies the values hold by a property on this property.
virtual DataMemgetNodeDefaultDataMemValue () const
virtual DataMemgetEdgeDefaultDataMemValue () const
virtual DataMemgetNodeDataMemValue (const node n) const
virtual DataMemgetEdgeDataMemValue (const edge e) const
virtual DataMemgetNonDefaultDataMemValue (const node n) const
virtual DataMemgetNonDefaultDataMemValue (const edge e) const
virtual void setNodeDataMemValue (const node n, const DataMem *v)
virtual void setEdgeDataMemValue (const edge e, const DataMem *v)
virtual void setAllNodeDataMemValue (const DataMem *v)
virtual void setAllEdgeDataMemValue (const DataMem *v)
virtual void computeMetaValue (node n, Graph *sg, Graph *mg)
virtual void computeMetaValue (edge e, tlp::Iterator< edge > *itE, Graph *mg)
virtual void setMetaValueCalculator (PropertyInterface::MetaValueCalculator *mvCalc)
int compare (const node n1, const node n2) const
 Default implementation of PropertyInterface::compare(node n1,node n2)
int compare (const edge e1, const edge e2) const
 Default implementation of PropertyInterface::compare(edge e1,edge e2)
- Public Member Functions inherited from tlp::PropertyInterface
virtual ~PropertyInterface ()
const std::string & getName () const
tlp::GraphgetGraph ()
MetaValueCalculatorgetMetaValueCalculator ()
void addPropertyObserver (PropertyObserver *pObs)
void removePropertyObserver (PropertyObserver *pObs)
unsigned int countPropertyObservers () const
- Public Member Functions inherited from tlp::Observable
 Observable ()
_DEPRECATED Observable (bool)
virtual ~Observable ()
tlp::Iterator< Observable * > * getOnlookers () const
 return an Iterator on all Onlookers
tlp::Iterator< Observable * > * getObservables () const
virtual void treatEvents (const std::vector< Event > &events)
virtual void _DEPRECATED update (std::set< Observable * >::iterator, std::set< Observable * >::iterator)
virtual void _DEPRECATED observableDestroyed (Observable *)
virtual void treatEvent (const Event &)
void addObserver (Observable *const obs) const
 use for old observer tulip compatibility
void addListener (Observable *const obs) const
 use for old observer tulip compatibility
void removeOnlooker (const Observable &, OLOEDGETYPE type) const
 remove an Observer/Listener of the observable
void removeObserver (Observable *const obs) const
 use for old observer tulip compatibility
void removeListener (Observable *const obs) const
void _DEPRECATED notifyObservers ()
 use for old observer tulip compatibility
unsigned int countObservers () const
unsigned int countOnLookers () const
unsigned int countListeners () const
bool hasOnlookers () const
 remove all Observer/Listener of the observable
- Public Member Functions inherited from tlp::OLOObject
tlp::node getNode () const
 return the node representing that OLOObject in the OLOGraph
unsigned int getSent () const
 return the number of sent nofication
unsigned int getReceived () const
 return the number of received nofication

Static Public Attributes

static const std::string propertyTypename

Friends

class BooleanAlgorithm

Additional Inherited Members

- Static Public Member Functions inherited from tlp::Observable
static void holdObservers ()
 start delay of events to all Observer
static void unholdObservers ()
 Send queued event to all Observer.
static void _DEPRECATED unholdObservers (bool)
static unsigned int observersHoldCounter ()
- Protected Types inherited from tlp::OLOObject
enum  OLOEDGETYPE { OBSERVABLE = 0x01, OBSERVER = 0x02, LISTENER = 0x04 }
- Protected Member Functions inherited from tlp::AbstractProperty< tlp::BooleanType, tlp::BooleanType, tlp::BooleanAlgorithm >
virtual void clone_handler (AbstractProperty< tlp::BooleanType, tlp::BooleanType, tlp::BooleanAlgorithm > &)
 Enable to clone part of sub_class.
- Protected Attributes inherited from tlp::AbstractProperty< tlp::BooleanType, tlp::BooleanType, tlp::BooleanAlgorithm >
MutableContainer< typename
tlp::BooleanType::RealType
nodeProperties
MutableContainer< typename
tlp::BooleanType::RealType
edgeProperties
tlp::BooleanType::RealType nodeDefaultValue
tlp::BooleanType::RealType edgeDefaultValue


Tulip Software by LaBRI Visualization Team    2001 - 2012