41 #ifndef OBJTOOLS_EUTILS_EFETCH_DECLARE_BASE_HPP
42 #define OBJTOOLS_EUTILS_EFETCH_DECLARE_BASE_HPP
54 #ifndef BEGIN_objects_SCOPE
55 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
56 # define END_objects_SCOPE END_SCOPE(objects)
479 virtual void Reset(
void);
533 m_Type = std::forward<CDeclare_Base::C_Attlist::TType>(
value);
564 if (!CanGetScope()) {
580 m_Scope = std::forward<CDeclare_Base::C_Attlist::TScope>(
value);
611 if (!CanGetNargs()) {
627 m_Nargs = std::forward<CDeclare_Base::C_Attlist::TNargs>(
value);
652 return IsSetOccurrence();
665 if (!CanGetOccurrence()) {
674 m_Occurrence =
value;
682 if (!IsSetOccurrence()) {
699 return IsSetEncoding();
705 if (!CanGetEncoding()) {
721 m_Encoding = std::forward<CDeclare_Base::C_Attlist::TEncoding>(
value);
729 if (!IsSetEncoding()) {
746 return IsSetDefinitionURL();
752 if (!CanGetDefinitionURL()) {
755 return m_DefinitionURL;
761 m_DefinitionURL =
value;
768 m_DefinitionURL = std::forward<CDeclare_Base::C_Attlist::TDefinitionURL>(
value);
776 if (!IsSetDefinitionURL()) {
781 return m_DefinitionURL;
static CRef< CScope > m_Scope
User-defined methods of the data storage class.
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.
C_Attlist & operator=(const C_Attlist &)
bool CanGetEncoding(void) const
Check if it is safe to call GetEncoding method.
DECLARE_INTERNAL_TYPE_INFO()
bool IsSetAttlist(void) const
Check if a value has been assigned to Attlist data member.
Tparent::CMemberIndex< E_memberIndex, 3 > TmemberIndex
EAttlist_occurrence TOccurrence
bool CanGetScope(void) const
Check if it is safe to call GetScope method.
TNargs & SetNargs(void)
Assign a value to Nargs data member.
virtual void Reset(void)
Reset the whole object.
bool CanGetDefinitionURL(void) const
Check if it is safe to call GetDefinitionURL method.
void ResetEncoding(void)
Reset Encoding data member.
bool IsSetEncoding(void) const
Check if a value has been assigned to Encoding data member.
CDeclare_Base & operator=(const CDeclare_Base &)
bool CanGetType(void) const
Check if it is safe to call GetType method.
DECLARE_INTERNAL_TYPE_INFO()
EAttlist_occurrence m_Occurrence
const TDefinitionURL & GetDefinitionURL(void) const
Get the DefinitionURL member data.
void ResetContExp(void)
Reset ContExp data member.
TOccurrence & SetOccurrence(void)
Assign a value to Occurrence data member.
Tparent::CMemberIndex< E_memberIndex, 7 > TmemberIndex
TScope & SetScope(void)
Assign a value to Scope data member.
list< CRef< C_E_ContExp > > m_ContExp
bool CanGetContExp(void) const
Check if it is safe to call GetContExp method.
void ResetDefinitionURL(void)
Reset DefinitionURL data member.
bool IsSetOccurrence(void) const
Check if a value has been assigned to Occurrence data member.
TDefinitionURL & SetDefinitionURL(void)
Assign a value to DefinitionURL data member.
void ResetAttlist(void)
Reset Attlist data member.
void ResetType(void)
Reset Type data member.
const TScope & GetScope(void) const
Get the Scope member data.
TContExp & SetContExp(void)
Assign a value to ContExp data member.
bool CanGetOccurrence(void) const
Check if it is safe to call GetOccurrence method.
const TNargs & GetNargs(void) const
Get the Nargs member data.
void ResetScope(void)
Reset Scope data member.
bool IsSetType(void) const
Check if a value has been assigned to Type data member.
bool IsSetScope(void) const
Check if a value has been assigned to Scope data member.
const TEncoding & GetEncoding(void) const
Get the Encoding member data.
list< CRef< C_E_ContExp > > TContExp
const TContExp & GetContExp(void) const
Get the ContExp member data.
bool CanGetNargs(void) const
Check if it is safe to call GetNargs method.
DECLARE_INTERNAL_TYPE_INFO()
CDeclare_Base(const CDeclare_Base &)
void ResetOccurrence(void)
Reset Occurrence data member.
TAttlist & SetAttlist(void)
Assign a value to Attlist data member.
TEncoding & SetEncoding(void)
Assign a value to Encoding data member.
CRef< TAttlist > m_Attlist
TOccurrence GetOccurrence(void) const
Get the Occurrence member data.
bool CanGetAttlist(void) const
Check if it is safe to call GetAttlist method.
TType & SetType(void)
Assign a value to Type data member.
const TType & GetType(void) const
Get the Type member data.
void Reset(void)
Reset the whole object.
virtual ~CDeclare_Base(void)
C_Attlist(const C_Attlist &)
const TAttlist & GetAttlist(void) const
Get the Attlist member data.
void ResetNargs(void)
Reset Nargs data member.
bool IsSetNargs(void) const
Check if a value has been assigned to Nargs data member.
bool IsSetDefinitionURL(void) const
Check if a value has been assigned to DefinitionURL data member.
bool IsSetContExp(void) const
Check if a value has been assigned to ContExp data member.
@ eAttlist_occurrence_function_model
@ eAttlist_occurrence_prefix
@ eAttlist_occurrence_infix