20 #ifndef TULIP_COLORS_H
21 #define TULIP_COLORS_H
23 #include <tulip/PropertyTypes.h>
24 #include <tulip/AbstractProperty.h>
28 class PropertyContext;
30 typedef AbstractProperty<tlp::ColorType, tlp::ColorType> AbstractColorProperty;
41 static const std::string propertyTypename;
42 std::string getTypename()
const {
43 return propertyTypename;
46 int compare(
const node n1,
const node n2)
const;
47 int compare(
const edge e1,
const edge e2)
const;
55 class TLP_SCOPE
ColorVectorProperty:
public AbstractVectorProperty<tlp::ColorVectorType, tlp::ColorType> {
60 static const std::string propertyTypename;
61 std::string getTypename()
const {
62 return propertyTypename;