41 #ifndef OBJECTS_OMSSA_MSMODHIT_BASE_HPP
42 #define OBJECTS_OMSSA_MSMODHIT_BASE_HPP
52 #ifndef BEGIN_objects_SCOPE
53 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
54 # define END_objects_SCOPE END_SCOPE(objects)
108 bool IsSetSite(
void)
const;
115 bool CanGetSite(
void)
const;
118 void ResetSite(
void);
124 TSite GetSite(
void)
const;
136 TSite& SetSite(
void);
146 bool IsSetModtype(
void)
const;
153 bool CanGetModtype(
void)
const;
156 void ResetModtype(
void);
177 virtual void Reset(
void);
modifications to a hit peptide
Base class for all serializable objects.
static char UnassignedByte(void)
void ThrowUnassigned(TMemberIndex index) const
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
CMSModHit_Base(const CMSModHit_Base &)
void ResetSite(void)
Reset Site data member.
TModtype GetModtype(void) const
Get the Modtype member data.
TSite & SetSite(void)
Assign a value to Site data member.
void ResetModtype(void)
Reset Modtype data member.
DECLARE_INTERNAL_TYPE_INFO()
bool CanGetSite(void) const
Check if it is safe to call GetSite method.
TSite GetSite(void) const
Get the Site member data.
CMSModHit_Base & operator=(const CMSModHit_Base &)
bool IsSetModtype(void) const
the type of modification Check if a value has been assigned to Modtype data member.
TModtype & SetModtype(void)
Assign a value to Modtype data member.
bool CanGetModtype(void) const
Check if it is safe to call GetModtype method.
Tparent::CMemberIndex< E_memberIndex, 3 > TmemberIndex
bool IsSetSite(void) const
the position in the peptide Check if a value has been assigned to Site data member.
unsigned int
A callback function used to compare two keys in a database.