41 #ifndef eutils__OBJTOOLS_EUTILS_EFETCH_ARTICLEID_BASE_HPP
42 #define eutils__OBJTOOLS_EUTILS_EFETCH_ARTICLEID_BASE_HPP
50 #ifndef BEGIN_eutils_SCOPE
51 # define BEGIN_eutils_SCOPE BEGIN_SCOPE(eutils)
52 # define END_eutils_SCOPE END_SCOPE(eutils)
72 typedef NCBI_NS_NCBI::CSerialObject
Tparent;
87 class C_Attlist :
public NCBI_NS_NCBI::CSerialObject
89 typedef NCBI_NS_NCBI::CSerialObject
Tparent;
312 m_IdType = eAttlist_IdType_pubmed;
340 if (!IsSetIdType()) {
Article Ids can be many ids for an article.
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
void ResetIdType(void)
Reset IdType data member.
NCBI_NS_NCBI::CSerialObject Tparent
NCBI_NS_STD::string TArticleId
Tparent::CMemberIndex< E_memberIndex, 3 > TmemberIndex
void ResetAttlist(void)
Reset Attlist data member.
bool IsSetAttlist(void) const
Check if a value has been assigned to Attlist data member.
TIdType GetIdType(void) const
Get the IdType member data.
TIdType & SetIdType(void)
Assign a value to IdType data member.
C_Attlist(const C_Attlist &)
const TArticleId & GetArticleId(void) const
Get the ArticleId member data.
void SetDefaultIdType(void)
Assign default value to IdType data member.
CArticleId_Base(const CArticleId_Base &)
bool CanGetArticleId(void) const
Check if it is safe to call GetArticleId method.
Tparent::CMemberIndex< E_memberIndex, 2 > TmemberIndex
TAttlist & SetAttlist(void)
Assign a value to Attlist data member.
DECLARE_INTERNAL_TYPE_INFO()
NCBI_NS_STD::string m_ArticleId
NCBI_NS_NCBI::CRef< TAttlist > m_Attlist
bool IsSetArticleId(void) const
Check if a value has been assigned to ArticleId data member.
bool CanGetIdType(void) const
Check if it is safe to call GetIdType method.
bool CanGetAttlist(void) const
Check if it is safe to call GetAttlist method.
DECLARE_INTERNAL_TYPE_INFO()
virtual ~CArticleId_Base(void)
TArticleId & SetArticleId(void)
Assign a value to ArticleId data member.
void Reset(void)
Reset the whole object.
NCBI_NS_NCBI::CSerialObject Tparent
void ResetArticleId(void)
Reset ArticleId data member.
bool IsSetIdType(void) const
Check if a value has been assigned to IdType data member.
C_Attlist & operator=(const C_Attlist &)
const TAttlist & GetAttlist(void) const
Get the Attlist member data.
CArticleId_Base & operator=(const CArticleId_Base &)
virtual void Reset(void)
Reset the whole object.
@ eAttlist_IdType_medline
@ eAttlist_IdType_bookaccession
@ eAttlist_IdType_pmcbook
const GenericPointer< typename T::ValueType > T2 value
#define BEGIN_eutils_SCOPE