41 #ifndef ALGO_MS_FORMATS_PEPXML_DATA_FILTER_BASE_HPP
42 #define ALGO_MS_FORMATS_PEPXML_DATA_FILTER_BASE_HPP
52 #ifndef BEGIN_objects_SCOPE
53 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
54 # define END_objects_SCOPE END_SCOPE(objects)
127 bool IsSetNumber(
void)
const;
134 bool CanGetNumber(
void)
const;
137 void ResetNumber(
void);
164 bool IsSetParent_file(
void)
const;
171 bool CanGetParent_file(
void)
const;
174 void ResetParent_file(
void);
202 bool IsSetWindows_parent(
void)
const;
209 bool CanGetWindows_parent(
void)
const;
212 void ResetWindows_parent(
void);
240 bool IsSetDescription(
void)
const;
247 bool CanGetDescription(
void)
const;
250 void ResetDescription(
void);
308 bool IsSetAttlist(
void)
const;
315 bool CanGetAttlist(
void)
const;
318 void ResetAttlist(
void);
324 const TAttlist& GetAttlist(
void)
const;
344 bool IsSetData_filter(
void)
const;
350 bool CanGetData_filter(
void)
const;
353 void ResetData_filter(
void);
356 void SetData_filter(
void);
359 virtual void Reset(
void);
390 return IsSetNumber();
403 if (!CanGetNumber()) {
420 if (!IsSetNumber()) {
437 return IsSetParent_file();
443 if (!CanGetParent_file()) {
446 return m_Parent_file;
452 m_Parent_file =
value;
459 m_Parent_file = std::forward<CData_filter_Base::C_Attlist::TParent_file>(
value);
467 if (!IsSetParent_file()) {
472 return m_Parent_file;
484 return IsSetWindows_parent();
490 if (!CanGetWindows_parent()) {
493 return m_Windows_parent;
499 m_Windows_parent =
value;
506 m_Windows_parent = std::forward<CData_filter_Base::C_Attlist::TWindows_parent>(
value);
514 if (!IsSetWindows_parent()) {
519 return m_Windows_parent;
531 return IsSetDescription();
537 if (!CanGetDescription()) {
540 return m_Description;
546 m_Description =
value;
553 m_Description = std::forward<CData_filter_Base::C_Attlist::TDescription>(
value);
561 if (!IsSetDescription()) {
566 return m_Description;
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 & operator=(const C_Attlist &)
bool CanGetParent_file(void) const
Check if it is safe to call GetParent_file method.
bool IsSetData_filter(void) const
Check if a value has been assigned to Data_filter data member.
const TAttlist & GetAttlist(void) const
Get the Attlist member data.
bool IsSetAttlist(void) const
Check if a value has been assigned to Attlist data member.
Tparent::CMemberIndex< E_memberIndex, 5 > TmemberIndex
bool IsSetDescription(void) const
Check if a value has been assigned to Description data member.
void ResetNumber(void)
Reset Number data member.
CData_filter_Base(const CData_filter_Base &)
TAttlist & SetAttlist(void)
Assign a value to Attlist data member.
bool CanGetData_filter(void) const
Check if value of Data_filter member is getatable.
void ResetData_filter(void)
Reset Data_filter data member.
const TWindows_parent & GetWindows_parent(void) const
Get the Windows_parent member data.
const TDescription & GetDescription(void) const
Get the Description member data.
TParent_file & SetParent_file(void)
Assign a value to Parent_file data member.
bool IsSetWindows_parent(void) const
Check if a value has been assigned to Windows_parent data member.
DECLARE_INTERNAL_TYPE_INFO()
void SetData_filter(void)
Set NULL data member (assign 'NULL' value to Data_filter data member).
CRef< TAttlist > m_Attlist
DECLARE_INTERNAL_TYPE_INFO()
bool CanGetNumber(void) const
Check if it is safe to call GetNumber method.
CData_filter_Base & operator=(const CData_filter_Base &)
bool CanGetDescription(void) const
Check if it is safe to call GetDescription method.
bool CanGetAttlist(void) const
Check if it is safe to call GetAttlist method.
TNumber & SetNumber(void)
Assign a value to Number data member.
bool IsSetParent_file(void) const
Check if a value has been assigned to Parent_file data member.
C_Attlist(const C_Attlist &)
TNumber GetNumber(void) const
Get the Number member data.
const TParent_file & GetParent_file(void) const
Get the Parent_file member data.
TWindows_parent & SetWindows_parent(void)
Assign a value to Windows_parent data member.
void ResetAttlist(void)
Reset Attlist data member.
bool IsSetNumber(void) const
Check if a value has been assigned to Number data member.
Tparent::CMemberIndex< E_memberIndex, 3 > TmemberIndex
bool CanGetWindows_parent(void) const
Check if it is safe to call GetWindows_parent method.
TDescription & SetDescription(void)
Assign a value to Description data member.
const GenericPointer< typename T::ValueType > T2 value