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;
43 return propertyTypename;
45 DEFINE_GET_CPP_CLASS_NAME;
47 int compare(
const node n1,
const node n2)
const override;
48 int compare(
const edge e1,
const edge e2)
const override;
56 :
public AbstractVectorProperty<tlp::ColorVectorType, tlp::ColorType> {
59 : AbstractVectorProperty<ColorVectorType, tlp::ColorType>(g, n) {}
62 static const std::string propertyTypename;
64 return propertyTypename;
66 DEFINE_GET_CPP_CLASS_NAME;