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

void Impala::Core::IDash::XmlJob::ReadData ( String  docName,
Util::IOBuffer ioBuf 
) [inline, private]

Definition at line 143 of file XmlJob.h.

References Impala::Util::XmlDoc::GetAttributeValue(), Impala::Util::XmlDoc::GetChildNode(), Impala::Util::XmlDoc::GetElementValue(), ILOG_DEBUG, mAnnotationSet, mId, mProgressPercentage, mQuerySet, mStatus, mStatusDetails, mValid, mVideo, and Impala::Persistency::XmlFileReader::Read().

Referenced by XmlJob().

00144     {
00145         mValid = false;
00146         Persistency::XmlFileReader reader;
00147         DOMDocument* doc = reader.Read(docName, ioBuf);
00148         if (!doc)
00149             return;
00150         DOMNode* job = GetChildNode(doc, "job", true);
00151         DOMNode* id = GetChildNode(job, "id", true);
00152         mId = GetElementValue(id);
00153         ILOG_DEBUG("id = " << mId);
00154 
00155         DOMNode* video = GetChildNode(job, "video", true);
00156         mVideo = GetAttributeValue(video, "xlink:href");
00157         ILOG_DEBUG("video = " << mVideo);
00158 
00159         DOMNode* annotationSet = GetChildNode(job, "annotationSet", false);
00160         if (annotationSet)
00161             mAnnotationSet = GetAttributeValue(annotationSet, "xlink:href");
00162         ILOG_DEBUG("annotationSet = " << mAnnotationSet);
00163 
00164         DOMNode* querySet = GetChildNode(job, "querySet", true);
00165         mQuerySet = GetAttributeValue(querySet, "xlink:href");
00166         ILOG_DEBUG("querySet = " << mQuerySet);
00167 
00168         DOMNode* status = GetChildNode(job, "status", true);
00169         mStatus = GetElementValue(status);
00170         ILOG_DEBUG("status = " << mStatus);
00171 
00172         DOMNode* statusDetails = GetChildNode(job, "statusDetails", false);
00173         if (statusDetails)
00174             mStatusDetails = GetElementValue(statusDetails);
00175         ILOG_DEBUG("statusDetails = " << mStatusDetails);
00176 
00177         DOMNode* progress = GetChildNode(job, "progressPercentage", true);
00178         if (progress)
00179             mProgressPercentage = GetElementValue(progress);
00180         ILOG_DEBUG("progress = " << mProgressPercentage);
00181         mValid = true;
00182     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:13:34 2010 for ImpalaSrc by  doxygen 1.5.1