MCL
Minimalistic Color Library
 All Classes Files
io.hh File Reference
#include <string>
#include <sstream>
#include "nauths/mcl/spaces/spaces.hh"
+ Include dependency graph for io.hh:
+ This graph shows which files directly or indirectly include this file:

Functions

std::string show (SpaceType s)
 
std::string show (const Color &)
 
void show (std::ostream &ostr, SpaceType s)
 
void show (std::ostream &ostr, const Color &c)
 
std::string show (const CMY &)
 
void show (std::ostream &ostr, const CMY &s)
 
std::string show (const CMYK &)
 
void show (std::ostream &ostr, const CMYK &s)
 
std::string show (const HSL &)
 
void show (std::ostream &ostr, const HSL &s)
 
std::string show (const HSV &)
 
void show (std::ostream &ostr, const HSV &s)
 
std::string show (const LAB &)
 
void show (std::ostream &ostr, const LAB &s)
 
std::string show (const LCH &)
 
void show (std::ostream &ostr, const LCH &s)
 
std::string show (const RGB &)
 
void show (std::ostream &ostr, const RGB &s)
 
std::string show (const RGBf &)
 
void show (std::ostream &ostr, const RGBf &s)
 
std::string show (const RGBub &)
 
void show (std::ostream &ostr, const RGBub &s)
 
std::string show (const XYZ &)
 
void show (std::ostream &ostr, const XYZ &s)
 
template<typename T >
read (const std::string &)
 
template<>
SpaceType read (const std::string &s)
 
template<>
Color read (const std::string &s)
 
template<typename T >
read (std::istream &)
 
template<>
SpaceType read (std::istream &istr)
 
template<>
Color read (std::istream &istr)