IccMAX 2.1.27
Color Profile Tools
Loading...
Searching...
No Matches
CIccOpDefEnvVar Class Reference
+ Inheritance diagram for CIccOpDefEnvVar:
+ Collaboration diagram for CIccOpDefEnvVar:

Public Member Functions

virtual int ArgsPushed (CIccMpeCalculator *pCalc, SIccCalcOp &op)
 
virtual int ArgsUsed (CIccMpeCalculator *pCalc, SIccCalcOp &op)
 
virtual void Describe (SIccCalcOp &op, std::string &desc, int nVerboseness)
 
virtual bool Exec (SIccCalcOp *op, SIccOpState &os)
 
virtual bool IsValid (CIccMpeCalculator *pCalc, SIccCalcOp &op)
 

Detailed Description

Member Function Documentation

◆ ArgsPushed()

virtual int IIccOpDef::ArgsPushed ( CIccMpeCalculator pCalc,
SIccCalcOp op 
)
inlinevirtualinherited
297{ return op.ArgsPushed(pCalc);}
icUInt16Number ArgsPushed(CIccMpeCalculator *pCalc)
Definition IccMpeCalc.cpp:2354

References SIccCalcOp::ArgsPushed().

+ Here is the call graph for this function:

◆ ArgsUsed()

virtual int IIccOpDef::ArgsUsed ( CIccMpeCalculator pCalc,
SIccCalcOp op 
)
inlinevirtualinherited
298{ return op.ArgsUsed(pCalc);}
icUInt16Number ArgsUsed(CIccMpeCalculator *pCalc)
Definition IccMpeCalc.cpp:2222

References SIccCalcOp::ArgsUsed().

+ Here is the call graph for this function:

◆ Describe()

virtual void IIccOpDef::Describe ( SIccCalcOp op,
std::string &  desc,
int  nVerboseness 
)
inlinevirtualinherited
300{op.Describe(desc, nVerboseness);}
void Describe(std::string &desc, int nVerboseness=100)
Definition IccMpeCalc.cpp:1787

References SIccCalcOp::Describe().

+ Here is the call graph for this function:

◆ Exec()

virtual bool CIccOpDefEnvVar::Exec ( SIccCalcOp op,
SIccOpState os 
)
inlinevirtual

Reimplemented from IIccOpDef.

328 {
329 icSigCmmEnvVar sig = (icSigCmmEnvVar) op->data.size;
330 icFloatNumber val=0.0;
331
332 if (sig==icSigTrueVar) {
335 }
336 else if (sig==icSigNotDefVar) {
339 }
340 else if (os.pApply->GetEnvVar(sig, val)) {
343 }
344 else {
347 }
348 return true;
349 }
icSigCmmEnvVar
Definition icProfileHeader.h:631
@ icSigTrueVar
Definition icProfileHeader.h:633
@ icSigNotDefVar
Definition icProfileHeader.h:634
CIccApplyMpeCalculator * pApply
Definition IccMpeCalc.h:274
#define OsPushArg(X)
Definition IccMpeCalc.cpp:183
float icFloatNumber
Definition IccDefs.h:101
union SIccCalcOp::@1 data
bool GetEnvVar(icSigCmmEnvVar sigEnv, icFloatNumber &val)
Definition IccMpeCalc.cpp:5071

References CIccApplyMpeCalculator::GetEnvVar(), icSigNotDefVar, icSigTrueVar, and SIccOpState::pApply.

+ Here is the call graph for this function:

◆ IsValid()

virtual bool IIccOpDef::IsValid ( CIccMpeCalculator pCalc,
SIccCalcOp op 
)
inlinevirtualinherited

Reimplemented in CIccOpDefInvalid.

302{ return op.IsValidOp(pCalc); }
static bool IsValidOp(icSigCalcOp sig)
Definition IccMpeCalc.cpp:2073

References SIccCalcOp::IsValidOp().

+ Here is the call graph for this function:

The documentation for this class was generated from the following file: