20 #ifndef TULIP_PROPERTY_H
21 #define TULIP_PROPERTY_H
23 #include <tulip/Algorithm.h>
24 #include <tulip/Graph.h>
30 static const std::string PROPERTY_ALGORITHM_CATEGORY =
"Property";
41 return PROPERTY_ALGORITHM_CATEGORY;
62 template<
class Property>
67 if (dataSet != NULL) {
68 if(!dataSet->exist(
"result")) {
69 std::stringstream propname;
73 while(graph->existProperty(propname.str())) {
75 propname <<
"result" << number;
79 result = graph->getProperty<Property>(propname.str());
82 dataSet->get(
"result", result);