Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Public Member Functions | Private Attributes

GridFeature Class Reference

Representation of a feature in a hash grid. More...

#include <OpenMS/DATASTRUCTURES/GridFeature.h>

List of all members.

Public Member Functions

 GridFeature (const BaseFeature &feature, Size map_index, Size feature_index)
 Detailed constructor.
const BaseFeaturegetFeature () const
 Returns the feature.
virtual ~GridFeature ()
 Destructor.
Size getMapIndex () const
 Returns the map index.
Size getFeatureIndex () const
 Returns the feature index.
Int getID () const
 Returns the ID of the GridFeature (same as the feature index).
const std::set< AASequence > & getAnnotations () const
 Returns the set of peptide sequences annotated to the cluster center.
DoubleReal getRT () const
 Returns the feature RT.
DoubleReal getMZ () const
 Returns the feature m/z.

Private Attributes

const BaseFeaturefeature_
 Reference to the contained feature.
Size map_index_
 Index of the feature map or consensus map.
Size feature_index_
 Index of the feature in the map.
std::set< AASequenceannotations_
 Set of peptide sequences annotated to the feature.

Detailed Description

Representation of a feature in a hash grid.

A GridFeature can be stored in a HashGrid and points to a BaseFeature (Feature or ConsensusFeature). Used for QT feature grouping (see QTClusterFinder).


Constructor & Destructor Documentation

GridFeature ( const BaseFeature feature,
Size  map_index,
Size  feature_index 
)

Detailed constructor.

Parameters:
feature Reference to the contained feature
map_index Index of the feature map or consensus map
feature_index Index of the feature in the map
virtual ~GridFeature (  )  [virtual]

Destructor.


Member Function Documentation

const std::set<AASequence>& getAnnotations (  )  const

Returns the set of peptide sequences annotated to the cluster center.

const BaseFeature& getFeature (  )  const

Returns the feature.

Size getFeatureIndex (  )  const

Returns the feature index.

Int getID (  )  const

Returns the ID of the GridFeature (same as the feature index).

Size getMapIndex (  )  const

Returns the map index.

DoubleReal getMZ (  )  const

Returns the feature m/z.

DoubleReal getRT (  )  const

Returns the feature RT.


Member Data Documentation

std::set<AASequence> annotations_ [private]

Set of peptide sequences annotated to the feature.

const BaseFeature& feature_ [private]

Reference to the contained feature.

Size feature_index_ [private]

Index of the feature in the map.

Size map_index_ [private]

Index of the feature map or consensus map.


OpenMS / TOPP release 1.10.0 Documentation generated on Thu Mar 7 2013 09:42:52 using doxygen 1.7.1