41 #ifndef OBJTOOLS_EUTILS_EFETCH_FORALL_BASE_HPP
42 #define OBJTOOLS_EUTILS_EFETCH_FORALL_BASE_HPP
52 #ifndef BEGIN_objects_SCOPE
53 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
54 # define END_objects_SCOPE END_SCOPE(objects)
483 virtual void Reset(
void);
536 m_Id = std::forward<CForall_Base::C_Attlist::TId>(
value);
583 m_Xref = std::forward<CForall_Base::C_Attlist::TXref>(
value);
614 if (!CanGetClass()) {
630 m_Class = std::forward<CForall_Base::C_Attlist::TClass>(
value);
661 if (!CanGetStyle()) {
677 m_Style = std::forward<CForall_Base::C_Attlist::TStyle>(
value);
724 m_Href = std::forward<CForall_Base::C_Attlist::THref>(
value);
749 return IsSetEncoding();
755 if (!CanGetEncoding()) {
771 m_Encoding = std::forward<CForall_Base::C_Attlist::TEncoding>(
value);
779 if (!IsSetEncoding()) {
796 return IsSetDefinitionURL();
802 if (!CanGetDefinitionURL()) {
805 return m_DefinitionURL;
811 m_DefinitionURL =
value;
818 m_DefinitionURL = std::forward<CForall_Base::C_Attlist::TDefinitionURL>(
value);
826 if (!IsSetDefinitionURL()) {
831 return m_DefinitionURL;
Base class for all serializable objects.
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.
const TXref & GetXref(void) const
Get the Xref member data.
bool CanGetEncoding(void) const
Check if it is safe to call GetEncoding method.
void ResetForall(void)
Reset Forall data member.
void ResetClass(void)
Reset Class data member.
virtual void Reset(void)
Reset the whole object.
bool IsSetDefinitionURL(void) const
Check if a value has been assigned to DefinitionURL data member.
THref & SetHref(void)
Assign a value to Href data member.
void ResetStyle(void)
Reset Style data member.
void Reset(void)
Reset the whole object.
CForall_Base & operator=(const CForall_Base &)
virtual ~CForall_Base(void)
CForall_Base(const CForall_Base &)
bool IsSetXref(void) const
Check if a value has been assigned to Xref data member.
bool CanGetForall(void) const
Check if value of Forall member is getatable.
const THref & GetHref(void) const
Get the Href member data.
bool CanGetAttlist(void) const
Check if it is safe to call GetAttlist method.
TEncoding & SetEncoding(void)
Assign a value to Encoding data member.
bool CanGetId(void) const
Check if it is safe to call GetId method.
void ResetHref(void)
Reset Href data member.
bool IsSetHref(void) const
Check if a value has been assigned to Href data member.
TStyle & SetStyle(void)
Assign a value to Style data member.
bool IsSetEncoding(void) const
Check if a value has been assigned to Encoding data member.
bool IsSetAttlist(void) const
Check if a value has been assigned to Attlist data member.
void ResetAttlist(void)
Reset Attlist data member.
TClass & SetClass(void)
Assign a value to Class data member.
const TId & GetId(void) const
Get the Id member data.
DECLARE_INTERNAL_TYPE_INFO()
void ResetEncoding(void)
Reset Encoding data member.
void ResetXref(void)
Reset Xref data member.
bool CanGetHref(void) const
Check if it is safe to call GetHref method.
DECLARE_INTERNAL_TYPE_INFO()
const TEncoding & GetEncoding(void) const
Get the Encoding member data.
C_Attlist & operator=(const C_Attlist &)
C_Attlist(const C_Attlist &)
bool CanGetXref(void) const
Check if it is safe to call GetXref method.
TAttlist & SetAttlist(void)
Assign a value to Attlist data member.
bool CanGetStyle(void) const
Check if it is safe to call GetStyle method.
void ResetDefinitionURL(void)
Reset DefinitionURL data member.
const TDefinitionURL & GetDefinitionURL(void) const
Get the DefinitionURL member data.
TId & SetId(void)
Assign a value to Id data member.
bool CanGetDefinitionURL(void) const
Check if it is safe to call GetDefinitionURL method.
TXref & SetXref(void)
Assign a value to Xref data member.
bool CanGetClass(void) const
Check if it is safe to call GetClass method.
TDefinitionURL & SetDefinitionURL(void)
Assign a value to DefinitionURL data member.
const TStyle & GetStyle(void) const
Get the Style member data.
bool IsSetId(void) const
Check if a value has been assigned to Id data member.
void ResetId(void)
Reset Id data member.
Tparent::CMemberIndex< E_memberIndex, 3 > TmemberIndex
void SetForall(void)
Set NULL data member (assign 'NULL' value to Forall data member).
bool IsSetStyle(void) const
Check if a value has been assigned to Style data member.
const TClass & GetClass(void) const
Get the Class member data.
bool IsSetClass(void) const
Check if a value has been assigned to Class data member.
Tparent::CMemberIndex< E_memberIndex, 8 > TmemberIndex
CRef< TAttlist > m_Attlist
bool IsSetForall(void) const
Check if a value has been assigned to Forall data member.
const TAttlist & GetAttlist(void) const
Get the Attlist member data.
const GenericPointer< typename T::ValueType > T2 value