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:
|