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

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 CIccOpDefData::Exec ( SIccCalcOp op,
SIccOpState os 
)
inlinevirtual

Reimplemented from IIccOpDef.

232 {
233 icUInt32Number n, j;
234 if (!op->extra) {
235 for (n=1; n+os.idx<os.nOps; n++)
236 if (op[n].sig!=icSigDataOp)
237 break;
238 op->extra = n;
239 }
240 else {
241 n=(icUInt32Number)op->extra;
242 }
243 size_t ss = os.pStack->size();
244 os.pStack->resize(ss+n);
245 icFloatNumber *s = &(*os.pStack)[ss];
246 for (j=0; j<n; j++) {
247 s[j] = op[j].data.num;
248 }
249 os.idx += n-1;
250 return true;
251 }
unsigned long icUInt32Number
Definition icProfileHeader.h:262
@ icSigDataOp
Definition IccMpeCalc.h:112
icUInt32Number idx
Definition IccMpeCalc.h:280
icUInt32Number nOps
Definition IccMpeCalc.h:281
CIccFloatVector * pStack
Definition IccMpeCalc.h:275
float icFloatNumber
Definition IccDefs.h:101
unsigned long extra
Definition IccMpeCalc.h:247
union SIccCalcOp::@1 data

References SIccCalcOp::extra, icSigDataOp, SIccOpState::idx, SIccOpState::nOps, SIccOpState::pStack, and SIccCalcOp::sig.

◆ 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: