41 #ifndef OBJTOOLS_EUTILS_EFETCH_MGLYPH_BASE_HPP
42 #define OBJTOOLS_EUTILS_EFETCH_MGLYPH_BASE_HPP
52 #ifndef BEGIN_objects_SCOPE
53 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
54 # define END_objects_SCOPE END_SCOPE(objects)
1094 virtual void Reset(
void);
1147 m_Id = std::forward<CMglyph_Base::C_Attlist::TId>(
value);
1178 if (!CanGetXref()) {
1194 m_Xref = std::forward<CMglyph_Base::C_Attlist::TXref>(
value);
1219 return IsSetClass();
1225 if (!CanGetClass()) {
1241 m_Class = std::forward<CMglyph_Base::C_Attlist::TClass>(
value);
1249 if (!IsSetClass()) {
1266 return IsSetStyle();
1272 if (!CanGetStyle()) {
1288 m_Style = std::forward<CMglyph_Base::C_Attlist::TStyle>(
value);
1296 if (!IsSetStyle()) {
1319 if (!CanGetHref()) {
1335 m_Href = std::forward<CMglyph_Base::C_Attlist::THref>(
value);
1360 return IsSetMathcolor();
1366 if (!CanGetMathcolor()) {
1375 m_Mathcolor =
value;
1382 m_Mathcolor = std::forward<CMglyph_Base::C_Attlist::TMathcolor>(
value);
1390 if (!IsSetMathcolor()) {
1407 return IsSetMathbackground();
1413 if (!CanGetMathbackground()) {
1416 return m_Mathbackground;
1422 m_Mathbackground =
value;
1429 m_Mathbackground = std::forward<CMglyph_Base::C_Attlist::TMathbackground>(
value);
1437 if (!IsSetMathbackground()) {
1442 return m_Mathbackground;
1476 m_Src = std::forward<CMglyph_Base::C_Attlist::TSrc>(
value);
1501 return IsSetWidth();
1507 if (!CanGetWidth()) {
1523 m_Width = std::forward<CMglyph_Base::C_Attlist::TWidth>(
value);
1531 if (!IsSetWidth()) {
1548 return IsSetHeight();
1554 if (!CanGetHeight()) {
1570 m_Height = std::forward<CMglyph_Base::C_Attlist::THeight>(
value);
1578 if (!IsSetHeight()) {
1595 return IsSetValign();
1601 if (!CanGetValign()) {
1617 m_Valign = std::forward<CMglyph_Base::C_Attlist::TValign>(
value);
1625 if (!IsSetValign()) {
1664 m_Alt = std::forward<CMglyph_Base::C_Attlist::TAlt>(
value);
1689 return IsSetIndex();
1695 if (!CanGetIndex()) {
1711 m_Index = std::forward<CMglyph_Base::C_Attlist::TIndex>(
value);
1719 if (!IsSetIndex()) {
1736 return IsSetMathvariant();
1749 if (!CanGetMathvariant()) {
1752 return m_Mathvariant;
1758 m_Mathvariant =
value;
1766 if (!IsSetMathvariant()) {
1771 return m_Mathvariant;
1783 return IsSetMathsize();
1789 if (!CanGetMathsize()) {
1805 m_Mathsize = std::forward<CMglyph_Base::C_Attlist::TMathsize>(
value);
1813 if (!IsSetMathsize()) {
1830 return IsSetFontfamily();
1836 if (!CanGetFontfamily()) {
1839 return m_Fontfamily;
1845 m_Fontfamily =
value;
1852 m_Fontfamily = std::forward<CMglyph_Base::C_Attlist::TFontfamily>(
value);
1860 if (!IsSetFontfamily()) {
1865 return m_Fontfamily;
1877 return IsSetFontweight();
1890 if (!CanGetFontweight()) {
1893 return m_Fontweight;
1899 m_Fontweight =
value;
1907 if (!IsSetFontweight()) {
1912 return m_Fontweight;
1924 return IsSetFontstyle();
1937 if (!CanGetFontstyle()) {
1946 m_Fontstyle =
value;
1954 if (!IsSetFontstyle()) {
1971 return IsSetFontsize();
1977 if (!CanGetFontsize()) {
1993 m_Fontsize = std::forward<CMglyph_Base::C_Attlist::TFontsize>(
value);
2001 if (!IsSetFontsize()) {
2018 return IsSetColor();
2024 if (!CanGetColor()) {
2040 m_Color = std::forward<CMglyph_Base::C_Attlist::TColor>(
value);
2048 if (!IsSetColor()) {
2065 return IsSetBackground();
2071 if (!CanGetBackground()) {
2074 return m_Background;
2080 m_Background =
value;
2087 m_Background = std::forward<CMglyph_Base::C_Attlist::TBackground>(
value);
2095 if (!IsSetBackground()) {
2100 return m_Background;
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.
void ResetMglyph(void)
Reset Mglyph data member.
TMathvariant GetMathvariant(void) const
Get the Mathvariant member data.
bool IsSetXref(void) const
Check if a value has been assigned to Xref data member.
void ResetId(void)
Reset Id data member.
TMathvariant & SetMathvariant(void)
Assign a value to Mathvariant data member.
void ResetFontstyle(void)
Reset Fontstyle data member.
bool IsSetFontstyle(void) const
Check if a value has been assigned to Fontstyle data member.
const THref & GetHref(void) const
Get the Href member data.
const TMathbackground & GetMathbackground(void) const
Get the Mathbackground member data.
Tparent::CMemberIndex< E_memberIndex, 3 > TmemberIndex
void ResetAttlist(void)
Reset Attlist data member.
const TMathcolor & GetMathcolor(void) const
Get the Mathcolor member data.
bool IsSetAttlist(void) const
Check if a value has been assigned to Attlist data member.
TFontweight & SetFontweight(void)
Assign a value to Fontweight data member.
const TBackground & GetBackground(void) const
Get the Background member data.
bool CanGetFontfamily(void) const
Check if it is safe to call GetFontfamily method.
void ResetMathcolor(void)
Reset Mathcolor data member.
void ResetFontfamily(void)
Reset Fontfamily data member.
void ResetIndex(void)
Reset Index data member.
DECLARE_INTERNAL_TYPE_INFO()
bool CanGetFontstyle(void) const
Check if it is safe to call GetFontstyle method.
void ResetColor(void)
Reset Color data member.
EAttlist_fontweight TFontweight
const TValign & GetValign(void) const
Get the Valign member data.
bool CanGetAlt(void) const
Check if it is safe to call GetAlt method.
void ResetAlt(void)
Reset Alt data member.
CRef< TAttlist > m_Attlist
TAlt & SetAlt(void)
Assign a value to Alt data member.
void ResetStyle(void)
Reset Style data member.
TIndex & SetIndex(void)
Assign a value to Index data member.
TWidth & SetWidth(void)
Assign a value to Width data member.
TValign & SetValign(void)
Assign a value to Valign data member.
bool IsSetStyle(void) const
Check if a value has been assigned to Style data member.
TId & SetId(void)
Assign a value to Id data member.
bool IsSetSrc(void) const
Check if a value has been assigned to Src data member.
bool IsSetHeight(void) const
Check if a value has been assigned to Height data member.
const TIndex & GetIndex(void) const
Get the Index member data.
EAttlist_mathvariant TMathvariant
bool CanGetIndex(void) const
Check if it is safe to call GetIndex method.
void ResetMathsize(void)
Reset Mathsize data member.
bool IsSetIndex(void) const
Check if a value has been assigned to Index data member.
const TClass & GetClass(void) const
Get the Class member data.
bool CanGetClass(void) const
Check if it is safe to call GetClass method.
void ResetClass(void)
Reset Class data member.
virtual ~CMglyph_Base(void)
bool IsSetMathcolor(void) const
Check if a value has been assigned to Mathcolor data member.
C_Attlist & operator=(const C_Attlist &)
bool CanGetId(void) const
Check if it is safe to call GetId method.
THeight & SetHeight(void)
Assign a value to Height data member.
void SetMglyph(void)
Set NULL data member (assign 'NULL' value to Mglyph data member).
void ResetHref(void)
Reset Href data member.
TMathsize & SetMathsize(void)
Assign a value to Mathsize data member.
bool IsSetFontsize(void) const
Check if a value has been assigned to Fontsize data member.
void ResetValign(void)
Reset Valign data member.
void ResetFontsize(void)
Reset Fontsize data member.
bool CanGetMathvariant(void) const
Check if it is safe to call GetMathvariant method.
CMglyph_Base(const CMglyph_Base &)
bool IsSetFontweight(void) const
Check if a value has been assigned to Fontweight data member.
CMglyph_Base & operator=(const CMglyph_Base &)
EAttlist_fontstyle m_Fontstyle
bool IsSetAlt(void) const
Check if a value has been assigned to Alt data member.
TMathcolor & SetMathcolor(void)
Assign a value to Mathcolor data member.
bool IsSetClass(void) const
Check if a value has been assigned to Class data member.
bool CanGetHref(void) const
Check if it is safe to call GetHref method.
bool CanGetXref(void) const
Check if it is safe to call GetXref method.
TBackground & SetBackground(void)
Assign a value to Background data member.
const TAlt & GetAlt(void) const
Get the Alt member data.
Tparent::CMemberIndex< E_memberIndex, 22 > TmemberIndex
const TColor & GetColor(void) const
Get the Color member data.
const TFontfamily & GetFontfamily(void) const
Get the Fontfamily member data.
bool CanGetSrc(void) const
Check if it is safe to call GetSrc method.
EAttlist_mathvariant m_Mathvariant
bool CanGetFontweight(void) const
Check if it is safe to call GetFontweight method.
bool IsSetMglyph(void) const
Check if a value has been assigned to Mglyph data member.
const TWidth & GetWidth(void) const
Get the Width member data.
TXref & SetXref(void)
Assign a value to Xref data member.
const TFontsize & GetFontsize(void) const
Get the Fontsize member data.
void ResetSrc(void)
Reset Src data member.
const THeight & GetHeight(void) const
Get the Height member data.
const TStyle & GetStyle(void) const
Get the Style member data.
void ResetMathvariant(void)
Reset Mathvariant data member.
TSrc & SetSrc(void)
Assign a value to Src data member.
TStyle & SetStyle(void)
Assign a value to Style data member.
bool IsSetColor(void) const
Check if a value has been assigned to Color data member.
const TSrc & GetSrc(void) const
Get the Src member data.
bool IsSetHref(void) const
Check if a value has been assigned to Href data member.
C_Attlist(const C_Attlist &)
bool IsSetMathsize(void) const
Check if a value has been assigned to Mathsize data member.
TFontweight GetFontweight(void) const
Get the Fontweight member data.
THref & SetHref(void)
Assign a value to Href data member.
bool CanGetAttlist(void) const
Check if it is safe to call GetAttlist method.
bool IsSetValign(void) const
Check if a value has been assigned to Valign data member.
EAttlist_fontstyle TFontstyle
DECLARE_INTERNAL_TYPE_INFO()
void ResetFontweight(void)
Reset Fontweight data member.
void ResetWidth(void)
Reset Width data member.
const TAttlist & GetAttlist(void) const
Get the Attlist member data.
bool CanGetBackground(void) const
Check if it is safe to call GetBackground method.
bool CanGetWidth(void) const
Check if it is safe to call GetWidth method.
bool IsSetId(void) const
Check if a value has been assigned to Id data member.
void ResetBackground(void)
Reset Background data member.
TMathbackground & SetMathbackground(void)
Assign a value to Mathbackground data member.
TClass & SetClass(void)
Assign a value to Class data member.
virtual void Reset(void)
Reset the whole object.
bool CanGetValign(void) const
Check if it is safe to call GetValign method.
bool CanGetMathsize(void) const
Check if it is safe to call GetMathsize method.
bool CanGetColor(void) const
Check if it is safe to call GetColor method.
bool CanGetHeight(void) const
Check if it is safe to call GetHeight method.
TColor & SetColor(void)
Assign a value to Color data member.
const TMathsize & GetMathsize(void) const
Get the Mathsize member data.
TFontstyle GetFontstyle(void) const
Get the Fontstyle member data.
bool IsSetWidth(void) const
Check if a value has been assigned to Width data member.
bool CanGetStyle(void) const
Check if it is safe to call GetStyle method.
EAttlist_fontweight m_Fontweight
bool CanGetMathcolor(void) const
Check if it is safe to call GetMathcolor method.
void ResetHeight(void)
Reset Height data member.
bool IsSetMathvariant(void) const
Check if a value has been assigned to Mathvariant data member.
const TId & GetId(void) const
Get the Id member data.
bool CanGetMathbackground(void) const
Check if it is safe to call GetMathbackground method.
bool CanGetFontsize(void) const
Check if it is safe to call GetFontsize method.
TFontfamily & SetFontfamily(void)
Assign a value to Fontfamily data member.
TFontsize & SetFontsize(void)
Assign a value to Fontsize data member.
void Reset(void)
Reset the whole object.
bool IsSetBackground(void) const
Check if a value has been assigned to Background data member.
const TXref & GetXref(void) const
Get the Xref member data.
TAttlist & SetAttlist(void)
Assign a value to Attlist data member.
void ResetMathbackground(void)
Reset Mathbackground data member.
bool IsSetMathbackground(void) const
Check if a value has been assigned to Mathbackground data member.
void ResetXref(void)
Reset Xref data member.
bool IsSetFontfamily(void) const
Check if a value has been assigned to Fontfamily data member.
TFontstyle & SetFontstyle(void)
Assign a value to Fontstyle data member.
bool CanGetMglyph(void) const
Check if value of Mglyph member is getatable.
@ eAttlist_mathvariant_sans_serif
@ eAttlist_mathvariant_stretched
@ eAttlist_mathvariant_bold_script
@ eAttlist_mathvariant_initial
@ eAttlist_mathvariant_sans_serif_italic
@ eAttlist_mathvariant_script
@ eAttlist_mathvariant_bold_italic
@ eAttlist_mathvariant_normal
@ eAttlist_mathvariant_bold_fraktur
@ eAttlist_mathvariant_monospace
@ eAttlist_mathvariant_italic
@ eAttlist_mathvariant_sans_serif_bold_italic
@ eAttlist_mathvariant_looped
@ eAttlist_mathvariant_tailed
@ eAttlist_mathvariant_bold
@ eAttlist_mathvariant_fraktur
@ eAttlist_mathvariant_double_struck
@ eAttlist_mathvariant_bold_sans_serif
@ eAttlist_fontweight_normal
@ eAttlist_fontweight_bold
@ eAttlist_fontstyle_normal
@ eAttlist_fontstyle_italic