5 #ifndef BALL_VIEW_DATATYPE_COLORHSV_H
6 #define BALL_VIEW_DATATYPE_COLORHSV_H
12 #ifndef BALL_DATATYPE_STRING_H
16 #ifndef BALL_VIEW_DATATYPE_COLORUNIT_H
20 #ifndef BALL_VIEW_DATATYPE_COLORUNITHUE_H
66 ColorHSV(const ColorHSV& color);
85 ColorHSV(const
char* value);
97 ColorHSV(const
String& value);
126 virtual
void clear();
145 void set(const ColorHSV& color);
150 const ColorHSV& operator = (const ColorHSV& color);
165 const ColorHSV& operator = (const
ColorRGBA& color);
181 void set(const
char* value);
191 const ColorHSV& operator = (const
char* value);
201 void get(
char* value) const;
211 void set(const
String& value);
221 const ColorHSV& operator = (const
String& value);
229 void get(
String& value) const;
233 void swap(ColorHSV& color);
267 void setSaturation(const
ColorUnit& saturation);
306 bool operator == (const ColorHSV& color) const;
310 bool operator != (const ColorHSV& color) const;
316 bool operator < (const ColorHSV& color) const;
322 bool operator <= (const ColorHSV& color) const;
328 bool operator > (const ColorHSV& color) const;
334 bool operator >= (const ColorHSV& color) const;
347 virtual
void dump(std::ostream& s = std::cout,
Size depth = 0) const;
362 friend std::istream& operator >> (std::istream& s, ColorHSV& color);
372 friend std::ostream& operator << (std::ostream& s, const ColorHSV& color);
384 void stringToHSV_ (const
String& value);
391 # ifndef BALL_NO_INLINE_FUNCTIONS
392 # include <BALL/VIEW/DATATYPE/colorHSV.iC>
398 #endif // <BALL/VIEW_DATATYPE_COLORHSV_H
#define BALL_CREATE(name)