41 #ifndef OBJECTS_BIBLIO_IMPRINT_BASE_HPP
42 #define OBJECTS_BIBLIO_IMPRINT_BASE_HPP
53 #ifndef BEGIN_objects_SCOPE
54 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
55 # define END_objects_SCOPE END_SCOPE(objects)
95 ePrepub_submitted = 1,
150 bool IsSetDate(
void)
const;
157 bool CanGetDate(
void)
const;
160 void ResetDate(
void);
166 const TDate& GetDate(
void)
const;
178 TDate& SetDate(
void);
187 bool IsSetVolume(
void)
const;
194 bool CanGetVolume(
void)
const;
197 void ResetVolume(
void);
203 const TVolume& GetVolume(
void)
const;
225 bool IsSetIssue(
void)
const;
232 bool CanGetIssue(
void)
const;
235 void ResetIssue(
void);
241 const TIssue& GetIssue(
void)
const;
263 bool IsSetPages(
void)
const;
270 bool CanGetPages(
void)
const;
273 void ResetPages(
void);
279 const TPages& GetPages(
void)
const;
301 bool IsSetSection(
void)
const;
308 bool CanGetSection(
void)
const;
311 void ResetSection(
void);
317 const TSection& GetSection(
void)
const;
340 bool IsSetPub(
void)
const;
347 bool CanGetPub(
void)
const;
356 const TPub& GetPub(
void)
const;
378 bool IsSetCprt(
void)
const;
385 bool CanGetCprt(
void)
const;
388 void ResetCprt(
void);
394 const TCprt& GetCprt(
void)
const;
406 TCprt& SetCprt(
void);
416 bool IsSetPart_sup(
void)
const;
423 bool CanGetPart_sup(
void)
const;
426 void ResetPart_sup(
void);
432 const TPart_sup& GetPart_sup(
void)
const;
455 bool IsSetLanguage(
void)
const;
462 bool CanGetLanguage(
void)
const;
465 void ResetLanguage(
void);
468 void SetDefaultLanguage(
void);
474 const TLanguage& GetLanguage(
void)
const;
496 bool IsSetPrepub(
void)
const;
503 bool CanGetPrepub(
void)
const;
506 void ResetPrepub(
void);
534 bool IsSetPart_supi(
void)
const;
541 bool CanGetPart_supi(
void)
const;
544 void ResetPart_supi(
void);
573 bool IsSetRetract(
void)
const;
580 bool CanGetRetract(
void)
const;
583 void ResetRetract(
void);
589 const TRetract& GetRetract(
void)
const;
611 bool IsSetPubstatus(
void)
const;
618 bool CanGetPubstatus(
void)
const;
621 void ResetPubstatus(
void);
649 bool IsSetHistory(
void)
const;
656 bool CanGetHistory(
void)
const;
659 void ResetHistory(
void);
665 const THistory& GetHistory(
void)
const;
680 virtual void Reset(
void);
936 return m_Pub.NotEmpty();
User-defined methods of the data storage class.
@Affil.hpp 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.
#define NCBI_BIBLIO_EXPORT
bool IsSetVolume(void) const
Check if a value has been assigned to Volume data member.
const TPart_supi & GetPart_supi(void) const
Get the Part_supi member data.
bool CanGetHistory(void) const
Check if it is safe to call GetHistory method.
TVolume & SetVolume(void)
Assign a value to Volume data member.
const TCprt & GetCprt(void) const
Get the Cprt member data.
bool CanGetLanguage(void) const
Check if it is safe to call GetLanguage method.
const TVolume & GetVolume(void) const
Get the Volume member data.
const TPages & GetPages(void) const
Get the Pages member data.
bool IsSetPrepub(void) const
Check if a value has been assigned to Prepub data member.
bool IsSetPub(void) const
publisher, required for book Check if a value has been assigned to Pub data member.
bool CanGetPubstatus(void) const
Check if it is safe to call GetPubstatus method.
TSection & SetSection(void)
Assign a value to Section data member.
const TLanguage & GetLanguage(void) const
Get the Language member data.
bool IsSetHistory(void) const
dates for this record Check if a value has been assigned to History data member.
const TIssue & GetIssue(void) const
Get the Issue member data.
bool CanGetPrepub(void) const
Check if it is safe to call GetPrepub method.
bool CanGetPages(void) const
Check if it is safe to call GetPages method.
void ResetDate(void)
Reset Date data member.
CRef< TRetract > m_Retract
const THistory & GetHistory(void) const
Get the History member data.
DECLARE_INTERNAL_TYPE_INFO()
TPrepub GetPrepub(void) const
Get the Prepub member data.
bool IsSetPubstatus(void) const
current status of this publication Check if a value has been assigned to Pubstatus data member.
void ResetPrepub(void)
Reset Prepub data member.
const TPart_sup & GetPart_sup(void) const
Get the Part_sup member data.
bool IsSetLanguage(void) const
put here for simplicity Check if a value has been assigned to Language data member.
const TPub & GetPub(void) const
Get the Pub member data.
bool CanGetSection(void) const
Check if it is safe to call GetSection method.
bool CanGetVolume(void) const
Check if it is safe to call GetVolume method.
bool CanGetDate(void) const
Check if it is safe to call GetDate method.
TDate & SetDate(void)
Assign a value to Date data member.
bool IsSetRetract(void) const
retraction info Check if a value has been assigned to Retract data member.
void ResetLanguage(void)
Reset Language data member.
TLanguage & SetLanguage(void)
Assign a value to Language data member.
TPart_sup & SetPart_sup(void)
Assign a value to Part_sup data member.
bool CanGetPub(void) const
Check if it is safe to call GetPub method.
bool IsSetIssue(void) const
Check if a value has been assigned to Issue data member.
const TRetract & GetRetract(void) const
Get the Retract member data.
TPubstatus & SetPubstatus(void)
Assign a value to Pubstatus data member.
TIssue & SetIssue(void)
Assign a value to Issue data member.
CImprint_Base & operator=(const CImprint_Base &)
bool CanGetPart_sup(void) const
Check if it is safe to call GetPart_sup method.
bool CanGetRetract(void) const
Check if it is safe to call GetRetract method.
bool IsSetDate(void) const
date of publication Check if a value has been assigned to Date data member.
CRef< THistory > m_History
void SetDefaultLanguage(void)
Assign default value to Language data member.
const TSection & GetSection(void) const
Get the Section member data.
EPrepub
for prepublication citations
TPages & SetPages(void)
Assign a value to Pages data member.
CImprint_Base(const CImprint_Base &)
bool IsSetPart_sup(void) const
part/sup of volume Check if a value has been assigned to Part_sup data member.
bool IsSetSection(void) const
Check if a value has been assigned to Section data member.
void ResetPubstatus(void)
Reset Pubstatus data member.
const TDate & GetDate(void) const
Get the Date member data.
bool IsSetCprt(void) const
copyright date, " " " Check if a value has been assigned to Cprt data member.
TPart_supi & SetPart_supi(void)
Assign a value to Part_supi data member.
Tparent::CMemberIndex< E_memberIndex, 15 > TmemberIndex
bool IsSetPart_supi(void) const
part/sup on issue Check if a value has been assigned to Part_supi data member.
bool CanGetPart_supi(void) const
Check if it is safe to call GetPart_supi method.
bool CanGetCprt(void) const
Check if it is safe to call GetCprt method.
bool IsSetPages(void) const
Check if a value has been assigned to Pages data member.
TPrepub & SetPrepub(void)
Assign a value to Prepub data member.
TPubstatus GetPubstatus(void) const
Get the Pubstatus member data.
CPubStatusDateSet THistory
bool CanGetIssue(void) const
Check if it is safe to call GetIssue method.
unsigned int
A callback function used to compare two keys in a database.
const GenericPointer< typename T::ValueType > T2 value