Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Public Member Functions | Protected Attributes | Private Member Functions

ToolDescriptionHandler Class Reference

XML handler for ToolDescriptionFile. More...

#include <OpenMS/FORMAT/HANDLERS/ToolDescriptionHandler.h>

Inheritance diagram for ToolDescriptionHandler:
ParamXMLHandler XMLHandler DefaultHandler

List of all members.

Public Member Functions

virtual void endElement (const XMLCh *const , const XMLCh *const , const XMLCh *const qname)
 Parsing method for closing tags.
virtual void startElement (const XMLCh *const , const XMLCh *const , const XMLCh *const qname, const xercesc::Attributes &attributes)
 Parsing method for opening tags.
virtual void characters (const XMLCh *const chars, const XMLSize_t length)
 Parsing method for character data.
virtual void writeTo (std::ostream &os)
 Writes the contents to a stream.
const std::vector
< ToolDescription > & 
getToolDescriptions () const
void setToolDescriptions (const std::vector< ToolDescription > &td)
Constructors and destructor

 ToolDescriptionHandler (const String &filename, const String &version)
 Constructor.
virtual ~ToolDescriptionHandler ()
 Destructor.

Protected Attributes

Param p_
Internal::ToolExternalDetails tde_
Internal::ToolDescription td_
std::vector
< Internal::ToolDescription
td_vec_
String tag_
bool in_ini_section_

Private Member Functions

 ToolDescriptionHandler ()
 ToolDescriptionHandler (const ToolDescriptionHandler &rhs)
ToolDescriptionHandleroperator= (const ToolDescriptionHandler &rhs)

Detailed Description

XML handler for ToolDescriptionFile.

Note:
Do not use this class. It is only needed in ToolDescriptionFile.

Constructor & Destructor Documentation

ToolDescriptionHandler ( const String filename,
const String version 
)

Constructor.

virtual ~ToolDescriptionHandler (  )  [virtual]

Destructor.

ToolDescriptionHandler (  )  [private]
ToolDescriptionHandler ( const ToolDescriptionHandler rhs  )  [private]

Member Function Documentation

virtual void characters ( const XMLCh *const   chars,
const XMLSize_t  length 
) [virtual]

Parsing method for character data.

Reimplemented from XMLHandler.

virtual void endElement ( const XMLCh *  uri,
const XMLCh *  localname,
const XMLCh *const   qname 
) [virtual]

Parsing method for closing tags.

Reimplemented from ParamXMLHandler.

const std::vector<ToolDescription>& getToolDescriptions (  )  const
ToolDescriptionHandler& operator= ( const ToolDescriptionHandler rhs  )  [private]
void setToolDescriptions ( const std::vector< ToolDescription > &  td  ) 
virtual void startElement ( const XMLCh *  uri,
const XMLCh *  localname,
const XMLCh *const   qname,
const xercesc::Attributes &  attrs 
) [virtual]

Parsing method for opening tags.

Reimplemented from ParamXMLHandler.

virtual void writeTo ( std::ostream &   )  [virtual]

Writes the contents to a stream.

Reimplemented from XMLHandler.


Member Data Documentation

bool in_ini_section_ [protected]
Param p_ [protected]
String tag_ [protected]
std::vector<Internal::ToolDescription> td_vec_ [protected]

OpenMS / TOPP release 1.10.0 Documentation generated on Thu Mar 7 2013 09:43:00 using doxygen 1.7.1