20 #ifndef TULIP_SELECTION_H
21 #define TULIP_SELECTION_H
23 #include <tulip/PropertyTypes.h>
24 #include <tulip/AbstractProperty.h>
25 #include <tulip/PropertyAlgorithm.h>
29 class PropertyContext;
41 static const std::string propertyTypename;
43 return propertyTypename;
45 DEFINE_GET_CPP_CLASS_NAME;
67 :
public AbstractVectorProperty<tlp::BooleanVectorType, tlp::BooleanType> {
70 : AbstractVectorProperty<BooleanVectorType, tlp::BooleanType>(g, n) {}
73 static const std::string propertyTypename;
75 return propertyTypename;
77 DEFINE_GET_CPP_CLASS_NAME;
This class extends upon PropertyInterface, and adds type-safe methods to get and set the node and edg...
A graph property that maps a Boolean value to graph elements.
const std::string & getTypename() const override
Gets a string describing the type of the property value (e.g. "graph", "double", "layout",...
void reverseEdgeDirection(Graph *sg=nullptr)
void reverse(const Graph *sg=nullptr)
PropertyInterface * clonePrototype(Graph *, const std::string &) const override
Creates a property of the same type (e.g. tlp::DoubleProperty) in the graph. The new property will no...
A graph property that maps a std::vector<bool> value to graph elements.
const std::string & getTypename() const override
Gets a string describing the type of the property value (e.g. "graph", "double", "layout",...
PropertyInterface * clonePrototype(Graph *, const std::string &) const override
Creates a property of the same type (e.g. tlp::DoubleProperty) in the graph. The new property will no...
PropertyInterface describes the interface of a graph property.