OpenMS  2.6.0
Public Member Functions | Private Attributes | List of all members
PepXMLFile::AminoAcidModification Struct Reference
Collaboration diagram for PepXMLFile::AminoAcidModification:
[legend]

Public Member Functions

 AminoAcidModification ()=delete
 
 AminoAcidModification (const String &aminoacid, const String &massdiff, const String &mass, String variable, const String &description, String terminus, const String &protein_terminus)
 
 AminoAcidModification (const AminoAcidModification &rhs)=default
 
virtual ~AminoAcidModification ()=default
 
AminoAcidModificationoperator= (const AminoAcidModification &rhs)=default
 
String toUnimodLikeString () const
 
const StringgetDescription () const
 
bool isVariable () const
 
const ResidueModificationgetRegisteredMod () const
 
double getMassDiff () const
 
double getMass () const
 
const StringgetTerminus () const
 
const StringgetAminoAcid () const
 
const std::vector< String > & getErrors () const
 

Private Attributes

String aminoacid_
 
double massdiff_
 
double mass_
 
bool is_variable_
 
String description_
 
String terminus_
 
bool is_protein_terminus_
 
ResidueModification::TermSpecificity term_spec_
 
std::vector< Stringerrors_
 
const ResidueModificationregistered_mod_
 

Constructor & Destructor Documentation

◆ AminoAcidModification() [1/3]

◆ AminoAcidModification() [2/3]

AminoAcidModification ( const String aminoacid,
const String massdiff,
const String mass,
String  variable,
const String description,
String  terminus,
const String protein_terminus 
)

Creates an AminoAcidModification object from the pepXML attributes in EITHER aminoacid_modification elements OR terminal_modification elements since we use them ambiguously

◆ AminoAcidModification() [3/3]

AminoAcidModification ( const AminoAcidModification rhs)
default

◆ ~AminoAcidModification()

virtual ~AminoAcidModification ( )
virtualdefault

Member Function Documentation

◆ getAminoAcid()

const String& getAminoAcid ( ) const

◆ getDescription()

const String& getDescription ( ) const

◆ getErrors()

const std::vector<String>& getErrors ( ) const

◆ getMass()

double getMass ( ) const

◆ getMassDiff()

double getMassDiff ( ) const

◆ getRegisteredMod()

const ResidueModification* getRegisteredMod ( ) const

◆ getTerminus()

const String& getTerminus ( ) const

◆ isVariable()

bool isVariable ( ) const

◆ operator=()

AminoAcidModification& operator= ( const AminoAcidModification rhs)
default

◆ toUnimodLikeString()

String toUnimodLikeString ( ) const

Member Data Documentation

◆ aminoacid_

String aminoacid_
private

◆ description_

String description_
private

◆ errors_

std::vector<String> errors_
private

◆ is_protein_terminus_

bool is_protein_terminus_
private

◆ is_variable_

bool is_variable_
private

◆ mass_

double mass_
private

◆ massdiff_

double massdiff_
private

◆ registered_mod_

const ResidueModification* registered_mod_
private

◆ term_spec_

◆ terminus_

String terminus_
private