#include <OpenMS/FORMAT/FeaturePairsXMLFile.h>
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. |
Default constructor.
~FeaturePairsXMLFile | ( | ) |
Destructor.
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.
Generated Tue Apr 1 15:36:44 2008 -- using doxygen 1.5.4 | OpenMS / TOPP 1.1 |