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

FeaturePairsXMLFile Class Reference
[File IO]

#include <OpenMS/FORMAT/FeaturePairsXMLFile.h>

Inheritance diagram for FeaturePairsXMLFile:

XMLFile

List of all members.


Detailed Description

This class provides Input/Output functionality for the class DFeaturePairVector.

The features pairs are computed by an instance of DBaseFeatureMatcher during the matching of MS maps. The features pairs are stored in a pseudo XML format. No schema has been developed yet therefore no validation can be performed.

Public Member Functions

void load (String filename, std::vector< ElementPair< Feature > > &pairs) throw (Exception::FileNotFound, Exception::ParseError)
 loads the file with name filename into pairs.
void store (String filename, const std::vector< ElementPair< Feature > > &pairs) const throw (Exception::UnableToCreateFile)
 stores the pair vector pairs in file with name filename.
Constructors and Destructor


 FeaturePairsXMLFile ()
 Default constructor.
 ~FeaturePairsXMLFile ()
 Destructor.

Static Public Member Functions

static void pairsToFeatures (const std::vector< ElementPair< Feature > > &pairs, FeatureMap<> &map)
 Convert pair vector into feature map.


Constructor & Destructor Documentation

FeaturePairsXMLFile (  ) 

Default constructor.

~FeaturePairsXMLFile (  ) 

Destructor.


Member Function Documentation

void load ( String  filename,
std::vector< ElementPair< Feature > > &  pairs 
) throw (Exception::FileNotFound, Exception::ParseError)

loads the file with name filename into pairs.

void store ( String  filename,
const std::vector< ElementPair< Feature > > &  pairs 
) const throw (Exception::UnableToCreateFile)

stores the pair vector pairs in file with name filename.

static void pairsToFeatures ( const std::vector< ElementPair< Feature > > &  pairs,
FeatureMap<> &  map 
) [static]

Convert pair vector into feature map.


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