Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages

OMSSAXMLHandler Class Reference

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

Inheritance diagram for OMSSAXMLHandler:

XMLHandler xercesc::DefaultHandler

List of all members.


Detailed Description

Handler that is used for parsing OMSSAXML data.

Public Member Functions

 OMSSAXMLHandler (ProteinIdentification &protein_identification, std::vector< PeptideIdentification > &peptide_identifications, const String &filename)
 Default constructor.
virtual ~OMSSAXMLHandler ()
 Destructor.
void endElement (const XMLCh *const , const XMLCh *const , const XMLCh *const qname)
 Parsing method for closing tags.
void startElement (const XMLCh *const , const XMLCh *const , const XMLCh *const qname, const xercesc::Attributes &attributes)
 Parsing method for opening tags.
void characters (const XMLCh *const chars, unsigned int)
 Parsing method for character data.

Private Attributes

ProteinIdentificationprotein_identification_
 the protein identifications
std::vector
< PeptideIdentification > & 
peptide_identifications_
 the identifications (storing the peptide hits)
ProteinHit actual_protein_hit_
PeptideHit actual_peptide_hit_
PeptideIdentification actual_peptide_id_
ProteinIdentification actual_protein_id_
String tag_

Constructor & Destructor Documentation

OMSSAXMLHandler ( ProteinIdentification protein_identification,
std::vector< PeptideIdentification > &  peptide_identifications,
const String filename 
)

Default constructor.

virtual ~OMSSAXMLHandler (  )  [virtual]

Destructor.


Member Function Documentation

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

Parsing method for closing tags.

Reimplemented from XMLHandler.

void startElement ( const XMLCh *  uri,
const XMLCh *  localname,
const XMLCh *const   qname,
const xercesc::Attributes &  attrs 
) [virtual]

Parsing method for opening tags.

Reimplemented from XMLHandler.

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

Parsing method for character data.

Reimplemented from XMLHandler.


Member Data Documentation

ProteinIdentification& protein_identification_ [private]

the protein identifications

std::vector<PeptideIdentification>& peptide_identifications_ [private]

the identifications (storing the peptide hits)

ProteinHit actual_protein_hit_ [private]

PeptideHit actual_peptide_hit_ [private]

PeptideIdentification actual_peptide_id_ [private]

ProteinIdentification actual_protein_id_ [private]

String tag_ [private]


The documentation for this class was generated from the following file:
Generated Tue Apr 1 15:36:49 2008 -- using doxygen 1.5.4 OpenMS / TOPP 1.1