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