283 info->CodeVersion(22400);
284 info->DataSpec(ncbi::EDataSpec::eASN);
User-defined methods of the data storage class.
User-defined methods of the data storage class.
User-defined methods of the data storage class.
User-defined methods of the data storage class.
User-defined methods of the data storage class.
User-defined methods of the data storage class.
BEGIN_NAMED_BASE_CHOICE_INFO("ID2S-Seq-loc", CID2S_Seq_loc)
#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 ADD_NAMED_STD_CHOICE_VARIANT(MemberAlias, MemberName)
#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).
const TSeq_id_ints & GetSeq_id_ints(void) const
Get the variant data.
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
const TWhole_gi_range & GetWhole_gi_range(void) const
Get the variant data.
virtual ~CID2S_Seq_loc_Base(void)
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
static string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
TGi_ints & SetGi_ints(void)
Select the variant.
TSeq_id_interval & SetSeq_id_interval(void)
Select the variant.
const TGi_interval & GetGi_interval(void) const
Get the variant data.
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
TWhole_gi_range & SetWhole_gi_range(void)
Select the variant.
TGi_interval & SetGi_interval(void)
Select the variant.
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
static const char *const sm_SelectionNames[]
TSeq_id_ints & SetSeq_id_ints(void)
Select the variant.
NCBI_NS_NCBI::CUnionBuffer< TLoc_set > m_Loc_set
const TSeq_id_interval & GetSeq_id_interval(void) const
Get the variant data.
NCBI_NS_NCBI::CSerialObject * m_object
const TWhole_seq_id & GetWhole_seq_id(void) const
Get the variant data.
TWhole_seq_id & SetWhole_seq_id(void)
Select the variant.
const TGi_ints & GetGi_ints(void) const
Get the variant data.
virtual void Reset(void)
Reset the whole object.
@ e_Whole_gi
whole sequence by gi
@ e_Loc_set
combination of locations
@ e_Seq_id_ints
set of intervals on the same id
@ e_Whole_seq_id
whole sequence by Seq-id
@ e_Seq_id_interval
interval on sequence by Seq-id
@ e_Gi_ints
set of intervals on the same gi
@ e_Whole_gi_range
set of whole sequences by gis
@ e_Gi_interval
interval on sequence by gi
@ e_not_set
No variant selected.
const GenericPointer< typename T::ValueType > T2 value