|
OpenMS
2.6.0
|
Go to the documentation of this file.
152 vector_(rhs.vector_),
153 position_(rhs.position_)
159 vector_(rhs.vector_),
160 position_(rhs.position_)
188 return *(*vector_)[position_];
194 return (*vector_)[position_];
285 vector_(rhs.vector_),
286 position_(rhs.position_)
314 return *(*vector_)[position_];
320 return (*vector_)[position_];
326 return (*vector_)[position_];
332 return Iterator(vector_, position_ + diff);
343 return Iterator(vector_, position_ - diff);
427 String toUnmodifiedString() const;
437 String toUniModString() const;
457 String toBracketString(
bool integer_mass = true,
458 bool mass_delta = false,
459 const std::vector<
String> & fixed_modifications = std::vector<
String>()) const;
470 void setNTerminalModification(
const String& modification);
476 const String& getNTerminalModificationName()
const;
483 void setCTerminalModification(
const String& modification);
489 const String& getCTerminalModificationName()
const;
544 bool has(
const Residue& residue)
const;
549 bool hasSubsequence(
const AASequence& peptide)
const;
553 bool hasPrefix(
const AASequence& peptide)
const;
557 bool hasSuffix(
const AASequence& peptide)
const;
560 bool hasNTerminalModification()
const;
563 bool hasCTerminalModification()
const;
566 bool isModified()
const;
609 bool permissive =
true);
620 bool permissive =
true);
668 bool permissive =
true);
Iterator & operator=(const Iterator &rhs)
assignment operator
Definition: AASequence.h:298
ConstIterator for AASequence.
Definition: AASequence.h:121
std::vector< const Residue * > peptide_
Definition: AASequence.h:624
std::vector< const Residue * >::difference_type difference_type
Definition: AASequence.h:130
Representation of a modification.
Definition: ResidueModification.h:76
DPosition< D, TCoordinateType > operator*(DPosition< D, TCoordinateType > position, typename DPosition< D, TCoordinateType >::CoordinateType scalar)
Scalar multiplication (a bit inefficient)
Definition: DPosition.h:427
Iterator end()
Definition: AASequence.h:585
const ResidueModification * c_term_mod_
Definition: AASequence.h:628
A more convenient string class.
Definition: String.h:59
bool operator!=(_Iterator< _Val, _Ref, _Ptr > const &, _Iterator< _Val, _Ref, _Ptr > const &)
Definition: KDTree.h:824
difference_type position_
Definition: AASequence.h:380
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
std::vector< const Residue * > * vector_
Definition: AASequence.h:377
with N-terminus and C-terminus
Definition: Residue.h:153
ConstIterator & operator=(const ConstIterator &rhs)
assignment operator
Definition: AASequence.h:172
const typedef Residue & const_reference
Definition: AASequence.h:127
bool operator<(const QTCluster &q1, const QTCluster &q2)
const ConstIterator operator+(difference_type diff) const
forward jump operator
Definition: AASequence.h:198
const_pointer operator->() const
dereference operator
Definition: AASequence.h:192
Iterator class for AASequence.
Definition: AASequence.h:256
const typedef Residue * pointer
Definition: AASequence.h:132
difference_type operator-(Iterator rhs) const
Definition: AASequence.h:335
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
const_pointer operator->() const
dereference operator
Definition: AASequence.h:318
ConstIterator & operator--()
decrement operator
Definition: AASequence.h:234
Representation of a residue.
Definition: Residue.h:62
TermSpecificity
Position where the modification is allowed to occur.
Definition: ResidueModification.h:95
bool operator==(const ConstIterator &rhs) const
equality comparator
Definition: AASequence.h:215
ConstIterator & operator++()
increment operator
Definition: AASequence.h:227
pointer operator->()
mutable dereference operator
Definition: AASequence.h:324
const typedef Residue * const_pointer
Definition: AASequence.h:129
ConstIterator(const AASequence::Iterator &rhs)
copy constructor from Iterator
Definition: AASequence.h:158
Iterator(const Iterator &rhs)
copy constructor
Definition: AASequence.h:284
ConstIterator(const std::vector< const Residue * > *vec_ptr, difference_type position)
detailed constructor with pointer to the vector and offset position
Definition: AASequence.h:144
bool operator!=(const Iterator &rhs) const
inequality operator
Definition: AASequence.h:353
Residue & reference
Definition: AASequence.h:263
Iterator & operator++()
increment operator
Definition: AASequence.h:359
const ConstIterator operator-(difference_type diff) const
backward jump operator
Definition: AASequence.h:209
ConstIterator begin() const
Definition: AASequence.h:583
const typedef Residue & const_reference
Definition: AASequence.h:262
ResidueType
Definition: Residue.h:151
difference_type operator-(ConstIterator rhs) const
Definition: AASequence.h:203
std::ostream & operator<<(std::ostream &os, const AccurateMassSearchResult &amsr)
void setModification(int location, int max_size, String modification, OpenMS::AASequence &aas)
helper function that sets a modification on a AASequence object
unsigned int UInt
Unsigned integer type.
Definition: Types.h:94
const std::vector< const Residue * > * vector_
Definition: AASequence.h:245
std::random_access_iterator_tag iterator_category
Definition: AASequence.h:133
ConstIterator(const ConstIterator &rhs)
copy constructor
Definition: AASequence.h:151
std::vector< const Residue * >::difference_type difference_type
Definition: AASequence.h:266
String toString(const T &i)
fallback template for general purpose using Boost::Karma; more specializations below
Definition: StringUtils.h:127
virtual ~ConstIterator()
destructor
Definition: AASequence.h:165
bool operator==(const IDBoostGraph::ProteinGroup &lhs, const IDBoostGraph::ProteinGroup &rhs)
bool operator==(const Iterator &rhs) const
equality comparator
Definition: AASequence.h:347
Residue & reference
Definition: AASequence.h:128
const typedef Residue * const_pointer
Definition: AASequence.h:264
ConstIterator end() const
Definition: AASequence.h:587
bool operator!=(const ConstIterator &rhs) const
inequality operator
Definition: AASequence.h:221
Iterator(std::vector< const Residue * > *vec_ptr, difference_type position)
detailed constructor with pointer to the vector and offset position
Definition: AASequence.h:277
Iterator & operator--()
decrement operator
Definition: AASequence.h:366
Iterator begin()
Definition: AASequence.h:581
const Iterator operator+(difference_type diff) const
forward jump operator
Definition: AASequence.h:330
Representation of a peptide/protein sequence.
Definition: AASequence.h:111
Map class based on the STL map (containing several convenience functions)
Definition: Map.h:50
std::istream & operator>>(std::istream &os, const AASequence &peptide)
Residue value_type
Definition: AASequence.h:131
Size< TNeedle >::Type position(const PatternAuxData< TNeedle > &dh)
Definition: AhoCorasickAmbiguous.h:561
const_iterator ConstIterator
Const Iterator.
Definition: String.h:73
const typedef Residue * pointer
Definition: AASequence.h:265
const Iterator operator-(difference_type diff) const
backward jump operator
Definition: AASequence.h:341
difference_type position_
Definition: AASequence.h:248
virtual ~Iterator()
destructor
Definition: AASequence.h:291
const ResidueModification * n_term_mod_
Definition: AASequence.h:626