NCBI C++ ToolKit
editing_action_misc.hpp
Go to the documentation of this file.

Go to the SVN repository for this file.

1 /* $Id: editing_action_misc.hpp 45101 2020-05-29 20:53:24Z asztalos $
2  * ===========================================================================
3  *
4  * PUBLIC DOMAIN NOTICE
5  * National Center for Biotechnology Information
6  *
7  * This software/database is a "United States Government Work" under the
8  * terms of the United States Copyright Act. It was written as part of
9  * the author's official duties as a United States Government employee and
10  * thus cannot be copyrighted. This software/database is freely available
11  * to the public for use. The National Library of Medicine and the U.S.
12  * Government have not placed any restriction on its use or reproduction.
13  *
14  * Although all reasonable efforts have been taken to ensure the accuracy
15  * and reliability of the software and data, the NLM and the U.S.
16  * Government do not and cannot warrant the performance or results that
17  * may be obtained by using this software or data. The NLM and the U.S.
18  * Government disclaim all warranties, express or implied, including
19  * warranties of performance, merchantability or fitness for any particular
20  * purpose.
21  *
22  * Please cite the author in any work or product based on this material.
23  *
24  * ===========================================================================
25  *
26  * Authors: Igor Filippov
27  */
28 
29 #ifndef _EDITING_ACTION_MISC_H_
30 #define _EDITING_ACTION_MISC_H_
31 
32 #include <corelib/ncbistd.hpp>
38 
41 
43 
45 {
46 public:
47  CEditingActionFlatFile(CSeq_entry_Handle seh, const string &name = "CEditingActionFlatFile");
48 protected:
49  virtual void Find(EActionType action);
50  virtual void FindRelated(EActionType action);
51  virtual void Modify(EActionType action);
52  virtual void SwapContext(IEditingAction* source);
53  virtual bool SameObject();
54  virtual bool IsSetValue(void);
55  virtual void SetValue(const string &value);
56  virtual string GetValue(void);
57  virtual void ResetValue(void);
58 
59 private:
60  string m_flat_file;
61 };
62 
63 IEditingAction* CreateActionMisc(CSeq_entry_Handle seh, const string &field);
64 
66 
67 #endif
68  // _EDITING_ACTION_MISC_H_
virtual void ResetValue(void)
virtual void Modify(EActionType action)
virtual string GetValue(void)
virtual void SetValue(const string &value)
CEditingActionFlatFile(CSeq_entry_Handle seh, const string &name="CEditingActionFlatFile")
virtual void SwapContext(IEditingAction *source)
virtual void FindRelated(EActionType action)
virtual bool IsSetValue(void)
virtual void Find(EActionType action)
CSeq_entry_Handle –.
Include a standard set of the NCBI C++ Toolkit most basic headers.
USING_SCOPE(objects)
IEditingAction * CreateActionMisc(CSeq_entry_Handle seh, const string &field)
#define END_NCBI_SCOPE
End previously defined NCBI scope.
Definition: ncbistl.hpp:103
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
Definition: ncbistl.hpp:100
const GenericPointer< typename T::ValueType > T2 value
Definition: pointer.h:1227
const CharType(& source)[N]
Definition: pointer.h:1149
Modified on Wed Apr 17 13:10:23 2024 by modify_doxy.py rev. 669887