Hoyt's FORK of DemoIccMAX 2.1.17.hoyt
Documentation for Hoyt's FORK of DemoIccMAX
|
Go to the source code of this file.
Functions | |
template<typename T > | |
std::string | arrayToJson (T *a, int nCount) |
template std::string | arrayToJson< icInt16Number > (icInt16Number *, int) |
template std::string | arrayToJson< icInt32Number > (icInt32Number *, int) |
template std::string | arrayToJson< icInt64Number > (icInt64Number *, int) |
template std::string | arrayToJson< icInt8Number > (icInt8Number *, int) |
template std::string | arrayToJson< icUInt16Number > (icUInt16Number *, int) |
template std::string | arrayToJson< icUInt32Number > (icUInt32Number *, int) |
template std::string | arrayToJson< icUInt64Number > (icUInt64Number *, int) |
template std::string | arrayToJson< icUInt8Number > (icUInt8Number *, int) |
std::string | fixJsonString (const char *v) |
bool | jsonToArray (const json &v, std::vector< std::string > &vals) |
template<typename T > | |
bool | jsonToArray (const json &v, std::vector< T > &a) |
template<typename T > | |
bool | jsonToArray (const json &v, T *vals, int n) |
template bool | jsonToArray< double > (const json &, double *, int) |
template bool | jsonToArray< double > (const json &, std::vector< double > &) |
template bool | jsonToArray< float > (const json &, float *, int) |
template bool | jsonToArray< float > (const json &, std::vector< float > &) |
template bool | jsonToArray< icInt16Number > (const json &, icInt16Number *, int) |
template bool | jsonToArray< icInt16Number > (const json &, std::vector< icInt16Number > &) |
template bool | jsonToArray< icInt32Number > (const json &, icInt32Number *, int) |
template bool | jsonToArray< icInt32Number > (const json &, std::vector< icInt32Number > &) |
template bool | jsonToArray< icInt64Number > (const json &, icInt64Number *, int) |
template bool | jsonToArray< icInt64Number > (const json &, std::vector< icInt64Number > &) |
template bool | jsonToArray< icInt8Number > (const json &, icInt8Number *, int) |
template bool | jsonToArray< icInt8Number > (const json &, std::vector< icInt8Number > &) |
template bool | jsonToArray< icUInt16Number > (const json &, icUInt16Number *, int) |
template bool | jsonToArray< icUInt16Number > (const json &, std::vector< icUInt16Number > &) |
template bool | jsonToArray< icUInt32Number > (const json &, icUInt32Number *, int) |
template bool | jsonToArray< icUInt32Number > (const json &, std::vector< icUInt32Number > &) |
template bool | jsonToArray< icUInt64Number > (const json &, icUInt64Number *, int) |
template bool | jsonToArray< icUInt64Number > (const json &, std::vector< icUInt64Number > &) |
template bool | jsonToArray< icUInt8Number > (const json &, icUInt8Number *, int) |
template bool | jsonToArray< icUInt8Number > (const json &, std::vector< icUInt8Number > &) |
bool | jsonToColorSpace (const json &j, icColorSpaceSignature &sig) |
bool | jsonToCStr (const json &j, char *str, int nSize) |
bool | jsonToList (const json &v, std::list< std::string > &vals) |
bool | jsonToString (const json &j, std::string &value) |
template<> | |
bool | jsonToValue (const json &j, bool &value) |
template<> | |
bool | jsonToValue (const json &j, std::string &value) |
template<typename T > | |
bool | jsonToValue (const json &j, T &nValue) |
template bool | jsonToValue< double > (const json &, double &) |
template bool | jsonToValue< float > (const json &, float &) |
template bool | jsonToValue< icInt16Number > (const json &, icInt16Number &) |
template bool | jsonToValue< icInt32Number > (const json &, icInt32Number &) |
template bool | jsonToValue< icInt64Number > (const json &, icInt64Number &) |
template bool | jsonToValue< icInt8Number > (const json &, icInt8Number &) |
template bool | jsonToValue< icUInt16Number > (const json &, icUInt16Number &) |
template bool | jsonToValue< icUInt32Number > (const json &, icUInt32Number &) |
template bool | jsonToValue< icUInt64Number > (const json &, icUInt64Number &) |
template bool | jsonToValue< icUInt8Number > (const json &, icUInt8Number &) |
template bool | jsonToValue< int > (const json &, int &) |
template bool | jsonToValue< unsigned int > (const json &, unsigned int &) |
bool | loadJsonFrom (json &j, const char *szFname) |
bool | saveJsonAs (const json &j, const char *szFname, int indent) |
template<> | |
std::string | valueToJson (const char *name, char *v) |
template<> | |
std::string | valueToJson (const char *name, const char *v) |
std::string | valueToJson (const char *name, const char *v, bool &bPreviousLine) |
template<> | |
std::string | valueToJson (const char *name, const std::string &v) |
template<typename T > | |
std::string | valueToJson (const char *name, T v) |
template std::string | valueToJson< double > (const char *, double) |
template std::string | valueToJson< float > (const char *, float) |
template std::string | valueToJson< icInt16Number > (const char *, icInt16Number) |
template std::string | valueToJson< icInt32Number > (const char *, icInt32Number) |
template std::string | valueToJson< icInt64Number > (const char *, icInt64Number) |
template std::string | valueToJson< icInt8Number > (const char *, icInt8Number) |
template std::string | valueToJson< icUInt16Number > (const char *, icUInt16Number) |
template std::string | valueToJson< icUInt32Number > (const char *, icUInt32Number) |
template std::string | valueToJson< icUInt64Number > (const char *, icUInt64Number) |
template std::string | valueToJson< icUInt8Number > (const char *, icUInt8Number) |
template std::string | valueToJson< int > (const char *, int) |
template std::string | valueToJson< unsigned int > (const char *, unsigned int) |
std::string arrayToJson | ( | T * | a, |
int | nCount ) |
Definition at line 76 of file IccJsonUtil.cpp.
template std::string arrayToJson< icInt16Number > | ( | icInt16Number * | , |
int | ) |
template std::string arrayToJson< icInt32Number > | ( | icInt32Number * | , |
int | ) |
template std::string arrayToJson< icInt64Number > | ( | icInt64Number * | , |
int | ) |
template std::string arrayToJson< icInt8Number > | ( | icInt8Number * | , |
int | ) |
template std::string arrayToJson< icUInt16Number > | ( | icUInt16Number * | , |
int | ) |
template std::string arrayToJson< icUInt32Number > | ( | icUInt32Number * | , |
int | ) |
template std::string arrayToJson< icUInt64Number > | ( | icUInt64Number * | , |
int | ) |
template std::string arrayToJson< icUInt8Number > | ( | icUInt8Number * | , |
int | ) |
std::string fixJsonString | ( | const char * | v | ) |
Definition at line 125 of file IccJsonUtil.cpp.
Referenced by valueToJson(), valueToJson(), and valueToJson().
bool jsonToArray | ( | const json & | v, |
std::vector< std::string > & | vals ) |
Definition at line 271 of file IccJsonUtil.cpp.
bool jsonToArray | ( | const json & | v, |
std::vector< T > & | a ) |
Definition at line 312 of file IccJsonUtil.cpp.
bool jsonToArray | ( | const json & | v, |
T * | vals, | ||
int | n ) |
Definition at line 242 of file IccJsonUtil.cpp.
Referenced by CIccCfgDataEntry::fromJson().
template bool jsonToArray< double > | ( | const json & | , |
double * | , | ||
int | ) |
template bool jsonToArray< double > | ( | const json & | , |
std::vector< double > & | ) |
template bool jsonToArray< float > | ( | const json & | , |
float * | , | ||
int | ) |
template bool jsonToArray< float > | ( | const json & | , |
std::vector< float > & | ) |
template bool jsonToArray< icInt16Number > | ( | const json & | , |
icInt16Number * | , | ||
int | ) |
template bool jsonToArray< icInt16Number > | ( | const json & | , |
std::vector< icInt16Number > & | ) |
template bool jsonToArray< icInt32Number > | ( | const json & | , |
icInt32Number * | , | ||
int | ) |
template bool jsonToArray< icInt32Number > | ( | const json & | , |
std::vector< icInt32Number > & | ) |
template bool jsonToArray< icInt64Number > | ( | const json & | , |
icInt64Number * | , | ||
int | ) |
template bool jsonToArray< icInt64Number > | ( | const json & | , |
std::vector< icInt64Number > & | ) |
template bool jsonToArray< icInt8Number > | ( | const json & | , |
icInt8Number * | , | ||
int | ) |
template bool jsonToArray< icInt8Number > | ( | const json & | , |
std::vector< icInt8Number > & | ) |
template bool jsonToArray< icUInt16Number > | ( | const json & | , |
icUInt16Number * | , | ||
int | ) |
template bool jsonToArray< icUInt16Number > | ( | const json & | , |
std::vector< icUInt16Number > & | ) |
template bool jsonToArray< icUInt32Number > | ( | const json & | , |
icUInt32Number * | , | ||
int | ) |
template bool jsonToArray< icUInt32Number > | ( | const json & | , |
std::vector< icUInt32Number > & | ) |
template bool jsonToArray< icUInt64Number > | ( | const json & | , |
icUInt64Number * | , | ||
int | ) |
template bool jsonToArray< icUInt64Number > | ( | const json & | , |
std::vector< icUInt64Number > & | ) |
template bool jsonToArray< icUInt8Number > | ( | const json & | , |
icUInt8Number * | , | ||
int | ) |
template bool jsonToArray< icUInt8Number > | ( | const json & | , |
std::vector< icUInt8Number > & | ) |
bool jsonToColorSpace | ( | const json & | j, |
icColorSpaceSignature & | sig ) |
Definition at line 358 of file IccJsonUtil.cpp.
References icGetSigVal(), icSigUnknownData, jsonToValue(), and sig.
Referenced by CIccCfgColorData::fromJson(), and CIccCfgDataApply::fromJson().
bool jsonToCStr | ( | const json & | j, |
char * | str, | ||
int | nSize ) |
Definition at line 346 of file IccJsonUtil.cpp.
bool jsonToList | ( | const json & | v, |
std::list< std::string > & | vals ) |
Definition at line 293 of file IccJsonUtil.cpp.
Referenced by CIccCfgDataEntry::fromJson().
bool jsonToString | ( | const json & | j, |
std::string & | value ) |
Definition at line 199 of file IccJsonUtil.cpp.
Referenced by jsonToValue().
bool jsonToValue | ( | const json & | j, |
bool & | value ) |
Definition at line 210 of file IccJsonUtil.cpp.
bool jsonToValue | ( | const json & | j, |
std::string & | value ) |
Definition at line 236 of file IccJsonUtil.cpp.
References jsonToString().
bool jsonToValue | ( | const json & | j, |
T & | nValue ) |
Definition at line 176 of file IccJsonUtil.cpp.
Referenced by jsonToColorSpace().
template bool jsonToValue< double > | ( | const json & | , |
double & | ) |
template bool jsonToValue< float > | ( | const json & | , |
float & | ) |
template bool jsonToValue< icInt16Number > | ( | const json & | , |
icInt16Number & | ) |
template bool jsonToValue< icInt32Number > | ( | const json & | , |
icInt32Number & | ) |
template bool jsonToValue< icInt64Number > | ( | const json & | , |
icInt64Number & | ) |
template bool jsonToValue< icInt8Number > | ( | const json & | , |
icInt8Number & | ) |
template bool jsonToValue< icUInt16Number > | ( | const json & | , |
icUInt16Number & | ) |
template bool jsonToValue< icUInt32Number > | ( | const json & | , |
icUInt32Number & | ) |
template bool jsonToValue< icUInt64Number > | ( | const json & | , |
icUInt64Number & | ) |
template bool jsonToValue< icUInt8Number > | ( | const json & | , |
icUInt8Number & | ) |
template bool jsonToValue< int > | ( | const json & | , |
int & | ) |
template bool jsonToValue< unsigned int > | ( | const json & | , |
unsigned int & | ) |
bool loadJsonFrom | ( | json & | j, |
const char * | szFname ) |
Definition at line 399 of file IccJsonUtil.cpp.
Referenced by main(), and main().
bool saveJsonAs | ( | const json & | j, |
const char * | szFname, | ||
int | indent ) |
Definition at line 372 of file IccJsonUtil.cpp.
Referenced by main().
std::string valueToJson | ( | const char * | name, |
char * | v ) |
Definition at line 154 of file IccJsonUtil.cpp.
References fixJsonString().
std::string valueToJson | ( | const char * | name, |
const char * | v ) |
Definition at line 146 of file IccJsonUtil.cpp.
References fixJsonString().
std::string valueToJson | ( | const char * | name, |
const char * | v, | ||
bool & | bPreviousLine ) |
Definition at line 161 of file IccJsonUtil.cpp.
References valueToJson().
std::string valueToJson | ( | const char * | name, |
const std::string & | v ) |
Definition at line 139 of file IccJsonUtil.cpp.
References fixJsonString().
std::string valueToJson | ( | const char * | name, |
T | v ) |
Definition at line 104 of file IccJsonUtil.cpp.
Referenced by valueToJson().
template std::string valueToJson< double > | ( | const char * | , |
double | ) |
template std::string valueToJson< float > | ( | const char * | , |
float | ) |
template std::string valueToJson< icInt16Number > | ( | const char * | , |
icInt16Number | ) |
template std::string valueToJson< icInt32Number > | ( | const char * | , |
icInt32Number | ) |
template std::string valueToJson< icInt64Number > | ( | const char * | , |
icInt64Number | ) |
template std::string valueToJson< icInt8Number > | ( | const char * | , |
icInt8Number | ) |
template std::string valueToJson< icUInt16Number > | ( | const char * | , |
icUInt16Number | ) |
template std::string valueToJson< icUInt32Number > | ( | const char * | , |
icUInt32Number | ) |
template std::string valueToJson< icUInt64Number > | ( | const char * | , |
icUInt64Number | ) |
template std::string valueToJson< icUInt8Number > | ( | const char * | , |
icUInt8Number | ) |
template std::string valueToJson< int > | ( | const char * | , |
int | ) |
template std::string valueToJson< unsigned int > | ( | const char * | , |
unsigned int | ) |