NCBI C++ ToolKit
|
Search Toolkit Book for CEditingActionFeatDbxref
#include <gui/packages/pkg_sequence_edit/editing_action_features.hpp>
Public Member Functions | |
CEditingActionFeatDbxref (CSeq_entry_Handle seh, const CSeqFeatData::ESubtype subtype, const CSeqFeatData::E_Choice feat_type, const string &ncRNA_class) | |
Public Member Functions inherited from IEditingActionFeat | |
IEditingActionFeat (CSeq_entry_Handle seh, const CSeqFeatData::ESubtype subtype, const CSeqFeatData::E_Choice feat_type, const string &ncRNA_class, const string &name) | |
virtual void | SetFeat (CSeq_feat_Handle fh) |
CSeq_feat_Handle | GetFeatHandle (void) |
CSeqFeatData::ESubtype | GetActionFeatSubtype () |
CSeq_feat_Handle | x_FindGeneForFeature (const CSeq_loc &loc, CScope &scope, CSeqFeatData::ESubtype subtype) |
Public Member Functions inherited from IEditingAction | |
IEditingAction (CSeq_entry_Handle seh, const string &name, CConstRef< objects::CSeq_submit > submit=CConstRef< objects::CSeq_submit >(NULL)) | |
virtual | ~IEditingAction () |
const string | GetName (void) const |
const map< CSeq_feat_Handle, CRef< CSeq_feat > > & | GetChangedFeatures (void) |
const map< CSeq_feat_Handle, CSeq_entry_Handle > & | GetCreatedFeatures (void) |
const map< const CSeqdesc *, CRef< CSeqdesc > > & | GetChangedDescriptors (void) |
const map< const CSeqdesc *, CSeq_entry_Handle > & | GetContextForDescriptors (void) |
const map< const CSeqdesc *, CSeq_entry_Handle > & | GetCreatedDescriptors (void) |
const map< const CSeqdesc *, CSeq_entry_Handle > & | GetDeletedDescriptors (void) |
const map< CBioseq_Handle, CRef< CSeq_inst > > & | GetChangedInstances (void) |
CRef< CSubmit_block > | GetChangedSubmitBlock (void) |
const vector< string > & | GetChangedValues (void) |
bool | GetChangedIds (void) |
void | ResetChangedFeatures (void) |
void | ResetChangedDescriptors (void) |
void | ResetChangedInstances (void) |
void | ResetChangedIds (void) |
void | ResetChangedValues (void) |
void | SetExistingText (edit::EExistingText existing_text) |
void | SetConstraint (CRef< CEditingActionConstraint > constraint) |
void | SetTopSeqEntry (CSeq_entry_Handle seh) |
void | SetCurrentSeqEntry (CSeq_entry_Handle seh) |
CRef< CCmdComposite > | GetActionCommand (void) |
CConstRef< objects::CSeq_submit > | GetSeqSubmit (void) |
bool | CheckValue (void) |
bool | CheckValues (void) |
const vector< string > & | GetValues (void) |
void | Apply (const string &value) |
void | Edit (const string &find, const string &replace, macro::CMacroFunction_EditStringQual::ESearchLoc edit_loc, bool case_insensitive, bool is_regex) |
void | Remove (void) |
void | RemoveOutside (CRef< macro::CRemoveTextOptions > options) |
void | ConvertFrom (ECapChange cap_change, bool leave_on_original, const string &strip_name, IEditingAction *destination) |
void | ConvertTo (const string &value, IEditingAction *source) |
void | CopyFrom (IEditingAction *destination) |
void | CopyTo (const string &value, IEditingAction *source) |
void | SwapFrom (IEditingAction *destination) |
void | SwapTo (const string &value, IEditingAction *source) |
void | ParseFrom (edit::CParseTextOptions parse_options, IEditingAction *destination) |
void | ParseTo (const string &value, IEditingAction *source) |
void | NOOP (void) |
int | CheckForExistingText (CIRef< IEditingAction > action2, EActionType action_type, edit::CParseTextOptions parse_options=edit::CParseTextOptions()) |
void | SetUpdateMRNAProduct (bool value) |
void | SetRetranslateCds (bool value) |
bool | IsModified () |
void | SetMaxRecords (size_t max) |
Public Member Functions inherited from CObject | |
CObject (void) | |
Constructor. More... | |
CObject (const CObject &src) | |
Copy constructor. More... | |
virtual | ~CObject (void) |
Destructor. More... | |
CObject & | operator= (const CObject &src) THROWS_NONE |
Assignment operator. More... | |
bool | CanBeDeleted (void) const THROWS_NONE |
Check if object can be deleted. More... | |
bool | IsAllocatedInPool (void) const THROWS_NONE |
Check if object is allocated in memory pool (not system heap) More... | |
bool | Referenced (void) const THROWS_NONE |
Check if object is referenced. More... | |
bool | ReferencedOnlyOnce (void) const THROWS_NONE |
Check if object is referenced only once. More... | |
void | AddReference (void) const |
Add reference to object. More... | |
void | RemoveReference (void) const |
Remove reference to object. More... | |
void | ReleaseReference (void) const |
Remove reference without deleting object. More... | |
virtual void | DoNotDeleteThisObject (void) |
Mark this object as not allocated in heap – do not delete this object. More... | |
virtual void | DoDeleteThisObject (void) |
Mark this object as allocated in heap – object can be deleted. More... | |
void * | operator new (size_t size) |
Define new operator for memory allocation. More... | |
void * | operator new[] (size_t size) |
Define new[] operator for 'array' memory allocation. More... | |
void | operator delete (void *ptr) |
Define delete operator for memory deallocation. More... | |
void | operator delete[] (void *ptr) |
Define delete[] operator for memory deallocation. More... | |
void * | operator new (size_t size, void *place) |
Define new operator. More... | |
void | operator delete (void *ptr, void *place) |
Define delete operator. More... | |
void * | operator new (size_t size, CObjectMemoryPool *place) |
Define new operator using memory pool. More... | |
void | operator delete (void *ptr, CObjectMemoryPool *place) |
Define delete operator. More... | |
virtual void | DebugDump (CDebugDumpContext ddc, unsigned int depth) const |
Define method for dumping debug information. More... | |
Public Member Functions inherited from CDebugDumpable | |
CDebugDumpable (void) | |
virtual | ~CDebugDumpable (void) |
void | DebugDumpText (ostream &out, const string &bundle, unsigned int depth) const |
void | DebugDumpFormat (CDebugDumpFormatter &ddf, const string &bundle, unsigned int depth) const |
void | DumpToConsole (void) const |
Private Attributes | |
CRef< CDbtag > | m_Dbtag |
bool | m_erase |
Definition at line 194 of file editing_action_features.hpp.
CEditingActionFeatDbxref::CEditingActionFeatDbxref | ( | CSeq_entry_Handle | seh, |
const CSeqFeatData::ESubtype | subtype, | ||
const CSeqFeatData::E_Choice | feat_type, | ||
const string & | ncRNA_class | ||
) |
Definition at line 1518 of file editing_action_features.cpp.
|
protectedvirtual |
Implements IEditingAction.
Definition at line 1595 of file editing_action_features.cpp.
References CDbtag_Base::GetDb(), CObject_id_Base::GetId(), CObject_id_Base::GetStr(), CDbtag_Base::GetTag(), NStr::IntToString(), CObject_id_Base::IsId(), CObject_id_Base::IsStr(), m_Dbtag, and tag.
|
protectedvirtual |
Implements IEditingAction.
Definition at line 1560 of file editing_action_features.cpp.
References CDbtag_Base::IsSetDb(), CDbtag_Base::IsSetTag(), and m_Dbtag.
|
protectedvirtual |
Reimplemented from IEditingActionFeat.
Definition at line 1524 of file editing_action_features.cpp.
References EDIT_EACH_DBXREF_ON_SEQFEAT, ERASE_DBXREF_ON_SEQFEAT, CSeq_feat_Base::GetDbxref(), IEditingAction::IsCreateNew(), IEditingAction::IsFrom(), CSeq_feat_Base::IsSetDbxref(), m_Dbtag, IEditingActionFeat::m_EditedFeat, m_erase, IEditingActionFeat::Modify(), CRef< C, Locker >::Reset(), CSeq_feat_Base::ResetDbxref(), and CSeq_feat_Base::SetDbxref().
|
protectedvirtual |
Implements IEditingAction.
Definition at line 1606 of file editing_action_features.cpp.
References m_erase.
Implements IEditingAction.
Definition at line 1565 of file editing_action_features.cpp.
References NStr::fConvErr_NoThrow, m_Dbtag, IEditingActionFeat::m_EditedFeat, CDbtag_Base::ResetTag(), CDbtag_Base::SetDb(), CSeq_feat_Base::SetDbxref(), CDbtag_Base::SetTag(), NStr::SplitInTwo(), NStr::StringToInt(), tag, and rapidjson::value.
Definition at line 208 of file editing_action_features.hpp.
Referenced by GetValue(), IsSetValue(), Modify(), and SetValue().
|
private |
Definition at line 209 of file editing_action_features.hpp.
Referenced by Modify(), and ResetValue().