NCBI C++ ToolKit
Public Member Functions | Private Types | Private Member Functions | List of all members

Search Toolkit Book for CPubDate

CPubDate –. More...

#include <objtools/eutils/efetch/PubDate.hpp>

+ Inheritance diagram for CPubDate:
+ Collaboration diagram for CPubDate:

Public Member Functions

 CPubDate (void)
 ~CPubDate (void)
- Public Member Functions inherited from CPubDate_Base
 CPubDate_Base (void)
virtual ~CPubDate_Base (void)
virtual void Reset (void)
 Reset the whole object. More...
virtual void ResetSelection (void)
 Reset the selection (set it to e_not_set). More...
E_Choice Which (void) const
 Which variant is currently selected. More...
void CheckSelected (E_Choice index) const
 Verify selection, throw exception if it differs from the expected. More...
void ThrowInvalidSelection (E_Choice index) const
 Throw 'InvalidSelection' exception. More...
void Select (E_Choice index, NCBI_NS_NCBI::EResetVariant reset=NCBI_NS_NCBI::eDoResetVariant)
 Select the requested variant if needed. More...
void Select (E_Choice index, NCBI_NS_NCBI::EResetVariant reset, NCBI_NS_NCBI::CObjectMemoryPool *pool)
 Select the requested variant if needed, allocating CObject variants from memory pool. More...
bool IsYM (void) const
 Check if variant YM is selected. More...
const TYMGetYM (void) const
 Get the variant data. More...
TYMSetYM (void)
 Select the variant. More...
void SetYM (TYM &value)
 Select the variant and set its data. More...
bool IsMedlineDate (void) const
 Check if variant MedlineDate is selected. More...
const TMedlineDateGetMedlineDate (void) const
 Get the variant data. More...
TMedlineDateSetMedlineDate (void)
 Select the variant. More...
void SetMedlineDate (TMedlineDate &value)
 Select the variant and set its data. More...

Private Types

typedef CPubDate_Base Tparent

Private Member Functions

 CPubDate (const CPubDate &value)
CPubDateoperator= (const CPubDate &value)

Additional Inherited Members

- Public Types inherited from CPubDate_Base
enum  E_Choice { e_not_set = 0 , e_YM , e_MedlineDate }
 Choice variants. More...
enum  E_ChoiceStopper { e_MaxChoice = 3 }
 Maximum+1 value of the choice variant enumerator. More...
typedef C_YM TYM
typedef CMedlineDate TMedlineDate
- Static Public Member Functions inherited from CPubDate_Base
static NCBI_NS_STD::string SelectionName (E_Choice index)
 Retrieve selection name (for diagnostic purposes). More...

Detailed Description

CPubDate –.

Definition at line 63 of file PubDate.hpp.

The documentation for this class was generated from the following files:
Modified on Fri Mar 01 10:05:32 2024 by rev. 669887