41 #ifndef OBJTOOLS_EUTILS_EFETCH_MAX_BASE_HPP
42 #define OBJTOOLS_EUTILS_EFETCH_MAX_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<CMax_Base::C_Attlist::TId>(
value);
583 m_Xref = std::forward<CMax_Base::C_Attlist::TXref>(
value);
614 if (!CanGetClass()) {
630 m_Class = std::forward<CMax_Base::C_Attlist::TClass>(
value);
661 if (!CanGetStyle()) {
677 m_Style = std::forward<CMax_Base::C_Attlist::TStyle>(
value);
724 m_Href = std::forward<CMax_Base::C_Attlist::THref>(
value);
749 return IsSetEncoding();
755 if (!CanGetEncoding()) {
771 m_Encoding = std::forward<CMax_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<CMax_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.
bool CanGetXref(void) const
Check if it is safe to call GetXref method.
CRef< TAttlist > m_Attlist
void ResetStyle(void)
Reset Style data member.
Tparent::CMemberIndex< E_memberIndex, 3 > TmemberIndex
bool CanGetStyle(void) const
Check if it is safe to call GetStyle method.
Tparent::CMemberIndex< E_memberIndex, 8 > TmemberIndex
const TClass & GetClass(void) const
Get the Class member data.
void ResetId(void)
Reset Id data member.
void SetMax(void)
Set NULL data member (assign 'NULL' value to Max data member).
DECLARE_INTERNAL_TYPE_INFO()
bool IsSetAttlist(void) const
Check if a value has been assigned to Attlist data member.
const TXref & GetXref(void) const
Get the Xref member data.
void Reset(void)
Reset the whole object.
bool CanGetDefinitionURL(void) const
Check if it is safe to call GetDefinitionURL method.
bool CanGetHref(void) const
Check if it is safe to call GetHref method.
bool CanGetClass(void) const
Check if it is safe to call GetClass method.
const TAttlist & GetAttlist(void) const
Get the Attlist member data.
CMax_Base & operator=(const CMax_Base &)
CMax_Base(const CMax_Base &)
TAttlist & SetAttlist(void)
Assign a value to Attlist data member.
void ResetDefinitionURL(void)
Reset DefinitionURL data member.
bool IsSetId(void) const
Check if a value has been assigned to Id data member.
const TStyle & GetStyle(void) const
Get the Style member data.
bool CanGetMax(void) const
Check if value of Max member is getatable.
bool IsSetXref(void) const
Check if a value has been assigned to Xref data member.
bool IsSetHref(void) const
Check if a value has been assigned to Href data member.
bool IsSetStyle(void) const
Check if a value has been assigned to Style data member.
const TDefinitionURL & GetDefinitionURL(void) const
Get the DefinitionURL member data.
bool IsSetEncoding(void) const
Check if a value has been assigned to Encoding data member.
TStyle & SetStyle(void)
Assign a value to Style data member.
C_Attlist(const C_Attlist &)
void ResetEncoding(void)
Reset Encoding data member.
TEncoding & SetEncoding(void)
Assign a value to Encoding data member.
virtual void Reset(void)
Reset the whole object.
bool CanGetAttlist(void) const
Check if it is safe to call GetAttlist method.
TXref & SetXref(void)
Assign a value to Xref data member.
bool IsSetClass(void) const
Check if a value has been assigned to Class data member.
THref & SetHref(void)
Assign a value to Href data member.
void ResetMax(void)
Reset Max data member.
void ResetHref(void)
Reset Href data member.
DECLARE_INTERNAL_TYPE_INFO()
TId & SetId(void)
Assign a value to Id data member.
const THref & GetHref(void) const
Get the Href member data.
void ResetXref(void)
Reset Xref data member.
bool IsSetMax(void) const
Check if a value has been assigned to Max data member.
const TId & GetId(void) const
Get the Id member data.
void ResetClass(void)
Reset Class data member.
bool IsSetDefinitionURL(void) const
Check if a value has been assigned to DefinitionURL data member.
TDefinitionURL & SetDefinitionURL(void)
Assign a value to DefinitionURL data member.
bool CanGetEncoding(void) const
Check if it is safe to call GetEncoding method.
TClass & SetClass(void)
Assign a value to Class data member.
C_Attlist & operator=(const C_Attlist &)
const TEncoding & GetEncoding(void) const
Get the Encoding member data.
void ResetAttlist(void)
Reset Attlist data member.
bool CanGetId(void) const
Check if it is safe to call GetId method.
const GenericPointer< typename T::ValueType > T2 value