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

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

Definition at line 74 of file XmlAnnotationSet.h.

References Impala::Util::XmlDoc::GetAttributeValue(), Impala::Util::XmlDoc::GetChildNode(), Impala::Util::XmlDoc::GetChildNodes(), ILOG_DEBUG, mMoments, mValid, and Impala::Persistency::XmlFileReader::Read().

Referenced by XmlAnnotationSet().

00075     {
00076         mValid = false;
00077         Persistency::XmlFileReader reader;
00078         DOMDocument* doc = reader.Read(docName, ioBuf);
00079         if (!doc)
00080             return;
00081         DOMNode* moments = GetChildNode(doc, "moments", true);
00082 
00083         std::vector<DOMNode*> momNodes = GetChildNodes(moments, "moment");
00084         ILOG_DEBUG("nr moments = " << momNodes.size());
00085         for (int i=0 ; i<momNodes.size() ; i++)
00086         {
00087             String href = GetAttributeValue(momNodes[i], "xlink:href");
00088             if (!href.empty())
00089                 mMoments.push_back(href);
00090         }
00091         mValid = true;
00092     }

Here is the call graph for this function:


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