Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

void Impala::Core::VideoJob::Reporter::WriteProcessDefinition (  )  const [inline]

Definition at line 87 of file Reporter.h.

References Impala::Core::VideoJob::ProcessDefinition::GetStep(), ILOG_ERROR, mData, Impala::Core::VideoJob::Data::mProcessDef, and Impala::Core::VideoJob::ProcessDefinition::StepCount().

Referenced by Impala::Core::VideoJob::Manager::ReportProcessDefinition().

00088     {
00089         std::ofstream output("procdef.xml");
00090         if (!output.is_open())
00091         {
00092             ILOG_ERROR("Unable to write process definition report");
00093             return;
00094         }
00095 
00096         output << "<?xml version=\"1.0\" encoding=\"utf-8\"?>" << std::endl;
00097         output << "<?xml-stylesheet type=\"text/xsl\" href=\"videojobmanager.xslt\"?>" << std::endl;
00098         output << "<procdef>" << std::endl;
00099         for (int s = 0; s < mData.mProcessDef->StepCount(); s++)
00100             output << "  <step id=\"" << s << "\" text=\""
00101                    << mData.mProcessDef->GetStep(s) << "\" />" << std::endl;
00102         output << "</procdef>" << std::endl;
00103         output.close();
00104     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:21:42 2011 for ImpalaSrc by  doxygen 1.5.1