41 #ifndef ALGO_MS_FORMATS_PEPXML_XPRESSRATIO_RESULT_BASE_HPP
42 #define ALGO_MS_FORMATS_PEPXML_XPRESSRATIO_RESULT_BASE_HPP
52 #ifndef BEGIN_objects_SCOPE
53 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
54 # define END_objects_SCOPE END_SCOPE(objects)
144 bool IsSetLight_firstscan(
void)
const;
151 bool CanGetLight_firstscan(
void)
const;
154 void ResetLight_firstscan(
void);
181 bool IsSetLight_lastscan(
void)
const;
188 bool CanGetLight_lastscan(
void)
const;
191 void ResetLight_lastscan(
void);
218 bool IsSetLight_mass(
void)
const;
225 bool CanGetLight_mass(
void)
const;
228 void ResetLight_mass(
void);
255 bool IsSetHeavy_firstscan(
void)
const;
262 bool CanGetHeavy_firstscan(
void)
const;
265 void ResetHeavy_firstscan(
void);
292 bool IsSetHeavy_lastscan(
void)
const;
299 bool CanGetHeavy_lastscan(
void)
const;
302 void ResetHeavy_lastscan(
void);
329 bool IsSetHeavy_mass(
void)
const;
336 bool CanGetHeavy_mass(
void)
const;
339 void ResetHeavy_mass(
void);
366 bool IsSetMass_tol(
void)
const;
373 bool CanGetMass_tol(
void)
const;
376 void ResetMass_tol(
void);
403 bool IsSetRatio(
void)
const;
410 bool CanGetRatio(
void)
const;
413 void ResetRatio(
void);
419 const TRatio& GetRatio(
void)
const;
441 bool IsSetHeavy2light_ratio(
void)
const;
448 bool CanGetHeavy2light_ratio(
void)
const;
451 void ResetHeavy2light_ratio(
void);
479 bool IsSetLight_area(
void)
const;
486 bool CanGetLight_area(
void)
const;
489 void ResetLight_area(
void);
516 bool IsSetHeavy_area(
void)
const;
523 bool CanGetHeavy_area(
void)
const;
526 void ResetHeavy_area(
void);
553 bool IsSetDecimal_ratio(
void)
const;
560 bool CanGetDecimal_ratio(
void)
const;
563 void ResetDecimal_ratio(
void);
628 bool IsSetAttlist(
void)
const;
635 bool CanGetAttlist(
void)
const;
638 void ResetAttlist(
void);
644 const TAttlist& GetAttlist(
void)
const;
664 bool IsSetXpressratio_result(
void)
const;
670 bool CanGetXpressratio_result(
void)
const;
673 void ResetXpressratio_result(
void);
676 void SetXpressratio_result(
void);
679 virtual void Reset(
void);
710 return IsSetLight_firstscan();
716 m_Light_firstscan = 0;
723 if (!CanGetLight_firstscan()) {
726 return m_Light_firstscan;
732 m_Light_firstscan =
value;
740 if (!IsSetLight_firstscan()) {
741 memset(&m_Light_firstscan,
UnassignedByte(),
sizeof(m_Light_firstscan));
745 return m_Light_firstscan;
757 return IsSetLight_lastscan();
763 m_Light_lastscan = 0;
770 if (!CanGetLight_lastscan()) {
773 return m_Light_lastscan;
779 m_Light_lastscan =
value;
787 if (!IsSetLight_lastscan()) {
788 memset(&m_Light_lastscan,
UnassignedByte(),
sizeof(m_Light_lastscan));
792 return m_Light_lastscan;
804 return IsSetLight_mass();
817 if (!CanGetLight_mass()) {
826 m_Light_mass =
value;
834 if (!IsSetLight_mass()) {
851 return IsSetHeavy_firstscan();
857 m_Heavy_firstscan = 0;
864 if (!CanGetHeavy_firstscan()) {
867 return m_Heavy_firstscan;
873 m_Heavy_firstscan =
value;
881 if (!IsSetHeavy_firstscan()) {
882 memset(&m_Heavy_firstscan,
UnassignedByte(),
sizeof(m_Heavy_firstscan));
886 return m_Heavy_firstscan;
898 return IsSetHeavy_lastscan();
904 m_Heavy_lastscan = 0;
911 if (!CanGetHeavy_lastscan()) {
914 return m_Heavy_lastscan;
920 m_Heavy_lastscan =
value;
928 if (!IsSetHeavy_lastscan()) {
929 memset(&m_Heavy_lastscan,
UnassignedByte(),
sizeof(m_Heavy_lastscan));
933 return m_Heavy_lastscan;
945 return IsSetHeavy_mass();
958 if (!CanGetHeavy_mass()) {
967 m_Heavy_mass =
value;
975 if (!IsSetHeavy_mass()) {
992 return IsSetMass_tol();
1005 if (!CanGetMass_tol()) {
1022 if (!IsSetMass_tol()) {
1039 return IsSetRatio();
1045 if (!CanGetRatio()) {
1061 m_Ratio = std::forward<CXpressratio_result_Base::C_Attlist::TRatio>(
value);
1069 if (!IsSetRatio()) {
1086 return IsSetHeavy2light_ratio();
1092 if (!CanGetHeavy2light_ratio()) {
1095 return m_Heavy2light_ratio;
1101 m_Heavy2light_ratio =
value;
1108 m_Heavy2light_ratio = std::forward<CXpressratio_result_Base::C_Attlist::THeavy2light_ratio>(
value);
1116 if (!IsSetHeavy2light_ratio()) {
1121 return m_Heavy2light_ratio;
1133 return IsSetLight_area();
1146 if (!CanGetLight_area()) {
1149 return m_Light_area;
1155 m_Light_area =
value;
1163 if (!IsSetLight_area()) {
1168 return m_Light_area;
1180 return IsSetHeavy_area();
1193 if (!CanGetHeavy_area()) {
1196 return m_Heavy_area;
1202 m_Heavy_area =
value;
1210 if (!IsSetHeavy_area()) {
1215 return m_Heavy_area;
1227 return IsSetDecimal_ratio();
1233 m_Decimal_ratio = 0;
1240 if (!CanGetDecimal_ratio()) {
1243 return m_Decimal_ratio;
1249 m_Decimal_ratio =
value;
1257 if (!IsSetDecimal_ratio()) {
1258 memset(&m_Decimal_ratio,
UnassignedByte(),
sizeof(m_Decimal_ratio));
1262 return m_Decimal_ratio;
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_PEPXML_EXPORT
C_Attlist(const C_Attlist &)
bool CanGetLight_area(void) const
Check if it is safe to call GetLight_area method.
THeavy2light_ratio & SetHeavy2light_ratio(void)
Assign a value to Heavy2light_ratio data member.
bool IsSetLight_area(void) const
Check if a value has been assigned to Light_area data member.
TLight_mass & SetLight_mass(void)
Assign a value to Light_mass data member.
THeavy_firstscan GetHeavy_firstscan(void) const
Get the Heavy_firstscan member data.
CXpressratio_result_Base & operator=(const CXpressratio_result_Base &)
bool CanGetLight_lastscan(void) const
Check if it is safe to call GetLight_lastscan method.
CRef< TAttlist > m_Attlist
const THeavy2light_ratio & GetHeavy2light_ratio(void) const
Get the Heavy2light_ratio member data.
Tparent::CMemberIndex< E_memberIndex, 3 > TmemberIndex
void ResetLight_area(void)
Reset Light_area data member.
string THeavy2light_ratio
bool CanGetHeavy_mass(void) const
Check if it is safe to call GetHeavy_mass method.
TLight_firstscan & SetLight_firstscan(void)
Assign a value to Light_firstscan data member.
THeavy_firstscan & SetHeavy_firstscan(void)
Assign a value to Heavy_firstscan data member.
bool IsSetDecimal_ratio(void) const
Check if a value has been assigned to Decimal_ratio data member.
void ResetLight_lastscan(void)
Reset Light_lastscan data member.
THeavy_mass GetHeavy_mass(void) const
Get the Heavy_mass member data.
TLight_area & SetLight_area(void)
Assign a value to Light_area data member.
bool IsSetLight_lastscan(void) const
Check if a value has been assigned to Light_lastscan data member.
bool CanGetHeavy_firstscan(void) const
Check if it is safe to call GetHeavy_firstscan method.
void ResetMass_tol(void)
Reset Mass_tol data member.
void ResetHeavy_lastscan(void)
Reset Heavy_lastscan data member.
THeavy_lastscan GetHeavy_lastscan(void) const
Get the Heavy_lastscan member data.
bool CanGetHeavy2light_ratio(void) const
Check if it is safe to call GetHeavy2light_ratio method.
bool IsSetHeavy2light_ratio(void) const
Check if a value has been assigned to Heavy2light_ratio data member.
THeavy_lastscan & SetHeavy_lastscan(void)
Assign a value to Heavy_lastscan data member.
TLight_firstscan GetLight_firstscan(void) const
Get the Light_firstscan member data.
bool IsSetHeavy_firstscan(void) const
Check if a value has been assigned to Heavy_firstscan data member.
TDecimal_ratio & SetDecimal_ratio(void)
Assign a value to Decimal_ratio data member.
C_Attlist & operator=(const C_Attlist &)
TLight_area GetLight_area(void) const
Get the Light_area member data.
const TRatio & GetRatio(void) const
Get the Ratio member data.
THeavy_area & SetHeavy_area(void)
Assign a value to Heavy_area data member.
bool IsSetAttlist(void) const
Check if a value has been assigned to Attlist data member.
void ResetHeavy_area(void)
Reset Heavy_area data member.
void SetXpressratio_result(void)
Set NULL data member (assign 'NULL' value to Xpressratio_result data member).
TRatio & SetRatio(void)
Assign a value to Ratio data member.
string m_Heavy2light_ratio
void ResetXpressratio_result(void)
Reset Xpressratio_result data member.
TLight_mass GetLight_mass(void) const
Get the Light_mass member data.
DECLARE_INTERNAL_TYPE_INFO()
void ResetDecimal_ratio(void)
Reset Decimal_ratio data member.
bool CanGetLight_firstscan(void) const
Check if it is safe to call GetLight_firstscan method.
bool IsSetHeavy_lastscan(void) const
Check if a value has been assigned to Heavy_lastscan data member.
bool IsSetMass_tol(void) const
Check if a value has been assigned to Mass_tol data member.
void ResetHeavy_firstscan(void)
Reset Heavy_firstscan data member.
TMass_tol & SetMass_tol(void)
Assign a value to Mass_tol data member.
void ResetLight_mass(void)
Reset Light_mass data member.
bool CanGetHeavy_area(void) const
Check if it is safe to call GetHeavy_area method.
bool CanGetMass_tol(void) const
Check if it is safe to call GetMass_tol method.
bool IsSetHeavy_area(void) const
Check if a value has been assigned to Heavy_area data member.
bool IsSetXpressratio_result(void) const
Check if a value has been assigned to Xpressratio_result data member.
bool CanGetXpressratio_result(void) const
Check if value of Xpressratio_result member is getatable.
bool CanGetRatio(void) const
Check if it is safe to call GetRatio method.
Tparent::CMemberIndex< E_memberIndex, 13 > TmemberIndex
TAttlist & SetAttlist(void)
Assign a value to Attlist data member.
TLight_lastscan GetLight_lastscan(void) const
Get the Light_lastscan member data.
TDecimal_ratio GetDecimal_ratio(void) const
Get the Decimal_ratio member data.
bool CanGetAttlist(void) const
Check if it is safe to call GetAttlist method.
bool IsSetLight_mass(void) const
Check if a value has been assigned to Light_mass data member.
TLight_lastscan & SetLight_lastscan(void)
Assign a value to Light_lastscan data member.
CXpressratio_result_Base(const CXpressratio_result_Base &)
const TAttlist & GetAttlist(void) const
Get the Attlist member data.
DECLARE_INTERNAL_TYPE_INFO()
void ResetLight_firstscan(void)
Reset Light_firstscan data member.
bool CanGetLight_mass(void) const
Check if it is safe to call GetLight_mass method.
void ResetAttlist(void)
Reset Attlist data member.
THeavy_area GetHeavy_area(void) const
Get the Heavy_area member data.
bool IsSetRatio(void) const
Check if a value has been assigned to Ratio data member.
THeavy_mass & SetHeavy_mass(void)
Assign a value to Heavy_mass data member.
bool CanGetDecimal_ratio(void) const
Check if it is safe to call GetDecimal_ratio method.
void ResetHeavy_mass(void)
Reset Heavy_mass data member.
bool CanGetHeavy_lastscan(void) const
Check if it is safe to call GetHeavy_lastscan method.
bool IsSetLight_firstscan(void) const
Check if a value has been assigned to Light_firstscan data member.
TMass_tol GetMass_tol(void) const
Get the Mass_tol member data.
bool IsSetHeavy_mass(void) const
Check if a value has been assigned to Heavy_mass data member.
const GenericPointer< typename T::ValueType > T2 value