libatomprobe
Library for Atom Probe Tomography (APT) computation
Namespaces | Enumerations | Functions
XMLHelper.h File Reference
#include "atomprobe/helper/stringFuncs.h"
#include <libxml/xmlreader.h>
#include <string>
#include <vector>
Include dependency graph for XMLHelper.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 AtomProbe
 

Enumerations

enum  { AtomProbe::PROP_PARSE_ERR = 1, AtomProbe::PROP_BAD_ATT }
 

Functions

unsigned int AtomProbe::XMLHelpNextType (xmlNodePtr &node, int)
 
unsigned int AtomProbe::XMLHelpFwdToElem (xmlNodePtr &node, const char *nodeName)
 
unsigned int AtomProbe::XMLHelpFwdNotElem (xmlNodePtr &node, const char *nodeName)
 
unsigned int AtomProbe::XMLHelpFwdToList (xmlNodePtr &node, const std::vector< std::string > &nodeList)
 
std::string AtomProbe::XMLHelpGetText (xmlNodePtr &node)
 
void AtomProbe::XMLFreeDoc (void *data)
 Free a xmlDoc pointer. For use in conjunction with std::unique_ptr for auto-deallocation. More...
 
template<class T >
unsigned int AtomProbe::XMLHelpGetProp (T &prop, xmlNodePtr node, std::string propName)
 
template<class T >
bool AtomProbe::XMLGetNextElemAttrib (xmlNodePtr &nodePtr, T &v, const char *nodeName, const char *attrib)
 Grab the specified attribute from the next element, then stream_cast() it into the passed-in object. Returns true on success, false on error. More...