Int list. More...
#include <OpenMS/DATASTRUCTURES/IntList.h>
Public Member Functions | |
| template<typename IntType > | |
| IntList & | operator<< (IntType value) |
| Operator for appending entries with less code. More... | |
| bool | contains (Int s) const |
| Returns if a string is contains in the list. More... | |
Constructors and assignment operators | |
| IntList () | |
| Default constructor. More... | |
| IntList (const IntList &rhs) | |
| Copy constructor. More... | |
| IntList (const std::vector< UInt > &rhs) | |
| Constructor from vector<UInt> More... | |
| IntList (const std::vector< Int > &rhs) | |
| Constructor from vector<Int> More... | |
| IntList & | operator= (const IntList &rhs) |
| Assignment operator. More... | |
| IntList & | operator= (const std::vector< Int > &rhs) |
| Assignment operator from vector<Int> More... | |
| IntList & | operator= (const std::vector< UInt > &rhs) |
| Assignment operator from vector<UInt> More... | |
Static Public Member Functions | |
| static IntList | create (const String &list) |
| Returns a list that is created by splitting the given comma-separated string (String are not trimmed!) More... | |
| static IntList | create (const StringList &list) |
| Returns a list that is created by converting every string element of the given StringList. More... | |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const IntList &p) |
| output stream operator More... | |
Additional Inherited Members | |
Public Attributes inherited from vector< T > | |
| T | elements |
| STL member. More... | |
Int list.
This class is based on std::vector<Int> but adds some methods for convenience.
| IntList | ( | ) |
Default constructor.
| bool contains | ( | Int | s | ) | const |
Returns if a string is contains in the list.
Referenced by IDMapper::annotate().
Returns a list that is created by splitting the given comma-separated string (String are not trimmed!)
Referenced by XMLHandler::attributeAsIntList_(), FeatureFinderAlgorithmSH< PeakType, FeatureType >::FeatureFinderAlgorithmSH(), and OfflinePrecursorIonSelection::makePrecursorSelectionForKnownLCMSMap().
|
static |
Returns a list that is created by converting every string element of the given StringList.
|
inline |
Operator for appending entries with less code.
|
friend |
output stream operator
| OpenMS / TOPP release 1.11.1 | Documentation generated on Thu Nov 14 2013 11:19:29 using doxygen 1.8.5 |