: m_seh(seh), m_Class(new_class)
50 if(
m_seh.IsSet()) {
51 size_tnum_in_set = 0;
53 if(!
m_seh.GetSet().IsEmptySeq_set()) {
74 edit.TakeAllAnnots(new_set_edit);
75 edit.TakeAllDescr(new_set_edit);
76 if(entry->
IsSet()) {
77 size_tnum_in_set = 0;
84 edit.ConvertSetToSeq();
99 for(
size_t i= 0;
i< num_in_set;
i++) {
CCmdInsertBioseqSet(objects::CSeq_entry_Handle seh, const objects::CBioseq_set::TClass new_class)
objects::CBioseq_set::TClass m_Class
virtual void Execute()
Do the editing action.
void x_TransferSeqSet(objects::CSeq_entry_EditHandle dst, objects::CSeq_entry_EditHandle src, size_t num_in_set)
objects::CSeq_entry_Handle m_seh
virtual string GetLabel()
virtual void Unexecute()
Undo (opposite to Execute())
CSeq_entry_Handle GetSeq_entryHandle(CDataLoader *loader, const TBlobId &blob_id, EMissing action=eMissing_Default)
Get Seq-entry handle by its blob-id, with possible loading.
void Remove(void) const
Remove this Seq-entry from parent, or scope if it's top level Seq-entry.
void TakeAllAnnots(const CSeq_entry_EditHandle &src_entry) const
Remove all the annotation from seq-entry and attach to current one.
CConstRef< CBioseq_set > GetCompleteBioseq_set(void) const
Return the complete bioseq-set object.
CSeq_entry_EditHandle GetEditHandle(void) const
Get 'edit' version of handle.
CScope & GetScope(void) const
Get scope this handle belongs to.
CSeq_entry_EditHandle TakeEntry(const CSeq_entry_EditHandle &entry, int index=-1) const
Remove seq-entry from its location and attach to current one.
void TakeAllDescr(const CSeq_entry_EditHandle &src_entry) const
Remove all the descritions from seq-entry and attach to current one.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
TSet & SetSet(void)
Select the variant.
const TSet & GetSet(void) const
Get the variant data.
bool IsSetSeq_set(void) const
Check if a value has been assigned to Seq_set data member.
bool IsSet(void) const
Check if variant Set is selected.
const TSeq_set & GetSeq_set(void) const
Get the Seq_set member data.
void SetClass(TClass value)
Assign a value to Class data member.
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