41 #ifndef OBJTOOLS_EUTILS_EFETCH_MSPACE_BASE_HPP
42 #define OBJTOOLS_EUTILS_EFETCH_MSPACE_BASE_HPP
52 #ifndef BEGIN_objects_SCOPE
53 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
54 # define END_objects_SCOPE END_SCOPE(objects)
1390 virtual void Reset(
void);
1443 m_Id = std::forward<CMspace_Base::C_Attlist::TId>(
value);
1474 if (!CanGetXref()) {
1490 m_Xref = std::forward<CMspace_Base::C_Attlist::TXref>(
value);
1515 return IsSetClass();
1521 if (!CanGetClass()) {
1537 m_Class = std::forward<CMspace_Base::C_Attlist::TClass>(
value);
1545 if (!IsSetClass()) {
1562 return IsSetStyle();
1568 if (!CanGetStyle()) {
1584 m_Style = std::forward<CMspace_Base::C_Attlist::TStyle>(
value);
1592 if (!IsSetStyle()) {
1615 if (!CanGetHref()) {
1631 m_Href = std::forward<CMspace_Base::C_Attlist::THref>(
value);
1656 return IsSetMathcolor();
1662 if (!CanGetMathcolor()) {
1671 m_Mathcolor =
value;
1678 m_Mathcolor = std::forward<CMspace_Base::C_Attlist::TMathcolor>(
value);
1686 if (!IsSetMathcolor()) {
1703 return IsSetMathbackground();
1709 if (!CanGetMathbackground()) {
1712 return m_Mathbackground;
1718 m_Mathbackground =
value;
1725 m_Mathbackground = std::forward<CMspace_Base::C_Attlist::TMathbackground>(
value);
1733 if (!IsSetMathbackground()) {
1738 return m_Mathbackground;
1750 return IsSetMathvariant();
1763 if (!CanGetMathvariant()) {
1766 return m_Mathvariant;
1772 m_Mathvariant =
value;
1780 if (!IsSetMathvariant()) {
1785 return m_Mathvariant;
1797 return IsSetMathsize();
1803 if (!CanGetMathsize()) {
1819 m_Mathsize = std::forward<CMspace_Base::C_Attlist::TMathsize>(
value);
1827 if (!IsSetMathsize()) {
1891 return IsSetFontfamily();
1897 if (!CanGetFontfamily()) {
1900 return m_Fontfamily;
1906 m_Fontfamily =
value;
1913 m_Fontfamily = std::forward<CMspace_Base::C_Attlist::TFontfamily>(
value);
1921 if (!IsSetFontfamily()) {
1926 return m_Fontfamily;
1938 return IsSetFontweight();
1951 if (!CanGetFontweight()) {
1954 return m_Fontweight;
1960 m_Fontweight =
value;
1968 if (!IsSetFontweight()) {
1973 return m_Fontweight;
1985 return IsSetFontstyle();
1998 if (!CanGetFontstyle()) {
2007 m_Fontstyle =
value;
2015 if (!IsSetFontstyle()) {
2032 return IsSetFontsize();
2038 if (!CanGetFontsize()) {
2054 m_Fontsize = std::forward<CMspace_Base::C_Attlist::TFontsize>(
value);
2062 if (!IsSetFontsize()) {
2079 return IsSetColor();
2085 if (!CanGetColor()) {
2101 m_Color = std::forward<CMspace_Base::C_Attlist::TColor>(
value);
2109 if (!IsSetColor()) {
2126 return IsSetBackground();
2132 if (!CanGetBackground()) {
2135 return m_Background;
2141 m_Background =
value;
2148 m_Background = std::forward<CMspace_Base::C_Attlist::TBackground>(
value);
2156 if (!IsSetBackground()) {
2161 return m_Background;
2173 return IsSetWidth();
2179 if (!CanGetWidth()) {
2195 m_Width = std::forward<CMspace_Base::C_Attlist::TWidth>(
value);
2203 if (!IsSetWidth()) {
2220 return IsSetHeight();
2226 if (!CanGetHeight()) {
2242 m_Height = std::forward<CMspace_Base::C_Attlist::THeight>(
value);
2250 if (!IsSetHeight()) {
2267 return IsSetDepth();
2273 if (!CanGetDepth()) {
2289 m_Depth = std::forward<CMspace_Base::C_Attlist::TDepth>(
value);
2297 if (!IsSetDepth()) {
2314 return IsSetLinebreak();
2327 if (!CanGetLinebreak()) {
2336 m_Linebreak =
value;
2344 if (!IsSetLinebreak()) {
2361 return IsSetIndentalign();
2374 if (!CanGetIndentalign()) {
2377 return m_Indentalign;
2383 m_Indentalign =
value;
2391 if (!IsSetIndentalign()) {
2396 return m_Indentalign;
2408 return IsSetIndentshift();
2414 if (!CanGetIndentshift()) {
2417 return m_Indentshift;
2423 m_Indentshift =
value;
2430 m_Indentshift = std::forward<CMspace_Base::C_Attlist::TIndentshift>(
value);
2438 if (!IsSetIndentshift()) {
2443 return m_Indentshift;
2455 return IsSetIndenttarget();
2461 if (!CanGetIndenttarget()) {
2464 return m_Indenttarget;
2470 m_Indenttarget =
value;
2477 m_Indenttarget = std::forward<CMspace_Base::C_Attlist::TIndenttarget>(
value);
2485 if (!IsSetIndenttarget()) {
2490 return m_Indenttarget;
2502 return IsSetIndentalignfirst();
2515 if (!CanGetIndentalignfirst()) {
2518 return m_Indentalignfirst;
2524 m_Indentalignfirst =
value;
2532 if (!IsSetIndentalignfirst()) {
2533 memset(&m_Indentalignfirst,
UnassignedByte(),
sizeof(m_Indentalignfirst));
2537 return m_Indentalignfirst;
2549 return IsSetIndentshiftfirst();
2555 if (!CanGetIndentshiftfirst()) {
2558 return m_Indentshiftfirst;
2564 m_Indentshiftfirst =
value;
2571 m_Indentshiftfirst = std::forward<CMspace_Base::C_Attlist::TIndentshiftfirst>(
value);
2579 if (!IsSetIndentshiftfirst()) {
2584 return m_Indentshiftfirst;
2596 return IsSetIndentalignlast();
2609 if (!CanGetIndentalignlast()) {
2612 return m_Indentalignlast;
2618 m_Indentalignlast =
value;
2626 if (!IsSetIndentalignlast()) {
2627 memset(&m_Indentalignlast,
UnassignedByte(),
sizeof(m_Indentalignlast));
2631 return m_Indentalignlast;
2643 return IsSetIndentshiftlast();
2649 if (!CanGetIndentshiftlast()) {
2652 return m_Indentshiftlast;
2658 m_Indentshiftlast =
value;
2665 m_Indentshiftlast = std::forward<CMspace_Base::C_Attlist::TIndentshiftlast>(
value);
2673 if (!IsSetIndentshiftlast()) {
2678 return m_Indentshiftlast;
Base class for all serializable objects.
static char UnassignedByte(void)
void ThrowUnassigned(TMemberIndex index) const
#define ENUM_METHOD_NAME(EnumName)
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.
TIndentalignlast & SetIndentalignlast(void)
Assign a value to Indentalignlast data member.
bool CanGetFontstyle(void) const
Check if it is safe to call GetFontstyle method.
bool CanGetMathbackground(void) const
Check if it is safe to call GetMathbackground method.
void ResetMathbackground(void)
Reset Mathbackground data member.
void ResetXref(void)
Reset Xref data member.
TIndentalignfirst GetIndentalignfirst(void) const
Get the Indentalignfirst member data.
void ResetDir(void)
Reset Dir data member.
bool CanGetMathvariant(void) const
Check if it is safe to call GetMathvariant method.
bool CanGetColor(void) const
Check if it is safe to call GetColor method.
const TIndentshift & GetIndentshift(void) const
Get the Indentshift member data.
TStyle & SetStyle(void)
Assign a value to Style data member.
void ResetAttlist(void)
Reset Attlist data member.
EAttlist_fontweight TFontweight
void Reset(void)
Reset the whole object.
bool CanGetIndenttarget(void) const
Check if it is safe to call GetIndenttarget method.
bool IsSetHeight(void) const
Check if a value has been assigned to Height data member.
void ResetIndentalignlast(void)
Reset Indentalignlast data member.
C_Attlist & operator=(const C_Attlist &)
TClass & SetClass(void)
Assign a value to Class data member.
const TDepth & GetDepth(void) const
Get the Depth member data.
void ResetDepth(void)
Reset Depth data member.
bool CanGetFontsize(void) const
Check if it is safe to call GetFontsize method.
void SetMspace(void)
Set NULL data member (assign 'NULL' value to Mspace data member).
void ResetMspace(void)
Reset Mspace data member.
CMspace_Base & operator=(const CMspace_Base &)
bool IsSetIndentalign(void) const
Check if a value has been assigned to Indentalign data member.
TFontweight & SetFontweight(void)
Assign a value to Fontweight data member.
bool CanGetMathsize(void) const
Check if it is safe to call GetMathsize method.
bool CanGetIndentalignlast(void) const
Check if it is safe to call GetIndentalignlast method.
bool IsSetWidth(void) const
Check if a value has been assigned to Width data member.
TLinebreak & SetLinebreak(void)
Assign a value to Linebreak data member.
void ResetFontfamily(void)
Reset Fontfamily data member.
bool CanGetHeight(void) const
Check if it is safe to call GetHeight method.
C_Attlist(const C_Attlist &)
void ResetIndentalign(void)
Reset Indentalign data member.
THref & SetHref(void)
Assign a value to Href data member.
EAttlist_fontstyle m_Fontstyle
bool IsSetMathcolor(void) const
Check if a value has been assigned to Mathcolor data member.
THeight & SetHeight(void)
Assign a value to Height data member.
TColor & SetColor(void)
Assign a value to Color data member.
void ResetWidth(void)
Reset Width data member.
bool CanGetIndentshiftlast(void) const
Check if it is safe to call GetIndentshiftlast method.
TIndenttarget & SetIndenttarget(void)
Assign a value to Indenttarget data member.
bool IsSetBackground(void) const
Check if a value has been assigned to Background data member.
bool CanGetXref(void) const
Check if it is safe to call GetXref method.
void ResetLinebreak(void)
Reset Linebreak data member.
const TIndenttarget & GetIndenttarget(void) const
Get the Indenttarget member data.
bool CanGetFontweight(void) const
Check if it is safe to call GetFontweight method.
EAttlist_indentalignfirst m_Indentalignfirst
TMathvariant GetMathvariant(void) const
Get the Mathvariant member data.
bool IsSetFontstyle(void) const
Check if a value has been assigned to Fontstyle data member.
TMathsize & SetMathsize(void)
Assign a value to Mathsize data member.
bool IsSetAttlist(void) const
Check if a value has been assigned to Attlist data member.
TXref & SetXref(void)
Assign a value to Xref data member.
EAttlist_indentalign TIndentalign
bool CanGetClass(void) const
Check if it is safe to call GetClass method.
const TXref & GetXref(void) const
Get the Xref member data.
Tparent::CMemberIndex< E_memberIndex, 28 > TmemberIndex
const TStyle & GetStyle(void) const
Get the Style member data.
bool IsSetDepth(void) const
Check if a value has been assigned to Depth data member.
TMathbackground & SetMathbackground(void)
Assign a value to Mathbackground data member.
bool IsSetFontweight(void) const
Check if a value has been assigned to Fontweight data member.
const TId & GetId(void) const
Get the Id member data.
TFontweight GetFontweight(void) const
Get the Fontweight member data.
const TIndentshiftlast & GetIndentshiftlast(void) const
Get the Indentshiftlast member data.
bool IsSetMathvariant(void) const
Check if a value has been assigned to Mathvariant data member.
bool IsSetFontsize(void) const
Check if a value has been assigned to Fontsize data member.
bool IsSetStyle(void) const
Check if a value has been assigned to Style data member.
bool CanGetStyle(void) const
Check if it is safe to call GetStyle method.
void ResetMathvariant(void)
Reset Mathvariant data member.
EAttlist_indentalignlast m_Indentalignlast
TMathcolor & SetMathcolor(void)
Assign a value to Mathcolor data member.
bool IsSetIndentshiftlast(void) const
Check if a value has been assigned to Indentshiftlast data member.
void ResetFontstyle(void)
Reset Fontstyle data member.
void ResetId(void)
Reset Id data member.
bool IsSetXref(void) const
Check if a value has been assigned to Xref data member.
TFontfamily & SetFontfamily(void)
Assign a value to Fontfamily data member.
const TWidth & GetWidth(void) const
Get the Width member data.
TIndentshiftfirst & SetIndentshiftfirst(void)
Assign a value to Indentshiftfirst data member.
const TColor & GetColor(void) const
Get the Color member data.
bool IsSetIndentalignlast(void) const
Check if a value has been assigned to Indentalignlast data member.
bool CanGetIndentalign(void) const
Check if it is safe to call GetIndentalign method.
bool IsSetColor(void) const
Check if a value has been assigned to Color data member.
void ResetHeight(void)
Reset Height data member.
bool IsSetIndenttarget(void) const
Check if a value has been assigned to Indenttarget data member.
TId & SetId(void)
Assign a value to Id data member.
void ResetBackground(void)
Reset Background data member.
EAttlist_fontstyle TFontstyle
bool CanGetDepth(void) const
Check if it is safe to call GetDepth method.
DECLARE_INTERNAL_TYPE_INFO()
bool IsSetIndentshiftfirst(void) const
Check if a value has been assigned to Indentshiftfirst data member.
bool IsSetMathsize(void) const
Check if a value has been assigned to Mathsize data member.
bool IsSetMathbackground(void) const
Check if a value has been assigned to Mathbackground data member.
bool IsSetIndentalignfirst(void) const
Check if a value has been assigned to Indentalignfirst data member.
CMspace_Base(const CMspace_Base &)
bool CanGetId(void) const
Check if it is safe to call GetId method.
const TIndentshiftfirst & GetIndentshiftfirst(void) const
Get the Indentshiftfirst member data.
bool IsSetDir(void) const
Check if a value has been assigned to Dir data member.
bool CanGetHref(void) const
Check if it is safe to call GetHref method.
Tparent::CMemberIndex< E_memberIndex, 3 > TmemberIndex
TIndentalign & SetIndentalign(void)
Assign a value to Indentalign data member.
bool IsSetMspace(void) const
Check if a value has been assigned to Mspace data member.
virtual ~CMspace_Base(void)
void ResetFontweight(void)
Reset Fontweight data member.
const TMathcolor & GetMathcolor(void) const
Get the Mathcolor member data.
const TClass & GetClass(void) const
Get the Class member data.
bool CanGetWidth(void) const
Check if it is safe to call GetWidth method.
TAttlist & SetAttlist(void)
Assign a value to Attlist data member.
const TMathbackground & GetMathbackground(void) const
Get the Mathbackground member data.
bool IsSetLinebreak(void) const
Check if a value has been assigned to Linebreak data member.
void ResetIndentshift(void)
Reset Indentshift data member.
EAttlist_mathvariant m_Mathvariant
void ResetStyle(void)
Reset Style data member.
TWidth & SetWidth(void)
Assign a value to Width data member.
EAttlist_linebreak TLinebreak
const TFontfamily & GetFontfamily(void) const
Get the Fontfamily member data.
TBackground & SetBackground(void)
Assign a value to Background data member.
EAttlist_mathvariant TMathvariant
TDepth & SetDepth(void)
Assign a value to Depth data member.
TLinebreak GetLinebreak(void) const
Get the Linebreak member data.
DECLARE_INTERNAL_TYPE_INFO()
void ResetMathcolor(void)
Reset Mathcolor data member.
EAttlist_indentalignfirst TIndentalignfirst
bool CanGetBackground(void) const
Check if it is safe to call GetBackground method.
bool CanGetAttlist(void) const
Check if it is safe to call GetAttlist method.
void ResetIndentshiftfirst(void)
Reset Indentshiftfirst data member.
bool CanGetIndentshift(void) const
Check if it is safe to call GetIndentshift method.
bool IsSetFontfamily(void) const
Check if a value has been assigned to Fontfamily data member.
void ResetMathsize(void)
Reset Mathsize data member.
TDir GetDir(void) const
Get the Dir member data.
TFontstyle & SetFontstyle(void)
Assign a value to Fontstyle data member.
bool CanGetDir(void) const
Check if it is safe to call GetDir method.
EAttlist_fontweight m_Fontweight
void ResetClass(void)
Reset Class data member.
TIndentalign GetIndentalign(void) const
Get the Indentalign member data.
TMathvariant & SetMathvariant(void)
Assign a value to Mathvariant data member.
EAttlist_linebreak m_Linebreak
const THref & GetHref(void) const
Get the Href member data.
const TBackground & GetBackground(void) const
Get the Background member data.
bool CanGetFontfamily(void) const
Check if it is safe to call GetFontfamily method.
string m_Indentshiftfirst
TFontsize & SetFontsize(void)
Assign a value to Fontsize data member.
TIndentshiftlast & SetIndentshiftlast(void)
Assign a value to Indentshiftlast data member.
TFontstyle GetFontstyle(void) const
Get the Fontstyle member data.
TIndentshift & SetIndentshift(void)
Assign a value to Indentshift data member.
bool CanGetMathcolor(void) const
Check if it is safe to call GetMathcolor method.
TDir & SetDir(void)
Assign a value to Dir data member.
void ResetColor(void)
Reset Color data member.
CRef< TAttlist > m_Attlist
bool CanGetIndentalignfirst(void) const
Check if it is safe to call GetIndentalignfirst method.
bool IsSetClass(void) const
Check if a value has been assigned to Class data member.
bool CanGetIndentshiftfirst(void) const
Check if it is safe to call GetIndentshiftfirst method.
bool IsSetIndentshift(void) const
Check if a value has been assigned to Indentshift data member.
EAttlist_indentalign m_Indentalign
bool CanGetLinebreak(void) const
Check if it is safe to call GetLinebreak method.
bool IsSetHref(void) const
Check if a value has been assigned to Href data member.
EAttlist_indentalignlast TIndentalignlast
void ResetHref(void)
Reset Href data member.
TIndentalignfirst & SetIndentalignfirst(void)
Assign a value to Indentalignfirst data member.
bool IsSetId(void) const
Check if a value has been assigned to Id data member.
virtual void Reset(void)
Reset the whole object.
TIndentalignlast GetIndentalignlast(void) const
Get the Indentalignlast member data.
void ResetIndentalignfirst(void)
Reset Indentalignfirst data member.
void ResetIndenttarget(void)
Reset Indenttarget data member.
const THeight & GetHeight(void) const
Get the Height member data.
void ResetFontsize(void)
Reset Fontsize data member.
const TFontsize & GetFontsize(void) const
Get the Fontsize member data.
const TMathsize & GetMathsize(void) const
Get the Mathsize member data.
bool CanGetMspace(void) const
Check if value of Mspace member is getatable.
void ResetIndentshiftlast(void)
Reset Indentshiftlast data member.
EAttlist_indentalignfirst
const TAttlist & GetAttlist(void) const
Get the Attlist member data.
@ eAttlist_indentalign_right
@ eAttlist_indentalign_id
@ eAttlist_indentalign_center
@ eAttlist_indentalign_left
@ eAttlist_indentalign_auto
@ eAttlist_mathvariant_fraktur
@ eAttlist_mathvariant_italic
@ eAttlist_mathvariant_monospace
@ eAttlist_mathvariant_bold_script
@ eAttlist_mathvariant_double_struck
@ eAttlist_mathvariant_tailed
@ eAttlist_mathvariant_stretched
@ eAttlist_mathvariant_initial
@ eAttlist_mathvariant_sans_serif
@ eAttlist_mathvariant_bold_italic
@ eAttlist_mathvariant_normal
@ eAttlist_mathvariant_script
@ eAttlist_mathvariant_bold_sans_serif
@ eAttlist_mathvariant_looped
@ eAttlist_mathvariant_bold
@ eAttlist_mathvariant_sans_serif_bold_italic
@ eAttlist_mathvariant_sans_serif_italic
@ eAttlist_mathvariant_bold_fraktur
@ eAttlist_fontweight_bold
@ eAttlist_fontweight_normal
@ eAttlist_fontstyle_normal
@ eAttlist_fontstyle_italic
@ eAttlist_indentalignlast_id
@ eAttlist_indentalignlast_auto
@ eAttlist_indentalignlast_left
@ eAttlist_indentalignlast_indentalign
@ eAttlist_indentalignlast_right
@ eAttlist_indentalignlast_center
@ eAttlist_linebreak_newline
@ eAttlist_linebreak_auto
@ eAttlist_linebreak_indentingnewline
@ eAttlist_linebreak_nobreak
@ eAttlist_linebreak_goodbreak
@ eAttlist_linebreak_badbreak
@ eAttlist_indentalignfirst_id
@ eAttlist_indentalignfirst_right
@ eAttlist_indentalignfirst_center
@ eAttlist_indentalignfirst_left
@ eAttlist_indentalignfirst_indentalign
@ eAttlist_indentalignfirst_auto