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

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

Definition at line 90 of file XmlShot.h.

References Impala::atol(), Impala::Util::XmlDoc::GetAttributeValue(), Impala::Util::XmlDoc::GetChildNode(), Impala::Util::XmlDoc::GetElementValue(), ILOG_DEBUG, mFrame, mShotIndex, mValid, mVideo, and Impala::Persistency::XmlFileReader::Read().

Referenced by XmlShot().

00091     {
00092         mValid = false;
00093         Persistency::XmlFileReader reader;
00094         DOMDocument* doc = reader.Read(docName, ioBuf);
00095         if (!doc)
00096             return;
00097         DOMNode* moment = GetChildNode(doc, "moment", true);
00098         if (!moment)
00099             return;
00100         DOMNode* video = GetChildNode(moment, "video", true);
00101         mVideo = GetAttributeValue(video, "xlink:href");;
00102         ILOG_DEBUG("video = " << mVideo);
00103         DOMNode* frame = GetChildNode(moment, "frameIndex", true);
00104         mFrame = Impala::atol(GetElementValue(frame));
00105         ILOG_DEBUG("frame = " << mFrame);
00106         DOMNode* shot = GetChildNode(moment, "shotIndex", true);
00107         mShotIndex = Impala::atol(GetElementValue(shot));
00108         ILOG_DEBUG("shotIndex = " << mShotIndex);
00109         mValid = true;
00110     }

Here is the call graph for this function:


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