Hoyt's FORK of DemoIccMAX 2.1.17.hoyt
Documentation for Hoyt's FORK of DemoIccMAX
Loading...
Searching...
No Matches
IccEnvVar.cpp
Go to the documentation of this file.
1#include "IccEnvVar.h"
2
8
13
15{
16 icCmmEnvSigMap::iterator v=m_map->find((icSignature)sig);
17
18 if (v==m_map->end()) {
19 val = (icFloatNumber)0.0;
20 return false;
21 }
22 val = v->second;
23 return true;
24}
25
27{
28 if (nIndex>=m_map->size()) {
30 val = (icFloatNumber)0.0;
31 return false;
32 }
34 icCmmEnvSigMap::iterator v;
35
36 for (v=m_map->begin(), i=0; i<nIndex; v++, i++);
37
38 sig = (icSigCmmEnvVar)(v->first);
39 val = v->second;
40 return true;
41}
42
48
53
59
icArraySignature sig
float icFloatNumber
All floating point operations/variables in IccProfLib use the icFloatNumber data type.
Definition IccDefs.h:100
File: IccEnvVar.h.
std::map< icSignature, icFloatNumber > icCmmEnvSigMap
Definition IccEnvVar.h:83
unsigned int icUInt32Number
virtual ~CIccCmmEnvVarHint()
Definition IccEnvVar.cpp:49
CIccCmmEnvVarHint(icCmmEnvSigMap &map)
Definition IccEnvVar.cpp:43
icCmmEnvSigMap * m_map
Definition IccEnvVar.h:106
virtual ~CIccCmmPccEnvVarHint()
Definition IccEnvVar.cpp:60
CIccCmmPccEnvVarHint(icCmmEnvSigMap &map)
Definition IccEnvVar.cpp:54
icCmmEnvSigMap * m_map
Definition IccEnvVar.h:118
virtual bool GetEnvVar(icSigCmmEnvVar sig, icFloatNumber &val)
Definition IccEnvVar.cpp:14
CIccCmmVarLookup(icCmmEnvSigMap &map)
Definition IccEnvVar.cpp:3
icCmmEnvSigMap * m_map
Definition IccEnvVar.h:94
virtual ~CIccCmmVarLookup()
Definition IccEnvVar.cpp:9
virtual bool IndexedEnvVar(icUInt32Number nIndex, icSigCmmEnvVar &sig, icFloatNumber &val)
Definition IccEnvVar.cpp:26
icUInt32Number icSignature
icSigCmmEnvVar