41 #ifndef OBJECTS_MACRO_LOCATION_EDIT_TYPE_BASE_HPP
42 #define OBJECTS_MACRO_LOCATION_EDIT_TYPE_BASE_HPP
55 #ifndef BEGIN_objects_SCOPE
56 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
57 # define END_objects_SCOPE END_SCOPE(objects)
118 virtual void Reset(
void);
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.
CLocation_edit_type_Base –.
CPartial_both_set_action –.
Base class for all serializable objects.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
CPartial_3_set_action TSet_3_partial
EPartial_3_clear_constraint TClear_3_partial
EConvert_location_type
Access to EConvert_location_type's attributes (values, names) as defined in spec.
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
TSet_3_partial & SetSet_3_partial(void)
Select the variant.
TStrand & SetStrand(void)
Select the variant.
static string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
CExtend_to_feature TExtend_5_to_feat
bool IsConvert(void) const
Check if variant Convert is selected.
virtual void Reset(void)
Reset the whole object.
const TSet_both_partial & GetSet_both_partial(void) const
Get the variant data.
bool IsExtend_3_to_feat(void) const
Check if variant Extend_3_to_feat is selected.
TClear_5_partial GetClear_5_partial(void) const
Get the variant data.
const TExtend_3_to_feat & GetExtend_3_to_feat(void) const
Get the variant data.
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
TSet_5_partial & SetSet_5_partial(void)
Select the variant.
EPartial_5_clear_constraint TClear_5_partial
NCBI_NS_NCBI::CSerialObject * m_object
virtual void ResetSelection(void)
Reset the selection (set it to e_not_set).
const TExtend_5_to_feat & GetExtend_5_to_feat(void) const
Get the variant data.
TClear_both_partial m_Clear_both_partial
EPartial_both_clear_constraint
Access to EPartial_both_clear_constraint's attributes (values, names) as defined in spec.
TClear_3_partial & SetClear_3_partial(void)
Select the variant.
CEdit_location_strand TStrand
CLocation_edit_type_Base(const CLocation_edit_type_Base &)
const TStrand & GetStrand(void) const
Get the variant data.
TConvert & SetConvert(void)
Select the variant.
EPartial_3_clear_constraint
Access to EPartial_3_clear_constraint's attributes (values, names) as defined in spec.
void SetExtend_3(void)
Select the variant.
TClear_both_partial m_Clear_both_partial
bool IsExtend_3(void) const
Check if variant Extend_3 is selected.
bool IsSet_3_partial(void) const
Check if variant Set_3_partial is selected.
bool IsSet_both_partial(void) const
Check if variant Set_both_partial is selected.
CPartial_5_set_action TSet_5_partial
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
static const char *const sm_SelectionNames[]
TClear_both_partial & SetClear_both_partial(void)
Select the variant.
void SetExtend_5(void)
Select the variant.
TClear_3_partial m_Clear_3_partial
TClear_5_partial m_Clear_5_partial
TExtend_3_to_feat & SetExtend_3_to_feat(void)
Select the variant.
EConvert_location_type TConvert
CLocation_edit_type_Base(void)
bool IsClear_both_partial(void) const
Check if variant Clear_both_partial is selected.
bool IsExtend_5_to_feat(void) const
Check if variant Extend_5_to_feat is selected.
bool IsClear_3_partial(void) const
Check if variant Clear_3_partial is selected.
bool IsStrand(void) const
Check if variant Strand is selected.
TClear_5_partial & SetClear_5_partial(void)
Select the variant.
DECLARE_INTERNAL_TYPE_INFO()
TClear_3_partial m_Clear_3_partial
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
E_Choice Which(void) const
Which variant is currently selected.
bool IsSet_5_partial(void) const
Check if variant Set_5_partial is selected.
virtual ~CLocation_edit_type_Base(void)
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
bool IsExtend_5(void) const
Check if variant Extend_5 is selected.
TClear_both_partial GetClear_both_partial(void) const
Get the variant data.
TClear_3_partial GetClear_3_partial(void) const
Get the variant data.
EPartial_both_clear_constraint TClear_both_partial
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
EPartial_5_clear_constraint
Access to EPartial_5_clear_constraint's attributes (values, names) as defined in spec.
CPartial_both_set_action TSet_both_partial
TSet_both_partial & SetSet_both_partial(void)
Select the variant.
const TSet_3_partial & GetSet_3_partial(void) const
Get the variant data.
const TSet_5_partial & GetSet_5_partial(void) const
Get the variant data.
TExtend_5_to_feat & SetExtend_5_to_feat(void)
Select the variant.
bool IsClear_5_partial(void) const
Check if variant Clear_5_partial is selected.
TConvert GetConvert(void) const
Get the variant data.
CExtend_to_feature TExtend_3_to_feat
CLocation_edit_type_Base & operator=(const CLocation_edit_type_Base &)
TClear_5_partial m_Clear_5_partial
@ e_not_set
No variant selected.
@ e_MaxChoice
== e_Extend_3_to_feat+1