ElementExtractor
-
class omexmeta::ElementExtractor
extract all elements from a document with name and put into a list
Public Functions
-
explicit ElementExtractor(const std::string &markup, const std::string &element)
constructor for ElementExtractor
- Parameters
markup – the string containing the sbml document string
element – a string with the sbml element you want to extract
-
~ElementExtractor()
-
const std::vector<xmlNode*> &getElements() const
get xml elements called element_
Private Functions
-
void collectElements(xmlNode *a_node)
collect the name of the element pointed to by a_node
*a_node pointer to an xmlNode
-
explicit ElementExtractor(const std::string &markup, const std::string &element)