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

Group Class Template Reference

#include <OpenMS/ANALYSIS/MAPMATCHING/Group.h>

Inheritance diagram for Group:

List of all members.


Detailed Description

template<typename ContainerType>
class OpenMS::Group< ContainerType >

A group of IndexTuple.

This class stores a set of IndexTuple.

Public Types

typedef std::set< IndexTuple
< ContainerType >, typename
IndexTuple< ContainerType >
::IndexLess > 
Base
typedef IndexTuple< ContainerType > Element
STL-compliance type definitions of the container interface


typedef Base::iterator iterator
typedef Base::const_iterator const_iterator
typedef Base::reverse_iterator reverse_iterator
typedef
Base::const_reverse_iterator 
const_reverse_iterator
typedef Base::value_type value_type
typedef Base::reference reference
typedef Base::const_reference const_reference
typedef Base::pointer pointer
typedef Base::difference_type difference_type
typedef Base::size_type size_type

Public Member Functions

 Group ()
 Default constructor.
 Group (const Group &source)
 Copy constructor.
Groupoperator= (const Group &source)
 Assignment operator.
virtual ~Group ()
 Destructor.
unsigned int count () const
 Returns the number of elements.
bool isEmpty ()
 Returns wheter the group is empty.
std::pair< typename
Base::iterator, bool > 
insert (const Element &elem) throw (Exception::InvalidValue)
 Inserts an element into the group.
virtual bool operator== (const Group &group) const
 Equality operator.
virtual bool operator!= (const Group &group) const
 Equality operator.


Member Typedef Documentation

typedef std::set< IndexTuple< ContainerType >, typename IndexTuple< ContainerType >::IndexLess > Base

typedef Base::iterator iterator

typedef Base::const_iterator const_iterator

typedef Base::reverse_iterator reverse_iterator

typedef Base::const_reverse_iterator const_reverse_iterator

typedef Base::value_type value_type

typedef Base::reference reference

typedef Base::const_reference const_reference

typedef Base::pointer pointer

typedef Base::difference_type difference_type

typedef Base::size_type size_type

typedef IndexTuple< ContainerType > Element


Constructor & Destructor Documentation

Group (  )  [inline]

Default constructor.

Group ( const Group< ContainerType > &  source  )  [inline]

Copy constructor.

virtual ~Group (  )  [inline, virtual]

Destructor.


Member Function Documentation

Group& operator= ( const Group< ContainerType > &  source  )  [inline]

Assignment operator.

unsigned int count (  )  const [inline]

Returns the number of elements.

bool isEmpty (  )  [inline]

Returns wheter the group is empty.

std::pair< typename Base::iterator, bool > insert ( const Element elem  )  throw (Exception::InvalidValue) [inline]

Inserts an element into the group.

virtual bool operator== ( const Group< ContainerType > &  group  )  const [inline, virtual]

Equality operator.

virtual bool operator!= ( const Group< ContainerType > &  group  )  const [inline, virtual]

Equality operator.


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