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

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

Definition at line 128 of file XmlVideo.h.

References Impala::atol(), Impala::Util::XmlDoc::GetAttributeValue(), Impala::Util::XmlDoc::GetChildNode(), Impala::Util::XmlDoc::GetElementValue(), ILOG_DEBUG, mCaseLink, mFileName, mFrames, mId, mShots, mStatus, mValid, and Impala::Persistency::XmlFileReader::Read().

Referenced by XmlVideo().

00129     {
00130         mValid = false;
00131         Persistency::XmlFileReader reader;
00132         DOMDocument* doc = reader.Read(docName, ioBuf);
00133         if (!doc)
00134             return;
00135         DOMNode* video = GetChildNode(doc, "video", true);
00136         DOMNode* id = GetChildNode(video, "id", true);
00137         mId = GetElementValue(id);
00138         ILOG_DEBUG("id = " << mId);
00139 
00140         DOMNode* casee = GetChildNode(video, "case", true);
00141         mCaseLink = GetAttributeValue(casee, "xlink:href");
00142         ILOG_DEBUG("case = " << mCaseLink);
00143 
00144         DOMNode* fname = GetChildNode(video, "fileName", true);
00145         mFileName = GetElementValue(fname);
00146         ILOG_DEBUG("fileName = " << mFileName);
00147 
00148         DOMNode* status = GetChildNode(video, "videoFileStatus", true);
00149         mStatus = GetElementValue(status);
00150         ILOG_DEBUG("status = " << mStatus);
00151 
00152         DOMNode* shot = GetChildNode(video, "shots", true);
00153         mShots = Impala::atol(GetElementValue(shot));
00154         ILOG_DEBUG("shots = " << mShots);
00155 
00156         DOMNode* frame = GetChildNode(video, "frames", true);
00157         mFrames = Impala::atol(GetElementValue(frame));
00158         ILOG_DEBUG("frames = " << mFrames);
00159         mValid = true;
00160     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:19:54 2011 for ImpalaSrc by  doxygen 1.5.1