Go to the documentation of this file.Go to the SVN repository for this file.
1 #ifndef GUI_OBJUTILS___CMD_CHANGE_SEQ_FEAT__HPP
2 #define GUI_OBJUTILS___CMD_CHANGE_SEQ_FEAT__HPP
47 CCmdChangeSeq_feat(
const objects::CSeq_feat_Handle& orig_feat,
const objects::CSeq_feat& new_feat,
bool promote =
false)
48 : m_Orig_feat(orig_feat), m_New_feat(&new_feat), m_PromoteRequested(promote), m_ShouldDemote(
false) {}
objects::CSeq_feat_Handle m_Orig_feat
CConstRef< objects::CSeq_feat > m_New_feat
CCmdChangeSeq_feat(const objects::CSeq_feat_Handle &orig_feat, const objects::CSeq_feat &new_feat, bool promote=false)
Interface (functor) for object editing.
virtual void Unexecute()=0
Undo (opposite to Execute())
string GetLabel(const CSeq_id &id)
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_GUIOBJUTILS_EXPORT
Defines to provide correct exporting from DLLs in Windows.
string Execute(const string &cmmd, const vector< string > &args, const string &data=kEmptyStr)
Portable reference counted smart and weak pointers using CWeakRef, CRef, CObject and CObjectEx.