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>
BALL_EXPORT bool operator<(const String &s1, const String &s2)
BALL_EXPORT bool operator>(const String &s1, const String &s2)
BALL_EXPORT bool operator==(const String &s1, const String &s2)
BALL_EXPORT bool operator!=(const String &s1, const String &s2)
BALL_EXPORT bool operator>=(const String &s1, const String &s2)
std::istream & operator>>(std::istream &is, TRegularData1D< ValueType > &grid)
Input operator.
BALL_EXPORT bool operator<=(const String &s1, const String &s2)
std::ostream & operator<<(std::ostream &o, const PixelFormat &f)
void get(unsigned int &value) const
void get(long &value) const
void set(const int value)
ColorUnit(const float value)
ColorUnit(const char *value)
void swap(ColorUnit &color_unit)
void set(const char *value)
void get(unsigned char &value) const
ColorUnit(const short value)
ColorUnit(const unsigned char value)
void get(unsigned long &value) const
ColorUnit(const unsigned long value)
void set(const double value)
ColorUnit(const unsigned short value)
ColorUnit(const unsigned int value)
void set(const unsigned long value)
void set(const unsigned char value)
void set(const long value)
void set(const unsigned short value)
ColorUnit(const long value)
void get(double &value) const
void get(unsigned short &value) const
void dump(std::ostream &s=std::cout, Size depth=0) const
void set(const String &value)
ColorUnit(const double value)
void get(int &value) const
void set(const float value)
ColorUnit(const ColorUnit &color_unit)
ColorUnit(const String &value)
void get(String &value) const
void set(const ColorUnit &color_unit)
void get(char *value) const
ColorUnit(const int value)
void get(float &value) const
void set(const short value)
void set(const unsigned int value)
void get(short &value) const
NotInHexFormat(const char *file, int line, const string &data)