139 info->CodeVersion(22400);
140 info->DataSpec(ncbi::EDataSpec::eASN);
BEGIN_NAMED_BASE_CHOICE_INFO("Date", CDate)
#define DIAG_COMPILE_INFO
Make compile time diagnostic information object to use in CNcbiDiag and CException.
#define ADD_NAMED_REF_CHOICE_VARIANT(MemberAlias, MemberName, ClassName)
#define SET_CHOICE_MODULE(ModuleName)
#define ADD_NAMED_BUF_CHOICE_VARIANT(MemberAlias, MemberName, TypeMacro, TypeMacroArgs)
void AddReference(void) const
Add reference to object.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
virtual void ResetSelection(void)
Reset the selection (set it to e_not_set).
NCBI_NS_NCBI::CUnionBuffer< NCBI_NS_STD::string > m_string
virtual void Reset(void)
Reset the whole object.
TStd & SetStd(void)
Select the variant.
virtual ~CDate_Base(void)
NCBI_NS_NCBI::CSerialObject * m_object
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
static const char *const sm_SelectionNames[]
TStr & SetStr(void)
Select the variant.
const TStd & GetStd(void) const
Get the variant data.
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
static string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
@ e_not_set
No variant selected.
@ e_Str
for those unparsed dates
@ e_Std
use this if you can
const GenericPointer< typename T::ValueType > T2 value