/usr/include/tulip/PropertyAlgorithm.h is in libtulip-dev 4.4.0dfsg2-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 | /*
*
* This file is part of Tulip (www.tulip-software.org)
*
* Authors: David Auber and the Tulip development Team
* from LaBRI, University of Bordeaux 1 and Inria Bordeaux - Sud Ouest
*
* Tulip is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation, either version 3
* of the License, or (at your option) any later version.
*
* Tulip is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
*/
#ifndef PROPERTYALGORITHM_H
#define PROPERTYALGORITHM_H
#include <tulip/Algorithm.h>
#include <tulip/TemplateAlgorithm.h>
namespace tlp {
class PluginContext;
class BooleanProperty;
static const std::string BOOLEAN_ALGORITHM_CATEGORY = "Selection";
/**
* @ingroup Plugins
* @brief The boolean algorithm takes a graph as input and output its results as a tlp::BooleanProperty
*/
class TLP_SCOPE BooleanAlgorithm : public TemplateAlgorithm<tlp::BooleanProperty> {
protected:
BooleanAlgorithm (const tlp::PluginContext*);
public:
virtual std::string category() const {
return BOOLEAN_ALGORITHM_CATEGORY;
}
};
class ColorProperty;
static const std::string COLOR_ALGORITHM_CATEGORY = "Coloring";
/**
* @ingroup Plugins
* @brief The color algorithm takes a graph as input and output its results as a tlp::ColorProperty
*/
class TLP_SCOPE ColorAlgorithm : public TemplateAlgorithm<tlp::ColorProperty> {
protected:
ColorAlgorithm (const tlp::PluginContext*);
public:
virtual std::string category() const {
return COLOR_ALGORITHM_CATEGORY;
}
};
class DoubleProperty;
static const std::string DOUBLE_ALGORITHM_CATEGORY = "Measure";
/**
* @ingroup Plugins
* @brief The double algorithm takes a graph as input and output its results as a tlp::DoubleProperty
*/
class TLP_SCOPE DoubleAlgorithm : public TemplateAlgorithm<tlp::DoubleProperty> {
protected:
///
DoubleAlgorithm (const tlp::PluginContext*);
public:
virtual std::string category() const {
return DOUBLE_ALGORITHM_CATEGORY;
}
};
class IntegerProperty;
static const std::string INTEGER_ALGORITHM_CATEGORY = "Measure";
/**
* @ingroup Plugins
* @brief The integer algorithm takes a graph as input and output its results as a tlp::IntegerProperty
*/
class TLP_SCOPE IntegerAlgorithm : public TemplateAlgorithm<tlp::IntegerProperty> {
protected:
IntegerAlgorithm (const tlp::PluginContext*);
public:
virtual std::string category() const {
return INTEGER_ALGORITHM_CATEGORY;
}
};
class LayoutProperty;
static const std::string LAYOUT_ALGORITHM_CATEGORY = "Layout";
/**
* @ingroup Plugins
* @brief The layout algorithm takes a graph as input and output its results as a tlp::LayoutProperty
*/
class TLP_SCOPE LayoutAlgorithm : public TemplateAlgorithm<tlp::LayoutProperty> {
protected:
///
LayoutAlgorithm (const tlp::PluginContext*);
public:
virtual std::string category() const {
return LAYOUT_ALGORITHM_CATEGORY;
}
};
class SizeProperty;
static const std::string SIZE_ALGORITHM_CATEGORY = "Resizing";
/**
* @ingroup Plugins
* @brief The size algorithm takes a graph as input and output its results as a tlp::SizeProperty
*/
class TLP_SCOPE SizeAlgorithm : public TemplateAlgorithm<tlp::SizeProperty> {
protected:
SizeAlgorithm (const tlp::PluginContext*);
public:
virtual std::string category() const {
return SIZE_ALGORITHM_CATEGORY;
}
};
class StringProperty;
static const std::string STRING_ALGORITHM_CATEGORY = "Labeling";
/**
* @ingroup Plugins
* @brief The string algorithm takes a graph as input and output its results as a tlp::StringProperty
*/
class TLP_SCOPE StringAlgorithm : public TemplateAlgorithm<tlp::StringProperty> {
protected:
///
StringAlgorithm (const tlp::PluginContext*);
public:
virtual std::string category() const {
return STRING_ALGORITHM_CATEGORY;
}
};
}
#endif // PROPERTYALGORITHM_H
|