![]() |
SENSEI
A frame work for generic in situ analytics
|
#include "Error.h"#include <mpi.h>#include <string>#include <vector>#include <array>#include <pugixml.hpp>Go to the source code of this file.
Namespaces | |
| sensei | |
| SENSEI. | |
| sensei::XMLUtils | |
| a collection of functions for parsing XML. | |
Functions | |
| SENSEI_EXPORT int | sensei::XMLUtils::RequireAttribute (const pugi::xml_node &node, const char *attributeName) |
| check that an attribute of the passed in name exists return of 0 indicates that it does. More... | |
| SENSEI_EXPORT int | sensei::XMLUtils::RequireChild (const pugi::xml_node &node, const char *childName) |
| check that a child element of the passed in name exists return of 0 indicates that it does. More... | |
| SENSEI_EXPORT int | sensei::XMLUtils::Parse (MPI_Comm comm, const std::string &filename, pugi::xml_document &doc) |
| Parallel collective read, parse, and distribute the XML file. More... | |
| template<typename num_t > | |
| int | sensei::XMLUtils::ParseNumeric (const pugi::xml_node &node, std::vector< num_t > &numData) |
| parse text data in the node of unknown length, return in the vector. More... | |
| template<typename num_t , unsigned long n> | |
| int | sensei::XMLUtils::ParseNumeric (const pugi::xml_node &node, std::array< num_t, n > &numData) |
| parse text data in the node of specific length More... | |
| int | sensei::XMLUtils::ParseNameValuePairs (const pugi::xml_node &node, std::vector< std::string > &names, std::vector< std::string > &values) |
| process a sequence of "name = value" pairs in a node's text. More... | |
| int | sensei::XMLUtils::ParseList (pugi::xml_node node, std::vector< std::string > &listOut) |
| process a list in a node's text. More... | |