ProteoWizard
Public Member Functions | Public Attributes | List of all members
NestedHandler Struct Reference
Inheritance diagram for NestedHandler:
pwiz::minimxml::SAXParser::Handler

Public Member Functions

 NestedHandler ()
 
virtual Status endElement (const string &name, stream_offset position)
 
- Public Member Functions inherited from pwiz::minimxml::SAXParser::Handler
virtual Status processingInstruction (const std::string &name, const std::string &data, stream_offset position)
 
virtual Status startElement (const std::string &name, const Attributes &attributes, stream_offset position)
 
virtual Status characters (const SAXParser::saxstring &text, stream_offset position)
 
 Handler ()
 
virtual ~Handler ()
 

Public Attributes

int count
 
- Public Attributes inherited from pwiz::minimxml::SAXParser::Handler
bool parseCharacters
 When false, no calls to characters() will be made. More...
 
bool autoUnescapeAttributes
 Setting these to false will disable the auto-unescaping feature of the parser; this is useful for handlers which deal with large amounts of data. More...
 
bool autoUnescapeCharacters
 
int version
 contextual version available to control handler logic which support multiple versions of a schema; the default value 0 indicates handler should ignore the version; the handler determines the meaning of any non-zero value More...
 

Additional Inherited Members

- Public Types inherited from pwiz::minimxml::SAXParser::Handler
enum  XMLUnescapeBehavior_t { XMLUnescapeDefault, NoXMLUnescape }
 
typedef boost::iostreams::stream_offset stream_offset
 
- Protected Member Functions inherited from pwiz::minimxml::SAXParser::Handler
template<typename T >
T & getAttribute (const Attributes &attributes, const char *name, T &result, XMLUnescapeBehavior_t Unescape, T defaultValue=T()) const
 
const char * getAttribute (const Attributes &attributes, const char *name, XMLUnescapeBehavior_t Unescape, const char *defaultValue=NULL) const
 
template<typename T >
T & getAttribute (const Attributes &attributes, const char *name, T &result) const
 
std::string & getAttribute (const Attributes &attributes, const char *name, std::string &result) const
 
template<typename T >
T & getAttribute (const Attributes &attributes, const std::string &name, T &result, T defaultValue=T()) const
 

Detailed Description

Definition at line 497 of file SAXParserTest.cpp.

Constructor & Destructor Documentation

§ NestedHandler()

NestedHandler::NestedHandler ( )
inline

Definition at line 500 of file SAXParserTest.cpp.

500 : count(0) {}

Member Function Documentation

§ endElement()

virtual Status NestedHandler::endElement ( const string &  name,
stream_offset  position 
)
inlinevirtual

Reimplemented from pwiz::minimxml::SAXParser::Handler.

Definition at line 502 of file SAXParserTest.cpp.

Member Data Documentation

§ count

int NestedHandler::count

Definition at line 499 of file SAXParserTest.cpp.

Referenced by testNested().


The documentation for this struct was generated from the following file: