ResetSelection(
void);
158 voidCheckSelected(
E_Choiceindex)
const;
164NCBI_NORETURN
voidThrowInvalidSelection(
E_Choiceindex)
const;
172 static stringSelectionName(
E_Choiceindex);
204 boolIsFeat(
void)
const;
210 const TFeat& GetFeat(
void)
const;
216 TFeat& SetFeat(
void);
230 boolIsAlign(
void)
const;
236 const TAlign& GetAlign(
void)
const;
242 TAlign& SetAlign(
void);
256 boolIsGraph(
void)
const;
262 const TGraph& GetGraph(
void)
const;
268 TGraph& SetGraph(
void);
285 static const char*
constsm_SelectionNames[];
305 voidResetSelection(
void);
311E_Choice Which(
void)
const;
317 voidCheckSelected(E_Choice index)
const;
323NCBI_NORETURN
voidThrowInvalidSelection(E_Choice index)
const;
331 static stringSelectionName(E_Choice index);
362 boolIsDescr(
void)
const;
368 const TDescr& GetDescr(
void)
const;
374 TDescr& SetDescr(
void);
388 boolIsObj(
void)
const;
394 const TObj& GetObj(
void)
const;
400 TObj& SetObj(
void);
417 static const char*
constsm_SelectionNames[];
456 voidResetSelection(
void);
462E_Choice Which(
void)
const;
468 voidCheckSelected(E_Choice index)
const;
474NCBI_NORETURN
voidThrowInvalidSelection(E_Choice index)
const;
482 static stringSelectionName(E_Choice index);
514 boolIsFeat(
void)
const;
520 const TFeat& GetFeat(
void)
const;
526 TFeat& SetFeat(
void);
540 boolIsAlign(
void)
const;
546 const TAlign& GetAlign(
void)
const;
552 TAlign& SetAlign(
void);
566 boolIsGraph(
void)
const;
572 const TGraph& GetGraph(
void)
const;
578 TGraph& SetGraph(
void);
595 static const char*
constsm_SelectionNames[];
628 boolIsSetId(
void)
const;
635 boolCanGetId(
void)
const;
638 voidResetId(
void);
666 boolIsSetName(
void)
const;
673 boolCanGetName(
void)
const;
676 voidResetName(
void);
682 const TName& GetName(
void)
const;
695 TName& SetName(
void);
705 boolIsSetNamed(
void)
const;
712 boolCanGetNamed(
void)
const;
715 voidResetNamed(
void);
721 TNamedGetNamed(
void)
const;
733 TNamed& SetNamed(
void);
742 boolIsSetSearch_param(
void)
const;
749 boolCanGetSearch_param(
void)
const;
752 voidResetSearch_param(
void);
779 boolIsSetData(
void)
const;
786 boolCanGetData(
void)
const;
789 voidResetData(
void);
795 const TData& GetData(
void)
const;
807 TData& SetData(
void);
810 virtual voidReset(
void);
974 return m_Id.NotEmpty();
1032 m_Name= std::forward<CSeqEdit_Cmd_AddAnnot_Base::TName>(
value);
an annotaion object to add
use an annotaion descriptor,
Add an annotaion object to a bioseq or a bioseq-set.
namespace ncbi::objects::
Base class for all serializable objects.
static char UnassignedByte(void)
void ThrowUnassigned(TMemberIndex index) const
static string UnassignedString(void)
const CSeq_id & GetId(const CSeq_loc &loc, CScope *scope)
If all CSeq_ids embedded in CSeq_loc refer to the same CBioseq, returns the first CSeq_id found,...
bool NotEmpty(void) const THROWS_NONE
Check if CRef is not empty â pointing to an object and has a non-null value.
uint32_t Uint4
4-byte (32-bit) unsigned integer
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_SEQEDIT_EXPORT
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
DECLARE_INTERNAL_TYPE_INFO()
bool IsFeat(void) const
Check if variant Feat is selected.
CSeqEdit_Cmd_AddAnnot_Base(const CSeqEdit_Cmd_AddAnnot_Base &)
bool IsAlign(void) const
Check if variant Align is selected.
E_Choice Which(void) const
Which variant is currently selected.
NCBI_NS_NCBI::CSerialObject * m_object
CRef< TSearch_param > m_Search_param
bool CanGetName(void) const
Check if it is safe to call GetName method.
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
C_Search_param TSearch_param
TNamed & SetNamed(void)
Assign a value to Named data member.
const TId & GetId(void) const
Get the Id member data.
bool CanGetSearch_param(void) const
Check if it is safe to call GetSearch_param method.
bool CanGetNamed(void) const
Check if it is safe to call GetNamed method.
bool IsGraph(void) const
Check if variant Graph is selected.
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
bool IsAlign(void) const
Check if variant Align is selected.
void ResetData(void)
Reset Data data member.
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
void ResetSelection(void)
Reset the selection (set it to e_not_set).
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
bool IsObj(void) const
Check if variant Obj is selected.
TData & SetData(void)
Assign a value to Data data member.
bool IsGraph(void) const
Check if variant Graph is selected.
C_Search_param(const C_Search_param &)
bool IsSetData(void) const
Check if a value has been assigned to Data data member.
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
bool CanGetId(void) const
Check if it is safe to call GetId method.
void ResetId(void)
Reset Id data member.
bool IsSetSearch_param(void) const
Check if a value has been assigned to Search_param data member.
bool IsFeat(void) const
Check if variant Feat is selected.
bool IsSetId(void) const
Bioseq or Bioseq_set id Check if a value has been assigned to Id data member.
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
C_Search_param & operator=(const C_Search_param &)
NCBI_NS_NCBI::CSerialObject * m_object
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
E_Choice
Choice variants.
E_Choice
Choice variants.
E_Choice Which(void) const
Which variant is currently selected.
void ResetNamed(void)
Reset Named data member.
Tparent::CMemberIndex< E_memberIndex, 6 > TmemberIndex
bool IsSetNamed(void) const
TRUE if an annotation is named Check if a value has been assigned to Named data member.
DECLARE_INTERNAL_TYPE_INFO()
E_Choice
Choice variants.
C_Data & operator=(const C_Data &)
TNamed GetNamed(void) const
Get the Named member data.
bool IsSetName(void) const
Annotation's name Check if a value has been assigned to Name data member.
bool CanGetData(void) const
Check if it is safe to call GetData method.
DECLARE_INTERNAL_TYPE_INFO()
TName & SetName(void)
Assign a value to Name data member.
bool IsDescr(void) const
Check if variant Descr is selected.
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
NCBI_NS_NCBI::CSerialObject * m_object
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
CSeqEdit_Cmd_AddAnnot_Base & operator=(const CSeqEdit_Cmd_AddAnnot_Base &)
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
const TData & GetData(void) const
Get the Data member data.
E_Choice Which(void) const
Which variant is currently selected.
TId & SetId(void)
Assign a value to Id data member.
const TSearch_param & GetSearch_param(void) const
Get the Search_param member data.
const TName & GetName(void) const
Get the Name member data.
C_Obj & operator=(const C_Obj &)
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
DECLARE_INTERNAL_TYPE_INFO()
@ e_Feat
otherwise use an annot object
@ e_not_set
No variant selected.
@ e_Descr
If an annotation does not have any objects,.
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