41 #ifndef ALGO_MS_FORMATS_PEPXML_SAMPLE_ENZYME_BASE_HPP
42 #define ALGO_MS_FORMATS_PEPXML_SAMPLE_ENZYME_BASE_HPP
53 #ifndef BEGIN_objects_SCOPE
54 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
55 # define END_objects_SCOPE END_SCOPE(objects)
108 eAttlist_fidelity_specific = 1,
109 eAttlist_fidelity_semispecific = 2,
110 eAttlist_fidelity_nonspecific = 3
142 bool IsSetName(
void)
const;
149 bool CanGetName(
void)
const;
152 void ResetName(
void);
158 const TName& GetName(
void)
const;
171 TName& SetName(
void);
180 bool IsSetDescription(
void)
const;
187 bool CanGetDescription(
void)
const;
190 void ResetDescription(
void);
218 bool IsSetFidelity(
void)
const;
225 bool CanGetFidelity(
void)
const;
228 void ResetFidelity(
void);
231 void SetDefaultFidelity(
void);
258 bool IsSetIndependent(
void)
const;
265 bool CanGetIndependent(
void)
const;
268 void ResetIndependent(
void);
326 bool IsSetAttlist(
void)
const;
333 bool CanGetAttlist(
void)
const;
336 void ResetAttlist(
void);
342 const TAttlist& GetAttlist(
void)
const;
363 bool IsSetSpecificity(
void)
const;
370 bool CanGetSpecificity(
void)
const;
373 void ResetSpecificity(
void);
388 virtual void Reset(
void);
442 m_Name = std::forward<CSample_enzyme_Base::C_Attlist::TName>(
value);
467 return IsSetDescription();
473 if (!CanGetDescription()) {
476 return m_Description;
482 m_Description =
value;
489 m_Description = std::forward<CSample_enzyme_Base::C_Attlist::TDescription>(
value);
497 if (!IsSetDescription()) {
502 return m_Description;
520 m_Fidelity = eAttlist_fidelity_specific;
548 if (!IsSetFidelity()) {
565 return IsSetIndependent();
578 if (!CanGetIndependent()) {
581 return m_Independent;
587 m_Independent =
value;
595 if (!IsSetIndependent()) {
600 return m_Independent;
Defines the net cleavage specificity of an enzyme, chemical reagent, or a mixture of these,...
Base class for all serializable objects.
static char UnassignedByte(void)
void ThrowUnassigned(TMemberIndex index) const
#define ENUM_METHOD_NAME(EnumName)
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
bool CanGetSpecificity(void) const
Check if it is safe to call GetSpecificity method.
void SetDefaultFidelity(void)
Assign default value to Fidelity data member.
void ResetIndependent(void)
Reset Independent data member.
EAttlist_fidelity m_Fidelity
TDescription & SetDescription(void)
Assign a value to Description data member.
C_Attlist & operator=(const C_Attlist &)
CRef< TAttlist > m_Attlist
const TName & GetName(void) const
Get the Name member data.
const TAttlist & GetAttlist(void) const
Get the Attlist member data.
TFidelity & SetFidelity(void)
Assign a value to Fidelity data member.
list< CRef< CSpecificity > > TSpecificity
bool CanGetDescription(void) const
Check if it is safe to call GetDescription method.
list< CRef< CSpecificity > > m_Specificity
bool IsSetName(void) const
Check if a value has been assigned to Name data member.
bool IsSetFidelity(void) const
Check if a value has been assigned to Fidelity data member.
TIndependent & SetIndependent(void)
Assign a value to Independent data member.
CSample_enzyme_Base & operator=(const CSample_enzyme_Base &)
void ResetAttlist(void)
Reset Attlist data member.
TName & SetName(void)
Assign a value to Name data member.
bool CanGetAttlist(void) const
Check if it is safe to call GetAttlist method.
TFidelity GetFidelity(void) const
Get the Fidelity member data.
Tparent::CMemberIndex< E_memberIndex, 5 > TmemberIndex
bool CanGetIndependent(void) const
Check if it is safe to call GetIndependent method.
bool IsSetIndependent(void) const
Check if a value has been assigned to Independent data member.
TIndependent GetIndependent(void) const
Get the Independent member data.
TAttlist & SetAttlist(void)
Assign a value to Attlist data member.
C_Attlist(const C_Attlist &)
const TSpecificity & GetSpecificity(void) const
Get the Specificity member data.
Tparent::CMemberIndex< E_memberIndex, 3 > TmemberIndex
const TDescription & GetDescription(void) const
Get the Description member data.
EAttlist_fidelity TFidelity
bool CanGetName(void) const
Check if it is safe to call GetName method.
void ResetFidelity(void)
Reset Fidelity data member.
bool IsSetAttlist(void) const
Check if a value has been assigned to Attlist data member.
bool IsSetSpecificity(void) const
Check if a value has been assigned to Specificity data member.
DECLARE_INTERNAL_TYPE_INFO()
TSpecificity & SetSpecificity(void)
Assign a value to Specificity data member.
bool CanGetFidelity(void) const
Check if it is safe to call GetFidelity method.
DECLARE_INTERNAL_TYPE_INFO()
bool IsSetDescription(void) const
Check if a value has been assigned to Description data member.
CSample_enzyme_Base(const CSample_enzyme_Base &)
const GenericPointer< typename T::ValueType > T2 value