30 #ifndef __NCML_MODULE__SIMPLE_LOCATION_PARSER_H__
31 #define __NCML_MODULE__SIMPLE_LOCATION_PARSER_H__
50 std::string _location;
std::string parseAndGetLocation(const std::string &filename)
Parse the NcML filename and return the netcdf attribute, assuming there's only one netCDF node...
SaxParser implementation that just grabs the netcdf attribute and returns it.
An abstract superclass for NCMLArray that handles the non-parameterized functionality and allows u...
virtual ~SimpleLocationParser()
virtual void onEndDocument()
virtual void onStartDocument()
virtual void onParseWarning(std::string msg)
A recoverable parse error occured.
virtual void onStartElement(const std::string &name, const XMLAttributeMap &attrs)
We only use this get the the nedcdf attribute out.
virtual void onEndElement(const std::string &)
virtual void onParseError(std::string msg)
An unrecoverable parse error occurred.
Interface class for the wrapper between libxml C SAX parser and our NCMLParser.
virtual void onCharacters(const std::string &)
Called when characters are encountered within an element.