Go to the documentation of this file.
5 #ifndef BALL_VIEW_DATATYPE_COLORUNIT_H
6 #define BALL_VIEW_DATATYPE_COLORUNIT_H
166 operator char ()
const;
171 operator unsigned char ()
const;
176 operator short ()
const;
181 operator unsigned short ()
const;
186 operator int ()
const;
191 operator unsigned int ()
const;
196 operator long ()
const;
201 operator unsigned long ()
const;
241 void set(
const char* value);
256 void get(
char* value)
const;
283 void set(
const unsigned char value);
289 const ColorUnit& operator = (
const unsigned char value);
294 void get(
unsigned char& value)
const;
300 void set(
const short value);
312 void get(
short& value)
const;
318 void set(
const unsigned short value);
325 const ColorUnit& operator = (
const unsigned short value);
330 void get(
unsigned short& value)
const;
336 void set(
const int value);
348 void get(
int& value)
const;
354 void set(
const unsigned int value);
366 void get(
unsigned int& value)
const;
372 void set(
const long value);
384 void get(
long& value)
const;
390 void set(
const unsigned long value);
397 const ColorUnit& operator = (
const unsigned long value);
402 void get(
unsigned long& value)
const;
408 void set(
const float value);
420 void get(
float& value)
const;
426 void set(
const double value);
438 void get(
double& value)
const;
493 void dump(std::ostream& s = std::cout,
Size depth = 0)
const;
522 float hexToFloat_(
const char* value);
528 # ifndef BALL_NO_INLINE_FUNCTIONS
529 # include <BALL/VIEW/DATATYPE/colorUnit.iC>
535 #endif // BALL_VIEW_DATATYPE_COLORUNIT_H
ColorUnit(const float value)
ColorUnit(const double value)
void get(String &value) const
void get(unsigned long &value) const
void get(unsigned char &value) const
ColorUnit(const unsigned long value)
void set(const ColorUnit &color_unit)
ColorUnit(const ColorUnit &color_unit)
BALL_EXPORT bool operator!=(const String &s1, const String &s2)
void get(double &value) const
ColorUnit(const char *value)
ColorUnit(const long value)
void set(const unsigned int value)
void set(const float value)
void get(int &value) const
BALL_EXPORT bool operator<(const String &s1, const String &s2)
void set(const short value)
void set(const long value)
ColorUnit(const unsigned int value)
ColorUnit(const int value)
BALL_EXPORT bool operator>(const String &s1, const String &s2)
void set(const char *value)
BALL_EXPORT bool operator>=(const String &s1, const String &s2)
void swap(ColorUnit &color_unit)
ColorUnit(const unsigned char value)
void get(long &value) const
void get(char *value) const
void set(const String &value)
void dump(std::ostream &s=std::cout, Size depth=0) const
void get(unsigned short &value) const
void get(unsigned int &value) const
void set(const int value)
void set(const unsigned char value)
NotInHexFormat(const char *file, int line, const string &data)
ColorUnit(const short value)
BALL_EXPORT bool operator==(const String &s1, const String &s2)
void get(short &value) const
std::istream & operator>>(std::istream &is, TRegularData1D< ValueType > &grid)
Input operator.
void set(const unsigned short value)
void get(float &value) const
void set(const unsigned long value)
void set(const double value)
BALL_EXPORT bool operator<=(const String &s1, const String &s2)
ColorUnit(const unsigned short value)
std::ostream & operator<<(std::ostream &o, const PixelFormat &f)
ColorUnit(const String &value)