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;
 
   42   static const std::string propertyTypename;
 
   44     return propertyTypename;
 
   46   DEFINE_GET_CPP_CLASS_NAME;
 
   68     : 
public AbstractVectorProperty<tlp::BooleanVectorType, tlp::BooleanType> {
 
   71       : AbstractVectorProperty<BooleanVectorType, tlp::BooleanType>(g, n) {}
 
   72   using AbstractVectorProperty<tlp::BooleanVectorType, tlp::BooleanType>::operator=;
 
   75   static const std::string propertyTypename;
 
   77     return propertyTypename;
 
   79   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.