41 #ifndef OBJECTS_OMSSA_MSHITS_BASE_HPP
42 #define OBJECTS_OMSSA_MSHITS_BASE_HPP
53 #ifndef BEGIN_objects_SCOPE
54 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
55 # define END_objects_SCOPE END_SCOPE(objects)
101 typedef list< CRef< CMSModHit > >
TMods;
142 bool IsSetEvalue(
void)
const;
149 bool CanGetEvalue(
void)
const;
152 void ResetEvalue(
void);
180 bool IsSetPvalue(
void)
const;
187 bool CanGetPvalue(
void)
const;
190 void ResetPvalue(
void);
218 bool IsSetCharge(
void)
const;
225 bool CanGetCharge(
void)
const;
228 void ResetCharge(
void);
256 bool IsSetPephits(
void)
const;
263 bool CanGetPephits(
void)
const;
266 void ResetPephits(
void);
272 const TPephits& GetPephits(
void)
const;
288 bool IsSetMzhits(
void)
const;
295 bool CanGetMzhits(
void)
const;
298 void ResetMzhits(
void);
304 const TMzhits& GetMzhits(
void)
const;
320 bool IsSetPepstring(
void)
const;
327 bool CanGetPepstring(
void)
const;
330 void ResetPepstring(
void);
359 bool IsSetMass(
void)
const;
366 bool CanGetMass(
void)
const;
369 void ResetMass(
void);
375 TMass GetMass(
void)
const;
387 TMass& SetMass(
void);
397 bool IsSetMods(
void)
const;
404 bool CanGetMods(
void)
const;
407 void ResetMods(
void);
413 const TMods& GetMods(
void)
const;
419 TMods& SetMods(
void);
429 bool IsSetPepstart(
void)
const;
436 bool CanGetPepstart(
void)
const;
439 void ResetPepstart(
void);
445 const TPepstart& GetPepstart(
void)
const;
468 bool IsSetPepstop(
void)
const;
475 bool CanGetPepstop(
void)
const;
478 void ResetPepstop(
void);
484 const TPepstop& GetPepstop(
void)
const;
507 bool IsSetProtlength(
void)
const;
514 bool CanGetProtlength(
void)
const;
517 void ResetProtlength(
void);
545 bool IsSetTheomass(
void)
const;
552 bool CanGetTheomass(
void)
const;
555 void ResetTheomass(
void);
583 bool IsSetOid(
void)
const;
590 bool CanGetOid(
void)
const;
599 TOid GetOid(
void)
const;
621 bool IsSetScores(
void)
const;
628 bool CanGetScores(
void)
const;
631 void ResetScores(
void);
637 const TScores& GetScores(
void)
const;
653 bool IsSetLibaccession(
void)
const;
660 bool CanGetLibaccession(
void)
const;
663 void ResetLibaccession(
void);
685 virtual void Reset(
void);
void SetScores(objects::CSeq_align &seq_align, objects::CScope &scope, const string &matrix_name="BLOSUM62")
Base class for all serializable objects.
static char UnassignedByte(void)
void ThrowUnassigned(TMemberIndex index) const
static string UnassignedString(void)
uint32_t Uint4
4-byte (32-bit) unsigned integer
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_OMSSA_EXPORT
list< CRef< CMSScoreSet > > TScores
list< CRef< CMSMZHit > > TMzhits
bool CanGetTheomass(void) const
Check if it is safe to call GetTheomass method.
bool IsSetPephits(void) const
peptides that match this hit Check if a value has been assigned to Pephits data member.
bool IsSetTheomass(void) const
scaled theoretical mass of peptide hit Check if a value has been assigned to Theomass data member.
TPvalue GetPvalue(void) const
Get the Pvalue member data.
bool IsSetCharge(void) const
the charge state used in search.
TProtlength & SetProtlength(void)
Assign a value to Protlength data member.
TMods & SetMods(void)
Assign a value to Mods data member.
void ResetTheomass(void)
Reset Theomass data member.
TScores & SetScores(void)
Assign a value to Scores data member.
TLibaccession & SetLibaccession(void)
Assign a value to Libaccession data member.
bool IsSetProtlength(void) const
length of protein hit (depricated) Check if a value has been assigned to Protlength data member.
TPepstring & SetPepstring(void)
Assign a value to Pepstring data member.
list< CRef< CMSModHit > > m_Mods
const TScores & GetScores(void) const
Get the Scores member data.
const TPephits & GetPephits(void) const
Get the Pephits member data.
void ResetEvalue(void)
Reset Evalue data member.
bool CanGetMods(void) const
Check if it is safe to call GetMods method.
Tparent::CMemberIndex< E_memberIndex, 16 > TmemberIndex
TCharge GetCharge(void) const
Get the Charge member data.
CMSHits_Base(const CMSHits_Base &)
TMass & SetMass(void)
Assign a value to Mass data member.
list< CRef< CMSPepHit > > m_Pephits
bool IsSetLibaccession(void) const
library search accesssion Check if a value has been assigned to Libaccession data member.
list< CRef< CMSModHit > > TMods
CMSHits_Base & operator=(const CMSHits_Base &)
bool CanGetPepstring(void) const
Check if it is safe to call GetPepstring method.
bool IsSetMods(void) const
modifications to sequence Check if a value has been assigned to Mods data member.
bool CanGetCharge(void) const
Check if it is safe to call GetCharge method.
list< CRef< CMSMZHit > > m_Mzhits
TOid GetOid(void) const
Get the Oid member data.
TPvalue & SetPvalue(void)
Assign a value to Pvalue data member.
bool CanGetPepstart(void) const
Check if it is safe to call GetPepstart method.
TProtlength GetProtlength(void) const
Get the Protlength member data.
const TPepstart & GetPepstart(void) const
Get the Pepstart member data.
DECLARE_INTERNAL_TYPE_INFO()
TMass GetMass(void) const
Get the Mass member data.
bool CanGetPepstop(void) const
Check if it is safe to call GetPepstop method.
bool IsSetMass(void) const
scaled experimental mass of peptide in Da Check if a value has been assigned to Mass data member.
bool IsSetScores(void) const
optional scores (for library search) Check if a value has been assigned to Scores data member.
const TMzhits & GetMzhits(void) const
Get the Mzhits member data.
const TPepstring & GetPepstring(void) const
Get the Pepstring member data.
TPepstop & SetPepstop(void)
Assign a value to Pepstop data member.
list< CRef< CMSScoreSet > > m_Scores
TMzhits & SetMzhits(void)
Assign a value to Mzhits data member.
const TLibaccession & GetLibaccession(void) const
Get the Libaccession member data.
const TMods & GetMods(void) const
Get the Mods member data.
TCharge & SetCharge(void)
Assign a value to Charge data member.
TEvalue GetEvalue(void) const
Get the Evalue member data.
void ResetCharge(void)
Reset Charge data member.
bool CanGetProtlength(void) const
Check if it is safe to call GetProtlength method.
void ResetOid(void)
Reset Oid data member.
bool CanGetEvalue(void) const
Check if it is safe to call GetEvalue method.
bool CanGetPephits(void) const
Check if it is safe to call GetPephits method.
bool CanGetPvalue(void) const
Check if it is safe to call GetPvalue method.
bool IsSetMzhits(void) const
ions hit Check if a value has been assigned to Mzhits data member.
bool CanGetMzhits(void) const
Check if it is safe to call GetMzhits method.
bool CanGetMass(void) const
Check if it is safe to call GetMass method.
void ResetProtlength(void)
Reset Protlength data member.
void ResetMass(void)
Reset Mass data member.
bool IsSetEvalue(void) const
E-value (expect value) Check if a value has been assigned to Evalue data member.
bool CanGetScores(void) const
Check if it is safe to call GetScores method.
bool IsSetOid(void) const
blast library oid (depricated) Check if a value has been assigned to Oid data member.
bool CanGetOid(void) const
Check if it is safe to call GetOid method.
bool IsSetPvalue(void) const
P-value (probability value) Check if a value has been assigned to Pvalue data member.
TTheomass GetTheomass(void) const
Get the Theomass member data.
void ResetPvalue(void)
Reset Pvalue data member.
const TPepstop & GetPepstop(void) const
Get the Pepstop member data.
bool CanGetLibaccession(void) const
Check if it is safe to call GetLibaccession method.
TEvalue & SetEvalue(void)
Assign a value to Evalue data member.
TOid & SetOid(void)
Assign a value to Oid data member.
bool IsSetPepstart(void) const
AA before the peptide (depricated) Check if a value has been assigned to Pepstart data member.
list< CRef< CMSPepHit > > TPephits
TTheomass & SetTheomass(void)
Assign a value to Theomass data member.
bool IsSetPepstop(void) const
AA after the peptide (depricated) Check if a value has been assigned to Pepstop data member.
TPepstart & SetPepstart(void)
Assign a value to Pepstart data member.
bool IsSetPepstring(void) const
the peptide sequence Check if a value has been assigned to Pepstring data member.
TPephits & SetPephits(void)
Assign a value to Pephits data member.