41 #ifndef OBJECTS_OMSSA_MSMZHIT_BASE_HPP
42 #define OBJECTS_OMSSA_MSMZHIT_BASE_HPP
52 #ifndef BEGIN_objects_SCOPE
53 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
54 # define END_objects_SCOPE END_SCOPE(objects)
123 bool IsSetIon(
void)
const;
130 bool CanGetIon(
void)
const;
139 TIon GetIon(
void)
const;
161 bool IsSetCharge(
void)
const;
168 bool CanGetCharge(
void)
const;
171 void ResetCharge(
void);
199 bool IsSetNumber(
void)
const;
206 bool CanGetNumber(
void)
const;
209 void ResetNumber(
void);
237 bool IsSetMz(
void)
const;
244 bool CanGetMz(
void)
const;
253 TMz GetMz(
void)
const;
275 bool IsSetIndex(
void)
const;
282 bool CanGetIndex(
void)
const;
285 void ResetIndex(
void);
291 TIndex GetIndex(
void)
const;
313 bool IsSetMoreion(
void)
const;
320 bool CanGetMoreion(
void)
const;
323 void ResetMoreion(
void);
329 const TMoreion& GetMoreion(
void)
const;
351 bool IsSetAnnotation(
void)
const;
358 bool CanGetAnnotation(
void)
const;
361 void ResetAnnotation(
void);
382 virtual void Reset(
void);
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
void ResetNumber(void)
Reset Number data member.
bool IsSetIndex(void) const
the index of the peak in the original spectrum Check if a value has been assigned to Index data membe...
TIndex & SetIndex(void)
Assign a value to Index data member.
bool CanGetCharge(void) const
Check if it is safe to call GetCharge method.
TIon GetIon(void) const
Get the Ion member data.
bool IsSetNumber(void) const
the sequential number of the ion Check if a value has been assigned to Number data member.
bool IsSetCharge(void) const
ion charge Check if a value has been assigned to Charge data member.
bool IsSetMoreion(void) const
more information about the ion type Check if a value has been assigned to Moreion data member.
TCharge GetCharge(void) const
Get the Charge member data.
CMSMZHit_Base & operator=(const CMSMZHit_Base &)
bool CanGetNumber(void) const
Check if it is safe to call GetNumber method.
bool IsSetIon(void) const
ion type, e.g.
bool IsSetMz(void) const
scaled m/z value in Da Check if a value has been assigned to Mz data member.
CRef< TMoreion > m_Moreion
bool IsSetAnnotation(void) const
annotations on the ion Check if a value has been assigned to Annotation data member.
TNumber & SetNumber(void)
Assign a value to Number data member.
void ResetIndex(void)
Reset Index data member.
const TMoreion & GetMoreion(void) const
Get the Moreion member data.
bool CanGetMoreion(void) const
Check if it is safe to call GetMoreion method.
TMz & SetMz(void)
Assign a value to Mz data member.
Tparent::CMemberIndex< E_memberIndex, 8 > TmemberIndex
void ResetMz(void)
Reset Mz data member.
CRef< TAnnotation > m_Annotation
TIndex GetIndex(void) const
Get the Index member data.
void ResetIon(void)
Reset Ion data member.
void ResetCharge(void)
Reset Charge data member.
CMSMZHit_Base(const CMSMZHit_Base &)
TMz GetMz(void) const
Get the Mz member data.
TIon & SetIon(void)
Assign a value to Ion data member.
const TAnnotation & GetAnnotation(void) const
Get the Annotation member data.
bool CanGetAnnotation(void) const
Check if it is safe to call GetAnnotation method.
TCharge & SetCharge(void)
Assign a value to Charge data member.
TNumber GetNumber(void) const
Get the Number member data.
bool CanGetIon(void) const
Check if it is safe to call GetIon method.
DECLARE_INTERNAL_TYPE_INFO()
bool CanGetMz(void) const
Check if it is safe to call GetMz method.
bool CanGetIndex(void) const
Check if it is safe to call GetIndex method.
unsigned int
A callback function used to compare two keys in a database.
const GenericPointer< typename T::ValueType > T2 value