#include <OpenMS/FORMAT/HANDLERS/FeaturePairsHandler.h>
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, unsigned int length) |
Parsing method for character data. | |
void | writeTo (std::ostream &os) |
Print the contents to a stream. | |
Constructors and destructor | |
FeaturePairsHandler (std::vector< ElementPair< Feature > > &map, const String &filename, const String &version) | |
Constructor for reading. | |
FeaturePairsHandler (const std::vector< ElementPair< Feature > > &map, const String &filename, const String &version) | |
Constructor for writing. | |
virtual | ~FeaturePairsHandler () |
Destructor. | |
Protected Member Functions | |
void | writeFeature_ (std::ostream &os, Feature dfeat) |
Protected Attributes | |
std::vector< ElementPair < Feature > > * | pairs_ |
Vector of pairs to be read. | |
const std::vector< ElementPair < Feature > > * | cpairs_ |
Vector of pairs to be written. | |
UniqueIdGenerator | id_generator_ |
ID generator. | |
UInt | dim_ |
The current dimension for coordinates. | |
ElementPair< Feature > | pair_ |
Feature | feature_ |
ModelDescription< 2 > * | model_desc_ |
Param | param_ |
ConvexHull2D | current_chull_ |
Feature::PositionType | hull_position_ |
FeaturePairsHandler | ( | std::vector< ElementPair< Feature > > & | map, | |
const String & | filename, | |||
const String & | version | |||
) | [inline] |
Constructor for reading.
FeaturePairsHandler | ( | const std::vector< ElementPair< Feature > > & | map, | |
const String & | filename, | |||
const String & | version | |||
) | [inline] |
Constructor for writing.
virtual ~FeaturePairsHandler | ( | ) | [inline, virtual] |
Destructor.
virtual void endElement | ( | const XMLCh * | uri, | |
const XMLCh * | localname, | |||
const XMLCh *const | qname | |||
) | [virtual] |
virtual void startElement | ( | const XMLCh * | uri, | |
const XMLCh * | localname, | |||
const XMLCh *const | qname, | |||
const xercesc::Attributes & | attrs | |||
) | [virtual] |
virtual void characters | ( | const XMLCh *const | chars, | |
unsigned int | length | |||
) | [virtual] |
void writeTo | ( | std::ostream & | os | ) | [virtual] |
void writeFeature_ | ( | std::ostream & | os, | |
Feature | dfeat | |||
) | [protected] |
std::vector< ElementPair < Feature > >* pairs_ [protected] |
Vector of pairs to be read.
const std::vector< ElementPair < Feature > >* cpairs_ [protected] |
Vector of pairs to be written.
UniqueIdGenerator id_generator_ [protected] |
ID generator.
ElementPair< Feature > pair_ [protected] |
ModelDescription<2>* model_desc_ [protected] |
ConvexHull2D current_chull_ [protected] |
Feature::PositionType hull_position_ [protected] |
Generated Tue Apr 1 15:36:49 2008 -- using doxygen 1.5.4 | OpenMS / TOPP 1.1 |