m_object->RemoveReference();
76(m_object =
new(pool) ncbi::objects::CSeq_literal())->
AddReference();
79(m_object =
new(pool) ncbi::objects::CSeq_loc())->
AddReference();
96 returnNCBI_NS_NCBI::CInvalidChoiceSelection::GetName(index, sm_SelectionNames,
sizeof(sm_SelectionNames)/
sizeof(sm_SelectionNames[0]));
101 throwNCBI_NS_NCBI::CInvalidChoiceSelection(
DIAG_COMPILE_INFO,
this, m_choice, index, sm_SelectionNames,
sizeof(sm_SelectionNames)/
sizeof(sm_SelectionNames[0]));
106CheckSelected(e_Literal);
107 return*
static_cast<const TLiteral*
>(m_object);
113 return*
static_cast<TLiteral*
>(m_object);
119 if( m_choice != e_Literal || m_object != ptr ) {
122m_choice = e_Literal;
128CheckSelected(e_Loc);
129 return*
static_cast<const TLoc*
>(m_object);
135 return*
static_cast<TLoc*
>(m_object);
141 if( m_choice != e_Loc || m_object != ptr ) {
158 info->CodeVersion(22400);
159 info->DataSpec(ncbi::EDataSpec::eASN);
236 info->RandomOrder();
237 info->CodeVersion(22400);
238 info->DataSpec(ncbi::EDataSpec::eASN);
User-defined methods of the data storage class.
BEGIN_NAMED_BASE_CLASS_INFO("Delta-item", CDelta_item)
BEGIN_NAMED_ENUM_IN_INFO("", CDelta_item_Base::, EAction, true)
BEGIN_NAMED_CHOICE_INFO("", CDelta_item_Base::C_Seq)
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 MEMBER_PTR(MemberName)
#define SET_ENUM_INTERNAL_NAME(OwnerName, MemberName)
#define ADD_NAMED_REF_MEMBER(MemberAlias, MemberName, ClassName)
#define SET_ENUM_MODULE(ModuleName)
#define ADD_NAMED_REF_CHOICE_VARIANT(MemberAlias, MemberName, ClassName)
#define ADD_NAMED_STD_MEMBER(MemberAlias, MemberName)
#define SET_CLASS_MODULE(ModuleName)
#define ADD_NAMED_ENUM_MEMBER(MemberAlias, MemberName, EnumName)
#define ADD_ENUM_VALUE(EnumValueName, EnumValueValue)
#define SET_INTERNAL_NAME(OwnerName, MemberName)
#define SET_CHOICE_MODULE(ModuleName)
#define ADD_NAMED_NULL_CHOICE_VARIANT(MemberAlias, 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.
void Reset(void)
Reset the whole object.
void ResetSeq(void)
Reset Seq data member.
void ResetSelection(void)
Reset the selection (set it to e_not_set).
const TLoc & GetLoc(void) const
Get the variant data.
TLoc & SetLoc(void)
Select the variant.
TLiteral & SetLiteral(void)
Select the variant.
const TLiteral & GetLiteral(void) const
Get the variant data.
void ResetAction(void)
Reset Action data member.
void ResetMultiplier_fuzz(void)
Reset Multiplier_fuzz data member.
CInt_fuzz TMultiplier_fuzz
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
virtual void Reset(void)
Reset the whole object.
TMultiplier_fuzz & SetMultiplier_fuzz(void)
Assign a value to Multiplier_fuzz data member.
static const char *const sm_SelectionNames[]
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
E_Choice
Choice variants.
void ResetMultiplier(void)
Reset Multiplier data member.
static string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
virtual ~CDelta_item_Base(void)
TSeq & SetSeq(void)
Assign a value to Seq data member.
CRef< TMultiplier_fuzz > m_Multiplier_fuzz
@ eAction_offset
go downstream by distance specified by multiplier (upstream if < 0), in genomic context.
@ eAction_morph
replace len(seq) positions starting with location.start with seq
@ eAction_del_at
excise sequence at location if multiplier is specified, delete len(location)*multiplier positions dow...
@ eAction_ins_before
insert seq before the location.start
@ e_not_set
No variant selected.
const GenericPointer< typename T::ValueType > T2 value
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4