NCBI C++ ToolKit
|
Search Toolkit Book for CEditingActionBiosourceAllNotes
#include <gui/packages/pkg_sequence_edit/editing_action_biosource.hpp>
Public Member Functions | |
CEditingActionBiosourceAllNotes (CSeq_entry_Handle seh, bool is_descriptor, bool is_feature) | |
Public Member Functions inherited from IEditingActionBiosource | |
IEditingActionBiosource (CSeq_entry_Handle seh, bool is_descriptor, bool is_feature, const string &name) | |
void | SetFeat (CSeq_feat_Handle fh) |
void | SetDesc (const CSeqdesc *desc) |
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 |
Protected Member Functions | |
virtual void | Modify (EActionType action) |
virtual bool | IsSetValue (void) |
virtual void | SetValue (const string &value) |
virtual string | GetValue (void) |
virtual void | ResetValue (void) |
Protected Member Functions inherited from IEditingActionBiosource | |
virtual void | Find (EActionType action) |
virtual void | FindRelated (EActionType action) |
virtual void | SwapContext (IEditingAction *source) |
virtual bool | SameObject () |
Protected Member Functions inherited from IEditingAction | |
bool | IsNOOP (EActionType action) |
bool | IsFrom (EActionType action) |
bool | IsTo (EActionType action) |
bool | IsCreateNew (EActionType action) |
CIRef< IEditCommand > | GetUpdateMRNAProductNameCmd (const CSeq_feat_Handle fh, const CRef< CSeq_feat > feat) |
CRef< CCmdComposite > | GetRetranslateCdsCmd (const CSeq_feat_Handle fh, const CRef< CSeq_feat > feat, int &offset, bool create_general_only) |
void | Action (EActionType action) |
void | DoApply (void) |
void | DoEdit (void) |
void | DoRemove (void) |
void | DoRemoveOutside (void) |
void | DoConvertFrom (void) |
void | DoConvertTo (void) |
void | DoCopyFrom (void) |
void | DoCopyTo (void) |
void | DoSwapFrom (void) |
void | DoSwapTo (void) |
void | DoParseFrom (void) |
void | DoParseTo (void) |
void | DoNOOP (void) |
void | HandleValue (const string &value) |
virtual void | ResetScope () |
Protected Member Functions inherited from CObject | |
virtual void | DeleteThis (void) |
Virtual method "deleting" this object. More... | |
Definition at line 203 of file editing_action_biosource.hpp.
CEditingActionBiosourceAllNotes::CEditingActionBiosourceAllNotes | ( | CSeq_entry_Handle | seh, |
bool | is_descriptor, | ||
bool | is_feature | ||
) |
Definition at line 760 of file editing_action_biosource.cpp.
|
protectedvirtual |
Implements IEditingAction.
Definition at line 806 of file editing_action_biosource.cpp.
References CSubSource_Base::GetName(), COrgMod_Base::GetSubname(), kEmptyStr, m_OrgMod, and m_SubSource.
|
protectedvirtual |
Implements IEditingAction.
Definition at line 793 of file editing_action_biosource.cpp.
References CSubSource_Base::IsSetName(), COrgMod_Base::IsSetSubname(), m_OrgMod, and m_SubSource.
|
protectedvirtual |
Reimplemented from IEditingActionBiosource.
Definition at line 765 of file editing_action_biosource.cpp.
References EDIT_EACH_ORGMOD_ON_BIOSOURCE, EDIT_EACH_SUBSOURCE_ON_BIOSOURCE, ERASE_ORGMOD_ON_BIOSOURCE, ERASE_SUBSOURCE_ON_BIOSOURCE, COrgMod_Base::eSubtype_other, CSubSource_Base::eSubtype_other, IEditingActionBiosource::m_EditedBiosource, m_erase, m_OrgMod, m_SubSource, IEditingActionBiosource::Modify(), and CRef< C, Locker >::Reset().
|
protectedvirtual |
Implements IEditingAction.
Definition at line 815 of file editing_action_biosource.cpp.
References m_erase.
Implements IEditingAction.
Definition at line 798 of file editing_action_biosource.cpp.
References m_OrgMod, m_SubSource, CSubSource_Base::SetName(), COrgMod_Base::SetSubname(), and rapidjson::value.
|
protected |
Definition at line 216 of file editing_action_biosource.hpp.
Referenced by Modify(), and ResetValue().
Definition at line 214 of file editing_action_biosource.hpp.
Referenced by GetValue(), IsSetValue(), Modify(), and SetValue().
|
protected |
Definition at line 215 of file editing_action_biosource.hpp.
Referenced by GetValue(), IsSetValue(), Modify(), and SetValue().