41 #ifndef OBJECTS_GBSEQ_GBREFERENCE_BASE_HPP
42 #define OBJECTS_GBSEQ_GBREFERENCE_BASE_HPP
54 #ifndef BEGIN_objects_SCOPE
55 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
56 # define END_objects_SCOPE END_SCOPE(objects)
97 typedef list< CRef< CGBXref > >
TXref;
126 bool IsSetReference(
void)
const;
133 bool CanGetReference(
void)
const;
136 void ResetReference(
void);
164 bool IsSetPosition(
void)
const;
171 bool CanGetPosition(
void)
const;
174 void ResetPosition(
void);
180 const TPosition& GetPosition(
void)
const;
202 bool IsSetAuthors(
void)
const;
209 bool CanGetAuthors(
void)
const;
212 void ResetAuthors(
void);
218 const TAuthors& GetAuthors(
void)
const;
233 bool IsSetConsortium(
void)
const;
240 bool CanGetConsortium(
void)
const;
243 void ResetConsortium(
void);
271 bool IsSetTitle(
void)
const;
278 bool CanGetTitle(
void)
const;
281 void ResetTitle(
void);
309 bool IsSetJournal(
void)
const;
316 bool CanGetJournal(
void)
const;
319 void ResetJournal(
void);
325 const TJournal& GetJournal(
void)
const;
347 bool IsSetXref(
void)
const;
354 bool CanGetXref(
void)
const;
357 void ResetXref(
void);
363 const TXref& GetXref(
void)
const;
369 TXref& SetXref(
void);
378 bool IsSetPubmed(
void)
const;
385 bool CanGetPubmed(
void)
const;
388 void ResetPubmed(
void);
415 bool IsSetRemark(
void)
const;
422 bool CanGetRemark(
void)
const;
425 void ResetRemark(
void);
431 const TRemark& GetRemark(
void)
const;
447 virtual void Reset(
void);
674 m_Title = std::forward<CGBReference_Base::TTitle>(
value);
User-defined methods of the data storage class.
Base class for all serializable objects.
static char UnassignedByte(void)
void ThrowUnassigned(TMemberIndex index) const
static string UnassignedString(void)
NCBI_XOBJUTIL_EXPORT string GetTitle(const CBioseq_Handle &hnd, TGetTitleFlags flags=0)
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.
#define NCBI_GBSEQ_EXPORT
list< CRef< CGBXref > > TXref
const TJournal & GetJournal(void) const
Get the Journal member data.
bool IsSetReference(void) const
Check if a value has been assigned to Reference data member.
bool IsSetTitle(void) const
Check if a value has been assigned to Title data member.
list< CGBAuthor > TAuthors
TJournal & SetJournal(void)
Assign a value to Journal data member.
TPubmed GetPubmed(void) const
Get the Pubmed member data.
TReference & SetReference(void)
Assign a value to Reference data member.
TAuthors & SetAuthors(void)
Assign a value to Authors data member.
TXref & SetXref(void)
Assign a value to Xref data member.
bool IsSetPosition(void) const
Check if a value has been assigned to Position data member.
TPubmed & SetPubmed(void)
Assign a value to Pubmed data member.
TPosition & SetPosition(void)
Assign a value to Position data member.
bool CanGetConsortium(void) const
Check if it is safe to call GetConsortium method.
const TAuthors & GetAuthors(void) const
Get the Authors member data.
bool IsSetAuthors(void) const
Check if a value has been assigned to Authors data member.
bool IsSetJournal(void) const
Check if a value has been assigned to Journal data member.
const TPosition & GetPosition(void) const
Get the Position member data.
DECLARE_INTERNAL_TYPE_INFO()
bool IsSetXref(void) const
Check if a value has been assigned to Xref data member.
CGBReference_Base(const CGBReference_Base &)
bool CanGetPubmed(void) const
Check if it is safe to call GetPubmed method.
TConsortium & SetConsortium(void)
Assign a value to Consortium data member.
bool CanGetXref(void) const
Check if it is safe to call GetXref method.
bool IsSetPubmed(void) const
Check if a value has been assigned to Pubmed data member.
Tparent::CMemberIndex< E_memberIndex, 10 > TmemberIndex
bool IsSetRemark(void) const
Check if a value has been assigned to Remark data member.
bool CanGetJournal(void) const
Check if it is safe to call GetJournal method.
bool IsSetConsortium(void) const
Check if a value has been assigned to Consortium data member.
bool CanGetReference(void) const
Check if it is safe to call GetReference method.
TRemark & SetRemark(void)
Assign a value to Remark data member.
const TRemark & GetRemark(void) const
Get the Remark member data.
CGBReference_Base & operator=(const CGBReference_Base &)
list< CRef< CGBXref > > m_Xref
bool CanGetRemark(void) const
Check if it is safe to call GetRemark method.
const TXref & GetXref(void) const
Get the Xref member data.
const TTitle & GetTitle(void) const
Get the Title member data.
bool CanGetPosition(void) const
Check if it is safe to call GetPosition method.
bool CanGetTitle(void) const
Check if it is safe to call GetTitle method.
bool CanGetAuthors(void) const
Check if it is safe to call GetAuthors method.
TTitle & SetTitle(void)
Assign a value to Title data member.
const TReference & GetReference(void) const
Get the Reference member data.
list< CGBAuthor > m_Authors
void ResetPubmed(void)
Reset Pubmed data member.
const TConsortium & GetConsortium(void) const
Get the Consortium member data.
const GenericPointer< typename T::ValueType > T2 value
static void SetTitle(CRef< CSeq_entry > entry, string title)