57 (*m_StartPage).Reset();
96 return (*m_MedlinePgn);
114 info->CodeVersion(22400);
115 info->DataSpec(ncbi::EDataSpec::eXSD);
122 memset(m_set_State,0,
sizeof(m_set_State));
123 if ( !IsAllocatedInPool() ) {
160 (
m_object =
new(pool) eutils::CMedlinePgn())->AddReference();
234 SET_NAMESPACE(
"http://www.ncbi.nlm.nih.gov")->SetNsQualified(
true);
237 info->CodeVersion(22400);
238 info->DataSpec(ncbi::EDataSpec::eXSD);
#define BEGIN_eutils_SCOPE
User-defined methods of the data storage class.
User-defined methods of the data storage class.
#define DIAG_COMPILE_INFO
Make compile time diagnostic information object to use in CNcbiDiag and CException.
#define ADD_NAMED_REF_MEMBER(MemberAlias, MemberName, ClassName)
#define ADD_NAMED_REF_CHOICE_VARIANT(MemberAlias, MemberName, ClassName)
#define SET_CLASS_MODULE(ModuleName)
#define SET_NAMESPACE(name)
#define SET_INTERNAL_NAME(OwnerName, MemberName)
#define SET_CHOICE_MODULE(ModuleName)
TEndPage & SetEndPage(void)
Assign a value to EndPage data member.
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
TMedlinePgn & SetMedlinePgn(void)
Select the variant.
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
TStartPage & SetStartPage(void)
Assign a value to StartPage data member.
void DoSelect(E_Choice index, NCBI_NS_NCBI::CObjectMemoryPool *pool=0)
void Reset(void)
Reset data member.
const TMedlinePgn & GetMedlinePgn(void) const
Get the variant data.
static NCBI_NS_STD::string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
const TSEM & GetSEM(void) const
Get the variant data.
void Reset(void)
Reset data member.
void Reset(void)
Reset the whole object.
static const char *const sm_SelectionNames[]
void Reset(void)
Reset data member.
TMedlinePgn & SetMedlinePgn(void)
Assign a value to MedlinePgn data member.
void ResetEndPage(void)
Reset EndPage data member.
virtual ~CPagination_Base(void)
TSEM & SetSEM(void)
Select the variant.
virtual void ResetSelection(void)
Reset the selection (set it to e_not_set).
void ResetStartPage(void)
Reset StartPage data member.
void ResetMedlinePgn(void)
Reset MedlinePgn data member.
void Select(E_Choice index, NCBI_NS_NCBI::EResetVariant reset=NCBI_NS_NCBI::eDoResetVariant)
Select the requested variant if needed.
NCBI_NS_NCBI::CRef< TStartPage > m_StartPage
virtual void Reset(void)
Reset the whole object.
NCBI_NS_NCBI::CSerialObject * m_object
@ e_not_set
No variant selected.
const GenericPointer< typename T::ValueType > T2 value
User-defined methods of the data storage class.