39 #ifndef OBJECTS_OMSSA_MSMODSPECSET_HPP
40 #define OBJECTS_OMSSA_MSMODSPECSET_HPP
67 void CreateArrays(
void);
77 char GetModChar(
int Mod,
int Number)
const;
83 int GetModNumChars(
int Mod)
const;
89 int GetModMass(
int Mod)
const;
96 int GetNeutralLoss(
int Mod)
const;
102 const char * GetModName(
int Mod)
const;
108 const char * GetUnimodName(
int Mod)
const;
117 static const int kMaxNameSize = 128;
120 static const int kMaxAAs = 3;
Holds a set of modifications.
@MSModSpecSet.hpp User-defined methods of the data storage class.
CMSModSpecSet & operator=(const CMSModSpecSet &value)
int GetNeutralLoss(int Mod) const
get neutral loss
const char * GetModName(int Mod) const
get modification friendly name
const char * GetUnimodName(int Mod) const
get unimod name
char ModChar[eMSMod_max][kMaxAAs]
the AA's affected
int NeutralLoss[eMSMod_max]
the integer scaled mass of the neutral loss
int NumModChars[eMSMod_max]
the number of AA's affected
bool IsArrayed(void)
Have the arrays been intialized?
EMSModType ModTypes[eMSMod_max]
categorizes existing mods as the types EMSModType
int ModMass[eMSMod_max]
the integer scaled mass of the mod
int GetModNumChars(int Mod) const
get the number of modification AA's
char ModNames[eMSMod_max][kMaxNameSize]
friendly names
bool isArrayed
Have the arrays been intialized?
CMSModSpecSet(const CMSModSpecSet &value)
char GetModChar(int Mod, int Number) const
get modification AA's
EMSModType GetModType(int Mod) const
get modification type
int GetModMass(int Mod) const
get modification mass
CMSModSpecSet_Base Tparent
char UnimodNames[eMSMod_max][kMaxNameSize]
friendly names
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_OMSSA_EXPORT
EMSModType
enumerate modification types
@ eMSMod_max
maximum number of mods
const GenericPointer< typename T::ValueType > T2 value