41 #ifndef OBJTOOLS_EUTILS_EFETCH_MROOT_BASE_HPP
42 #define OBJTOOLS_EUTILS_EFETCH_MROOT_BASE_HPP
54 #ifndef BEGIN_objects_SCOPE
55 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
56 # define END_objects_SCOPE END_SCOPE(objects)
512 virtual void Reset(
void);
566 m_Id = std::forward<CMroot_Base::C_Attlist::TId>(
value);
613 m_Xref = std::forward<CMroot_Base::C_Attlist::TXref>(
value);
644 if (!CanGetClass()) {
660 m_Class = std::forward<CMroot_Base::C_Attlist::TClass>(
value);
691 if (!CanGetStyle()) {
707 m_Style = std::forward<CMroot_Base::C_Attlist::TStyle>(
value);
754 m_Href = std::forward<CMroot_Base::C_Attlist::THref>(
value);
779 return IsSetMathcolor();
785 if (!CanGetMathcolor()) {
801 m_Mathcolor = std::forward<CMroot_Base::C_Attlist::TMathcolor>(
value);
809 if (!IsSetMathcolor()) {
826 return IsSetMathbackground();
832 if (!CanGetMathbackground()) {
835 return m_Mathbackground;
841 m_Mathbackground =
value;
848 m_Mathbackground = std::forward<CMroot_Base::C_Attlist::TMathbackground>(
value);
856 if (!IsSetMathbackground()) {
861 return m_Mathbackground;
User-defined methods of the data storage class.
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 CanGetMathbackground(void) const
Check if it is safe to call GetMathbackground method.
C_Attlist(const C_Attlist &)
const TXref & GetXref(void) const
Get the Xref member data.
TAttlist & SetAttlist(void)
Assign a value to Attlist data member.
const TMathcolor & GetMathcolor(void) const
Get the Mathcolor member data.
TMathbackground & SetMathbackground(void)
Assign a value to Mathbackground data member.
bool IsSetStyle(void) const
Check if a value has been assigned to Style data member.
const TMathExpression & GetMathExpression(void) const
Get the MathExpression member data.
const TMathbackground & GetMathbackground(void) const
Get the Mathbackground member data.
Tparent::CMemberIndex< E_memberIndex, 8 > TmemberIndex
CRef< TAttlist > m_Attlist
bool IsSetHref(void) const
Check if a value has been assigned to Href data member.
bool CanGetMathcolor(void) const
Check if it is safe to call GetMathcolor method.
const TAttlist & GetAttlist(void) const
Get the Attlist member data.
bool CanGetClass(void) const
Check if it is safe to call GetClass method.
const TClass & GetClass(void) const
Get the Class member data.
CMroot_Base(const CMroot_Base &)
list< CRef< C_E_MathExpression > > TMathExpression
void ResetStyle(void)
Reset Style data member.
void ResetHref(void)
Reset Href data member.
void ResetMathcolor(void)
Reset Mathcolor data member.
TId & SetId(void)
Assign a value to Id data member.
bool CanGetStyle(void) const
Check if it is safe to call GetStyle method.
bool CanGetHref(void) const
Check if it is safe to call GetHref method.
bool IsSetMathExpression(void) const
Check if a value has been assigned to MathExpression data member.
bool CanGetMathExpression(void) const
Check if it is safe to call GetMathExpression method.
DECLARE_INTERNAL_TYPE_INFO()
void ResetMathbackground(void)
Reset Mathbackground data member.
THref & SetHref(void)
Assign a value to Href data member.
bool IsSetMathcolor(void) const
Check if a value has been assigned to Mathcolor data member.
bool CanGetId(void) const
Check if it is safe to call GetId method.
const THref & GetHref(void) const
Get the Href member data.
void ResetClass(void)
Reset Class data member.
virtual ~CMroot_Base(void)
TStyle & SetStyle(void)
Assign a value to Style data member.
CMroot_Base & operator=(const CMroot_Base &)
bool IsSetMathbackground(void) const
Check if a value has been assigned to Mathbackground data member.
bool IsSetId(void) const
Check if a value has been assigned to Id data member.
DECLARE_INTERNAL_TYPE_INFO()
void ResetAttlist(void)
Reset Attlist data member.
void Reset(void)
Reset the whole object.
TMathExpression & SetMathExpression(void)
Assign a value to MathExpression data member.
DECLARE_INTERNAL_TYPE_INFO()
list< CRef< C_E_MathExpression > > m_MathExpression
C_Attlist & operator=(const C_Attlist &)
void ResetMathExpression(void)
Reset MathExpression data member.
bool IsSetAttlist(void) const
Check if a value has been assigned to Attlist data member.
TClass & SetClass(void)
Assign a value to Class 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.
const TStyle & GetStyle(void) const
Get the Style member data.
TMathcolor & SetMathcolor(void)
Assign a value to Mathcolor data member.
bool IsSetXref(void) const
Check if a value has been assigned to Xref data member.
void ResetXref(void)
Reset Xref data member.
virtual void Reset(void)
Reset the whole object.
bool CanGetAttlist(void) const
Check if it is safe to call GetAttlist method.
void ResetId(void)
Reset Id data member.
Tparent::CMemberIndex< E_memberIndex, 3 > TmemberIndex
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.
const GenericPointer< typename T::ValueType > T2 value