41 #ifndef OBJTOOLS_EUTILS_EFETCH_ANNOTATION_XML_BASE_HPP
42 #define OBJTOOLS_EUTILS_EFETCH_ANNOTATION_XML_BASE_HPP
52 #ifndef BEGIN_objects_SCOPE
53 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
54 # define END_objects_SCOPE END_SCOPE(objects)
625 virtual void Reset(
void);
679 m_Id = std::forward<CAnnotation_xml_Base::C_Attlist::TId>(
value);
726 m_Xref = std::forward<CAnnotation_xml_Base::C_Attlist::TXref>(
value);
757 if (!CanGetClass()) {
773 m_Class = std::forward<CAnnotation_xml_Base::C_Attlist::TClass>(
value);
804 if (!CanGetStyle()) {
820 m_Style = std::forward<CAnnotation_xml_Base::C_Attlist::TStyle>(
value);
867 m_Href = std::forward<CAnnotation_xml_Base::C_Attlist::THref>(
value);
914 m_Cd = std::forward<CAnnotation_xml_Base::C_Attlist::TCd>(
value);
961 m_Name = std::forward<CAnnotation_xml_Base::C_Attlist::TName>(
value);
986 return IsSetEncoding();
992 if (!CanGetEncoding()) {
1008 m_Encoding = std::forward<CAnnotation_xml_Base::C_Attlist::TEncoding>(
value);
1016 if (!IsSetEncoding()) {
1033 return IsSetDefinitionURL();
1039 if (!CanGetDefinitionURL()) {
1042 return m_DefinitionURL;
1048 m_DefinitionURL =
value;
1055 m_DefinitionURL = std::forward<CAnnotation_xml_Base::C_Attlist::TDefinitionURL>(
value);
1063 if (!IsSetDefinitionURL()) {
1068 return m_DefinitionURL;
1102 m_Src = std::forward<CAnnotation_xml_Base::C_Attlist::TSrc>(
value);
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.
CAnnotation_xml_Base & operator=(const CAnnotation_xml_Base &)
void ResetEncoding(void)
Reset Encoding data member.
void ResetSrc(void)
Reset Src data member.
DECLARE_INTERNAL_TYPE_INFO()
bool IsSetAttlist(void) const
Check if a value has been assigned to Attlist data member.
bool CanGetStyle(void) const
Check if it is safe to call GetStyle method.
TId & SetId(void)
Assign a value to Id data member.
TCd & SetCd(void)
Assign a value to Cd data member.
bool CanGetId(void) const
Check if it is safe to call GetId method.
bool IsSetClass(void) const
Check if a value has been assigned to Class data member.
void ResetName(void)
Reset Name data member.
bool IsSetStyle(void) const
Check if a value has been assigned to Style data member.
const TId & GetId(void) const
Get the Id member data.
bool CanGetAnnotation_xml(void) const
Check if it is safe to call GetAnnotation_xml method.
CAnnotation_xml_Base(const CAnnotation_xml_Base &)
bool IsSetXref(void) const
Check if a value has been assigned to Xref data member.
Tparent::CMemberIndex< E_memberIndex, 11 > TmemberIndex
bool CanGetHref(void) const
Check if it is safe to call GetHref method.
const TAnnotation_xml & GetAnnotation_xml(void) const
Get the Annotation_xml member data.
const TAttlist & GetAttlist(void) const
Get the Attlist member data.
bool CanGetDefinitionURL(void) const
Check if it is safe to call GetDefinitionURL method.
TEncoding & SetEncoding(void)
Assign a value to Encoding data member.
virtual ~CAnnotation_xml_Base(void)
void ResetDefinitionURL(void)
Reset DefinitionURL data member.
void ResetCd(void)
Reset Cd data member.
TStyle & SetStyle(void)
Assign a value to Style data member.
bool IsSetCd(void) const
Check if a value has been assigned to Cd data member.
TXref & SetXref(void)
Assign a value to Xref data member.
const TXref & GetXref(void) const
Get the Xref member data.
bool CanGetXref(void) const
Check if it is safe to call GetXref method.
void ResetId(void)
Reset Id data member.
bool CanGetEncoding(void) const
Check if it is safe to call GetEncoding method.
const THref & GetHref(void) const
Get the Href member data.
C_Attlist(const C_Attlist &)
void ResetAnnotation_xml(void)
Reset Annotation_xml data member.
void Reset(void)
Reset the whole object.
C_Attlist & operator=(const C_Attlist &)
bool CanGetClass(void) const
Check if it is safe to call GetClass method.
bool IsSetHref(void) const
Check if a value has been assigned to Href data member.
const TStyle & GetStyle(void) const
Get the Style member data.
const TName & GetName(void) const
Get the Name member data.
TDefinitionURL & SetDefinitionURL(void)
Assign a value to DefinitionURL data member.
bool CanGetSrc(void) const
Check if it is safe to call GetSrc method.
TSrc & SetSrc(void)
Assign a value to Src data member.
const TClass & GetClass(void) const
Get the Class member data.
const TDefinitionURL & GetDefinitionURL(void) const
Get the DefinitionURL member data.
DECLARE_INTERNAL_TYPE_INFO()
void ResetStyle(void)
Reset Style data member.
bool IsSetName(void) const
Check if a value has been assigned to Name data member.
CRef< TAttlist > m_Attlist
TAttlist & SetAttlist(void)
Assign a value to Attlist data member.
bool CanGetAttlist(void) const
Check if it is safe to call GetAttlist method.
TName & SetName(void)
Assign a value to Name data member.
bool IsSetAnnotation_xml(void) const
Check if a value has been assigned to Annotation_xml data member.
void ResetHref(void)
Reset Href data member.
bool IsSetDefinitionURL(void) const
Check if a value has been assigned to DefinitionURL data member.
bool IsSetEncoding(void) const
Check if a value has been assigned to Encoding data member.
TClass & SetClass(void)
Assign a value to Class data member.
CAnnotation_xml_Base(void)
virtual void Reset(void)
Reset the whole object.
bool IsSetSrc(void) const
Check if a value has been assigned to Src data member.
void ResetAttlist(void)
Reset Attlist data member.
bool IsSetId(void) const
Check if a value has been assigned to Id data member.
bool CanGetCd(void) const
Check if it is safe to call GetCd method.
TAnnotation_xml & SetAnnotation_xml(void)
Assign a value to Annotation_xml data member.
void ResetXref(void)
Reset Xref data member.
THref & SetHref(void)
Assign a value to Href data member.
const TSrc & GetSrc(void) const
Get the Src member data.
const TEncoding & GetEncoding(void) const
Get the Encoding member data.
const TCd & GetCd(void) const
Get the Cd member data.
Tparent::CMemberIndex< E_memberIndex, 3 > TmemberIndex
void ResetClass(void)
Reset Class data member.
bool CanGetName(void) const
Check if it is safe to call GetName method.
const GenericPointer< typename T::ValueType > T2 value