41 #ifndef OBJECTS_OMSSA_MSHITSET_BASE_HPP
42 #define OBJECTS_OMSSA_MSHITSET_BASE_HPP
56 #ifndef BEGIN_objects_SCOPE
57 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
58 # define END_objects_SCOPE END_SCOPE(objects)
97 typedef vector< CRef< CMSHits > >
THits;
98 typedef list< string >
TIds;
127 bool IsSetNumber(
void)
const;
134 bool CanGetNumber(
void)
const;
137 void ResetNumber(
void);
165 bool IsSetError(
void)
const;
172 bool CanGetError(
void)
const;
175 void ResetError(
void);
181 TError GetError(
void)
const;
203 bool IsSetHits(
void)
const;
210 bool CanGetHits(
void)
const;
213 void ResetHits(
void);
219 const THits& GetHits(
void)
const;
225 THits& SetHits(
void);
235 bool IsSetIds(
void)
const;
242 bool CanGetIds(
void)
const;
267 bool IsSetNamevalue(
void)
const;
274 bool CanGetNamevalue(
void)
const;
277 void ResetNamevalue(
void);
299 bool IsSetSettingid(
void)
const;
306 bool CanGetSettingid(
void)
const;
309 void ResetSettingid(
void);
337 bool IsSetUserannotation(
void)
const;
344 bool CanGetUserannotation(
void)
const;
347 void ResetUserannotation(
void);
368 virtual void Reset(
void);
User-defined methods of the data storage class.
User-defined methods of the data storage class.
contains a set of hits to a single spectrum
@MSHits.hpp User-defined methods of the data storage class.
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
TError & SetError(void)
Assign a value to Error data member.
bool IsSetNumber(void) const
unique number of spectrum Check if a value has been assigned to Number data member.
CMSHitSet_Base & operator=(const CMSHitSet_Base &)
void ResetNumber(void)
Reset Number data member.
void ResetError(void)
Reset Error data member.
vector< CRef< CMSHits > > THits
const TNamevalue & GetNamevalue(void) const
Get the Namevalue member data.
list< CRef< CNameValue > > TNamevalue
bool CanGetIds(void) const
Check if it is safe to call GetIds method.
bool IsSetUserannotation(void) const
allows users to flag certain Check if a value has been assigned to Userannotation data member.
TNumber GetNumber(void) const
Get the Number member data.
bool IsSetSettingid(void) const
id of the search setting used Check if a value has been assigned to Settingid data member.
TSettingid GetSettingid(void) const
Get the Settingid member data.
TSettingid & SetSettingid(void)
Assign a value to Settingid data member.
TNamevalue & SetNamevalue(void)
Assign a value to Namevalue data member.
bool CanGetUserannotation(void) const
Check if it is safe to call GetUserannotation method.
bool CanGetError(void) const
Check if it is safe to call GetError method.
Tparent::CMemberIndex< E_memberIndex, 8 > TmemberIndex
void ResetUserannotation(void)
Reset Userannotation data member.
TUserannotation GetUserannotation(void) const
Get the Userannotation member data.
vector< CRef< CMSHits > > m_Hits
DECLARE_INTERNAL_TYPE_INFO()
TIds & SetIds(void)
Assign a value to Ids data member.
bool CanGetNamevalue(void) const
Check if it is safe to call GetNamevalue method.
bool IsSetNamevalue(void) const
extra info: retention times, etc.
void ResetSettingid(void)
Reset Settingid data member.
bool CanGetNumber(void) const
Check if it is safe to call GetNumber method.
THits & SetHits(void)
Assign a value to Hits data member.
bool IsSetError(void) const
error, if any Check if a value has been assigned to Error data member.
bool IsSetHits(void) const
set of hit to spectrum Check if a value has been assigned to Hits data member.
bool IsSetIds(void) const
filenames or other ids of spectra searched Check if a value has been assigned to Ids data member.
bool CanGetHits(void) const
Check if it is safe to call GetHits method.
bool CanGetSettingid(void) const
Check if it is safe to call GetSettingid method.
TNumber & SetNumber(void)
Assign a value to Number data member.
TUserannotation & SetUserannotation(void)
Assign a value to Userannotation data member.
CMSHitSet_Base(const CMSHitSet_Base &)
const TIds & GetIds(void) const
Get the Ids member data.
TError GetError(void) const
Get the Error member data.
const THits & GetHits(void) const
Get the Hits member data.
list< CRef< CNameValue > > m_Namevalue
unsigned int
A callback function used to compare two keys in a database.
static bool GetIds(const T &d, set< string > &labels, const string name="", bool detect=false, bool found=false)