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