NCBI C++ ToolKit
|
Search Toolkit Book for CAuthor_Base::C_LC
#include <objtools/eutils/efetch/Author_.hpp>
Classes | |
class | C_LFIS |
C_LFIS –. More... | |
Public Types | |
enum | E_Choice { e_not_set = 0 , e_LFIS , e_CollectiveName } |
Choice variants. More... | |
enum | E_ChoiceStopper { e_MaxChoice = 3 } |
Maximum+1 value of the choice variant enumerator. More... | |
typedef C_LFIS | TLFIS |
typedef CCollectiveName | TCollectiveName |
Public Member Functions | |
C_LC (void) | |
~C_LC (void) | |
DECLARE_INTERNAL_TYPE_INFO () | |
void | Reset (void) |
Reset the whole object. More... | |
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 | IsLFIS (void) const |
Check if variant LFIS is selected. More... | |
const TLFIS & | GetLFIS (void) const |
Get the variant data. More... | |
TLFIS & | SetLFIS (void) |
Select the variant. More... | |
void | SetLFIS (TLFIS &value) |
Select the variant and set its data. More... | |
bool | IsCollectiveName (void) const |
Check if variant CollectiveName is selected. More... | |
const TCollectiveName & | GetCollectiveName (void) const |
Get the variant data. More... | |
TCollectiveName & | SetCollectiveName (void) |
Select the variant. More... | |
void | SetCollectiveName (TCollectiveName &value) |
Select the variant and set its data. More... | |
Static Public Member Functions | |
static NCBI_NS_STD::string | SelectionName (E_Choice index) |
Retrieve selection name (for diagnostic purposes). More... | |
Private Types | |
typedef NCBI_NS_NCBI::CSerialObject | Tparent |
Private Member Functions | |
C_LC (const C_LC &) | |
C_LC & | operator= (const C_LC &) |
void | DoSelect (E_Choice index, NCBI_NS_NCBI::CObjectMemoryPool *pool=0) |
Private Attributes | |
E_Choice | m_choice |
NCBI_NS_NCBI::CSerialObject * | m_object |
Static Private Attributes | |
static const char *const | sm_SelectionNames [] |
C_LC –.
Definition at line 236 of file Author_.hpp.