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