41 #ifndef OBJECTS_MIM_MIM_REFERENCE_BASE_HPP
42 #define OBJECTS_MIM_MIM_REFERENCE_BASE_HPP
53 #ifndef BEGIN_objects_SCOPE
54 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
55 # define END_objects_SCOPE END_SCOPE(objects)
95 eType_personal_communication = 3,
96 eType_book_citation = 4
121 typedef list< CRef< CMim_page > >
TPages;
166 bool IsSetNumber(
void)
const;
173 bool CanGetNumber(
void)
const;
176 void ResetNumber(
void);
203 bool IsSetOrigNumber(
void)
const;
210 bool CanGetOrigNumber(
void)
const;
213 void ResetOrigNumber(
void);
240 bool IsSetType(
void)
const;
247 bool CanGetType(
void)
const;
250 void ResetType(
void);
256 TType GetType(
void)
const;
268 TType& SetType(
void);
277 bool IsSetAuthors(
void)
const;
284 bool CanGetAuthors(
void)
const;
287 void ResetAuthors(
void);
293 const TAuthors& GetAuthors(
void)
const;
308 bool IsSetPrimaryAuthor(
void)
const;
315 bool CanGetPrimaryAuthor(
void)
const;
318 void ResetPrimaryAuthor(
void);
346 bool IsSetOtherAuthors(
void)
const;
353 bool CanGetOtherAuthors(
void)
const;
356 void ResetOtherAuthors(
void);
384 bool IsSetCitationTitle(
void)
const;
391 bool CanGetCitationTitle(
void)
const;
394 void ResetCitationTitle(
void);
422 bool IsSetCitationType(
void)
const;
429 bool CanGetCitationType(
void)
const;
432 void ResetCitationType(
void);
459 bool IsSetBookTitle(
void)
const;
466 bool CanGetBookTitle(
void)
const;
469 void ResetBookTitle(
void);
497 bool IsSetEditors(
void)
const;
504 bool CanGetEditors(
void)
const;
507 void ResetEditors(
void);
513 const TEditors& GetEditors(
void)
const;
528 bool IsSetVolume(
void)
const;
535 bool CanGetVolume(
void)
const;
538 void ResetVolume(
void);
544 const TVolume& GetVolume(
void)
const;
566 bool IsSetEdition(
void)
const;
573 bool CanGetEdition(
void)
const;
576 void ResetEdition(
void);
582 const TEdition& GetEdition(
void)
const;
604 bool IsSetJournal(
void)
const;
611 bool CanGetJournal(
void)
const;
614 void ResetJournal(
void);
620 const TJournal& GetJournal(
void)
const;
642 bool IsSetSeries(
void)
const;
649 bool CanGetSeries(
void)
const;
652 void ResetSeries(
void);
658 const TSeries& GetSeries(
void)
const;
680 bool IsSetPublisher(
void)
const;
687 bool CanGetPublisher(
void)
const;
690 void ResetPublisher(
void);
718 bool IsSetPlace(
void)
const;
725 bool CanGetPlace(
void)
const;
728 void ResetPlace(
void);
734 const TPlace& GetPlace(
void)
const;
756 bool IsSetCommNote(
void)
const;
763 bool CanGetCommNote(
void)
const;
766 void ResetCommNote(
void);
772 const TCommNote& GetCommNote(
void)
const;
794 bool IsSetPubDate(
void)
const;
801 bool CanGetPubDate(
void)
const;
804 void ResetPubDate(
void);
810 const TPubDate& GetPubDate(
void)
const;
831 bool IsSetPages(
void)
const;
838 bool CanGetPages(
void)
const;
841 void ResetPages(
void);
847 const TPages& GetPages(
void)
const;
862 bool IsSetMiscInfo(
void)
const;
869 bool CanGetMiscInfo(
void)
const;
872 void ResetMiscInfo(
void);
878 const TMiscInfo& GetMiscInfo(
void)
const;
900 bool IsSetPubmedUID(
void)
const;
907 bool CanGetPubmedUID(
void)
const;
910 void ResetPubmedUID(
void);
937 bool IsSetAmbiguous(
void)
const;
944 bool CanGetAmbiguous(
void)
const;
947 void ResetAmbiguous(
void);
974 bool IsSetNoLink(
void)
const;
981 bool CanGetNoLink(
void)
const;
984 void ResetNoLink(
void);
1005 virtual void Reset(
void);
1506 m_Volume = std::forward<CMim_reference_Base::TVolume>(
value);
1647 m_Series = std::forward<CMim_reference_Base::TSeries>(
value);
1741 m_Place = std::forward<CMim_reference_Base::TPlace>(
value);
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.
bool IsSetVolume(void) const
Check if a value has been assigned to Volume data member.
TOtherAuthors & SetOtherAuthors(void)
Assign a value to OtherAuthors data member.
CMim_reference_Base(const CMim_reference_Base &)
list< CRef< CMim_author > > m_Editors
bool IsSetOrigNumber(void) const
Check if a value has been assigned to OrigNumber data member.
bool CanGetVolume(void) const
Check if it is safe to call GetVolume method.
bool IsSetSeries(void) const
Check if a value has been assigned to Series data member.
DECLARE_INTERNAL_TYPE_INFO()
list< CRef< CMim_author > > TAuthors
TAmbiguous GetAmbiguous(void) const
Get the Ambiguous member data.
bool IsSetPlace(void) const
Check if a value has been assigned to Place data member.
bool IsSetType(void) const
Check if a value has been assigned to Type data member.
TNoLink & SetNoLink(void)
Assign a value to NoLink data member.
const TPlace & GetPlace(void) const
Get the Place member data.
TOrigNumber & SetOrigNumber(void)
Assign a value to OrigNumber data member.
void ResetType(void)
Reset Type data member.
TPrimaryAuthor & SetPrimaryAuthor(void)
Assign a value to PrimaryAuthor data member.
TCitationTitle & SetCitationTitle(void)
Assign a value to CitationTitle data member.
CMim_reference_Base & operator=(const CMim_reference_Base &)
bool IsSetEdition(void) const
Check if a value has been assigned to Edition data member.
TJournal & SetJournal(void)
Assign a value to Journal data member.
const TAuthors & GetAuthors(void) const
Get the Authors member data.
bool IsSetMiscInfo(void) const
Check if a value has been assigned to MiscInfo data member.
bool IsSetPrimaryAuthor(void) const
Check if a value has been assigned to PrimaryAuthor data member.
void ResetPubDate(void)
Reset PubDate data member.
bool CanGetBookTitle(void) const
Check if it is safe to call GetBookTitle method.
TCommNote & SetCommNote(void)
Assign a value to CommNote data member.
TSeries & SetSeries(void)
Assign a value to Series data member.
const TSeries & GetSeries(void) const
Get the Series member data.
bool CanGetNoLink(void) const
Check if it is safe to call GetNoLink method.
TNumber & SetNumber(void)
Assign a value to Number data member.
bool CanGetOtherAuthors(void) const
Check if it is safe to call GetOtherAuthors method.
void ResetPubmedUID(void)
Reset PubmedUID data member.
TPlace & SetPlace(void)
Assign a value to Place data member.
TNumber GetNumber(void) const
Get the Number member data.
bool CanGetType(void) const
Check if it is safe to call GetType method.
bool IsSetPubDate(void) const
Check if a value has been assigned to PubDate data member.
TVolume & SetVolume(void)
Assign a value to Volume data member.
bool IsSetNumber(void) const
Check if a value has been assigned to Number data member.
bool IsSetCitationType(void) const
Check if a value has been assigned to CitationType data member.
TCitationType & SetCitationType(void)
Assign a value to CitationType data member.
const TCitationTitle & GetCitationTitle(void) const
Get the CitationTitle member data.
TEdition & SetEdition(void)
Assign a value to Edition data member.
TMiscInfo & SetMiscInfo(void)
Assign a value to MiscInfo data member.
TPubmedUID & SetPubmedUID(void)
Assign a value to PubmedUID data member.
const TOtherAuthors & GetOtherAuthors(void) const
Get the OtherAuthors member data.
bool CanGetPubmedUID(void) const
Check if it is safe to call GetPubmedUID method.
bool CanGetSeries(void) const
Check if it is safe to call GetSeries method.
bool IsSetPubmedUID(void) const
Check if a value has been assigned to PubmedUID data member.
bool CanGetMiscInfo(void) const
Check if it is safe to call GetMiscInfo method.
TPubDate & SetPubDate(void)
Assign a value to PubDate data member.
bool CanGetOrigNumber(void) const
Check if it is safe to call GetOrigNumber method.
const TVolume & GetVolume(void) const
Get the Volume member data.
bool CanGetNumber(void) const
Check if it is safe to call GetNumber method.
void ResetNumber(void)
Reset Number data member.
void ResetAmbiguous(void)
Reset Ambiguous data member.
bool IsSetOtherAuthors(void) const
Check if a value has been assigned to OtherAuthors data member.
void ResetOrigNumber(void)
Reset OrigNumber data member.
bool CanGetPlace(void) const
Check if it is safe to call GetPlace method.
list< CRef< CMim_author > > m_Authors
const TJournal & GetJournal(void) const
Get the Journal member data.
bool IsSetAmbiguous(void) const
Check if a value has been assigned to Ambiguous data member.
bool CanGetCitationType(void) const
Check if it is safe to call GetCitationType method.
bool CanGetCitationTitle(void) const
Check if it is safe to call GetCitationTitle method.
const TPubDate & GetPubDate(void) const
Get the PubDate member data.
TType & SetType(void)
Assign a value to Type data member.
bool IsSetNoLink(void) const
Check if a value has been assigned to NoLink data member.
bool IsSetCommNote(void) const
Check if a value has been assigned to CommNote data member.
bool CanGetPublisher(void) const
Check if it is safe to call GetPublisher method.
const TBookTitle & GetBookTitle(void) const
Get the BookTitle member data.
TEditors & SetEditors(void)
Assign a value to Editors data member.
bool CanGetEditors(void) const
Check if it is safe to call GetEditors method.
const TEdition & GetEdition(void) const
Get the Edition member data.
const TPublisher & GetPublisher(void) const
Get the Publisher member data.
bool CanGetEdition(void) const
Check if it is safe to call GetEdition method.
const TCommNote & GetCommNote(void) const
Get the CommNote member data.
void ResetNoLink(void)
Reset NoLink data member.
bool IsSetCitationTitle(void) const
Check if a value has been assigned to CitationTitle data member.
TPages & SetPages(void)
Assign a value to Pages data member.
bool IsSetBookTitle(void) const
Check if a value has been assigned to BookTitle data member.
bool CanGetAmbiguous(void) const
Check if it is safe to call GetAmbiguous method.
Tparent::CMemberIndex< E_memberIndex, 24 > TmemberIndex
TPublisher & SetPublisher(void)
Assign a value to Publisher data member.
bool CanGetPrimaryAuthor(void) const
Check if it is safe to call GetPrimaryAuthor method.
bool IsSetPublisher(void) const
Check if a value has been assigned to Publisher data member.
bool IsSetAuthors(void) const
Check if a value has been assigned to Authors data member.
TPubmedUID GetPubmedUID(void) const
Get the PubmedUID member data.
list< CRef< CMim_page > > TPages
bool IsSetJournal(void) const
Check if a value has been assigned to Journal data member.
const TEditors & GetEditors(void) const
Get the Editors member data.
bool CanGetCommNote(void) const
Check if it is safe to call GetCommNote method.
bool CanGetPages(void) const
Check if it is safe to call GetPages method.
bool IsSetEditors(void) const
Check if a value has been assigned to Editors data member.
bool CanGetPubDate(void) const
Check if it is safe to call GetPubDate method.
bool IsSetPages(void) const
Check if a value has been assigned to Pages data member.
bool CanGetAuthors(void) const
Check if it is safe to call GetAuthors method.
TOrigNumber GetOrigNumber(void) const
Get the OrigNumber member data.
bool CanGetJournal(void) const
Check if it is safe to call GetJournal method.
TCitationType GetCitationType(void) const
Get the CitationType member data.
TAuthors & SetAuthors(void)
Assign a value to Authors data member.
TType GetType(void) const
Get the Type member data.
CRef< TPubDate > m_PubDate
const TPages & GetPages(void) const
Get the Pages member data.
const TMiscInfo & GetMiscInfo(void) const
Get the MiscInfo member data.
TAmbiguous & SetAmbiguous(void)
Assign a value to Ambiguous data member.
void ResetCitationType(void)
Reset CitationType data member.
list< CRef< CMim_author > > TEditors
const TPrimaryAuthor & GetPrimaryAuthor(void) const
Get the PrimaryAuthor member data.
list< CRef< CMim_page > > m_Pages
TNoLink GetNoLink(void) const
Get the NoLink member data.
TBookTitle & SetBookTitle(void)
Assign a value to BookTitle data member.
const GenericPointer< typename T::ValueType > T2 value