Definition at line 105 of file StepScheme.h. References Impala::Core::VideoJob::StepScheme::Step::cmdLineTemplate, ILOG_ERROR, Impala::Core::VideoJob::StepScheme::Step::isIndiv, Impala::MakeString(), mSteps, Impala::Core::VideoJob::StepScheme::Step::text, and Impala::Core::VideoJob::StepScheme::Step::vidSetArgBeforeVidNrArg. Referenced by Impala::Core::VideoJob::ProcessDefinition::GetCmdLine(). 00106 { 00107 const Step& step = mSteps.at(stepNr); 00108 if (step.isIndiv) 00109 { 00110 if (videoNr < 0) 00111 { 00112 ILOG_ERROR("Need a valid video number (" << videoNr << ")"); 00113 } 00114 if (step.vidSetArgBeforeVidNrArg) 00115 return step.cmdLineTemplate[0] + videoSet + 00116 step.cmdLineTemplate[1] + MakeString(videoNr) + 00117 step.cmdLineTemplate[2]; 00118 else 00119 return step.cmdLineTemplate[0] + MakeString(videoNr) + 00120 step.cmdLineTemplate[1] + videoSet + step.cmdLineTemplate[2]; 00121 } 00122 else if (step.cmdLineTemplate[0].empty()) 00123 { 00124 return step.text; 00125 } 00126 else 00127 { 00128 return step.cmdLineTemplate[0] + videoSet + step.cmdLineTemplate[1]; 00129 } 00130 }
Here is the call graph for this function:
|