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>
35class TLP_SCOPE BooleanProperty :
public AbstractProperty<tlp::BooleanType, tlp::BooleanType> {
37 BooleanProperty(Graph *g,
const std::string &n =
"")
38 : AbstractProperty<BooleanType, BooleanType>(g, n) {}
39 using AbstractProperty<tlp::BooleanType, tlp::BooleanType>::operator=;
42 static const std::string propertyTypename;
44 return propertyTypename;
46 DEFINE_GET_CPP_CLASS_NAME;
67class TLP_SCOPE BooleanVectorProperty
68 :
public AbstractVectorProperty<tlp::BooleanVectorType, tlp::BooleanType> {
70 BooleanVectorProperty(
Graph *g,
const std::string &n =
"")
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;
void reverseEdgeDirection(Graph *sg=nullptr)
void reverse(const Graph *sg=nullptr)
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 * 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...
const std::string & getTypename() const override
Gets a string describing the type of the property value (e.g. "graph", "double", "layout",...
PropertyInterface describes the interface of a graph property.