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