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

MascotXMLHandler Class Reference

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

Inheritance diagram for MascotXMLHandler:

XMLHandler xercesc::DefaultHandler

List of all members.


Detailed Description

Handler that is used for parsing MascotXML data.

Public Member Functions

 MascotXMLHandler (ProteinIdentification &protein_identification, std::vector< PeptideIdentification > &identifications, const String &filename)
 Constructor.
virtual ~MascotXMLHandler ()
 Destructor.
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, unsigned int)
 Parsing method for character data.

Private Attributes

ProteinIdentificationprotein_identification_
 the protein identifications
std::vector
< PeptideIdentification > & 
id_data_
 the identifications (storing the peptide hits)
ProteinHit actual_protein_hit_
PeptideHit actual_peptide_hit_
UInt peptide_identification_index_
String tag_
DateTime date_
String date_time_string_
UInt actual_query_
ProteinIdentification::SearchParameters search_parameters_
String identifier_

Constructor & Destructor Documentation

MascotXMLHandler ( ProteinIdentification protein_identification,
std::vector< PeptideIdentification > &  identifications,
const String filename 
)

Constructor.

virtual ~MascotXMLHandler (  )  [virtual]

Destructor.


Member Function Documentation

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

Parsing method for closing tags.

Reimplemented from XMLHandler.

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 XMLHandler.

virtual 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>& id_data_ [private]

the identifications (storing the peptide hits)

ProteinHit actual_protein_hit_ [private]

PeptideHit actual_peptide_hit_ [private]

UInt peptide_identification_index_ [private]

String tag_ [private]

DateTime date_ [private]

String date_time_string_ [private]

UInt actual_query_ [private]

ProteinIdentification::SearchParameters search_parameters_ [private]

String identifier_ [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