gc_content.hpp
上传用户:yhdzpy8989
上传日期:2007-06-13
资源大小:13604k
文件大小:5k
- /*
- * ===========================================================================
- * PRODUCTION $Log: gc_content.hpp,v $
- * PRODUCTION Revision 1000.2 2004/04/12 19:29:16 gouriano
- * PRODUCTION PRODUCTION: UPGRADED [CATCHUP_003] Dev-tree R1.17
- * PRODUCTION
- * ===========================================================================
- */
- #ifndef GUI_PLUGINS_ALGO_BASIC___GC_CONTENT__HPP
- #define GUI_PLUGINS_ALGO_BASIC___GC_CONTENT__HPP
- /* $Id: gc_content.hpp,v 1000.2 2004/04/12 19:29:16 gouriano Exp $
- * ===========================================================================
- *
- * PUBLIC DOMAIN NOTICE
- * National Center for Biotechnology Information
- *
- * This software/database is a "United States Government Work" under the
- * terms of the United States Copyright Act. It was written as part of
- * the author's official duties as a United States Government employee and
- * thus cannot be copyrighted. This software/database is freely available
- * to the public for use. The National Library of Medicine and the U.S.
- * Government have not placed any restriction on its use or reproduction.
- *
- * Although all reasonable efforts have been taken to ensure the accuracy
- * and reliability of the software and data, the NLM and the U.S.
- * Government do not and cannot warrant the performance or results that
- * may be obtained by using this software or data. The NLM and the U.S.
- * Government disclaim all warranties, express or implied, including
- * warranties of performance, merchantability or fitness for any particular
- * purpose.
- *
- * Please cite the author in any work or product based on this material.
- *
- * ===========================================================================
- *
- * Authors: Mike DiCuccio
- *
- * File Description:
- * CGcContent -- implements the algorithm to calculate GC composition
- */
- #include <gui/core/algo.hpp>
- #include <gui/dialogs/col/multi_col_dlg.hpp>
- BEGIN_NCBI_SCOPE
- class CAlgoPlugin_GcContent : public CAlgorithm<CAlgoPlugin_GcContent>
- {
- public:
- CAlgoPlugin_GcContent() { }
- ~CAlgoPlugin_GcContent();
- void RunCommand(objects::CPluginMessage& msg);
- // standard info boilerplate
- static void GetInfo(objects::CPluginInfo& info);
- private:
- auto_ptr<CMultiColDlg> m_Dialog;
- CAlgoPlugin_GcContent(const CAlgoPlugin_GcContent&);
- CAlgoPlugin_GcContent& operator=(const CAlgoPlugin_GcContent&);
- };
- END_NCBI_SCOPE
- /*
- * ===========================================================================
- * $Log: gc_content.hpp,v $
- * Revision 1000.2 2004/04/12 19:29:16 gouriano
- * PRODUCTION: UPGRADED [CATCHUP_003] Dev-tree R1.17
- *
- * Revision 1.17 2004/01/28 18:54:20 ucko
- * Include full dialog declarations for GCC 2.95's auto_ptr<>.
- *
- * Revision 1.16 2004/01/27 18:37:45 dicuccio
- * Code clean-up. Use standard names for plugins. Removed unnecessary #includes
- *
- * Revision 1.15 2003/11/04 17:49:23 dicuccio
- * Changed calling parameters for plugins - pass CPluginMessage instead of paired
- * CPluginCommand/CPluginReply
- *
- * Revision 1.14 2003/08/05 17:03:55 dicuccio
- * Made multi-column output dialog a member variable - allows non-modal operation
- *
- * Revision 1.13 2003/07/28 11:51:48 dicuccio
- * Rewrote CTablePanel<> to be more flexible and better contained. Added standard
- * multicolumn list dialog. Deprecated use of COutputDlg.
- *
- * Revision 1.12 2003/07/14 11:12:34 shomrat
- * Plugin messageing system related changes
- *
- * Revision 1.11 2003/07/08 13:13:11 dicuccio
- * +<memory> for auto_ptr<>
- *
- * Revision 1.10 2003/07/02 14:37:05 dicuccio
- * Fixed USING_SCOPE() for brain-dead MSVC.
- *
- * Revision 1.9 2003/07/01 23:05:54 dicuccio
- * Compiler fixes for MSVC
- *
- * Revision 1.8 2003/06/20 14:52:36 dicuccio
- * Revised plugin registration - moved GetInfo() into the plugin handler
- *
- * Revision 1.7 2003/06/02 16:06:21 dicuccio
- * Rearranged src/objects/ subtree. This includes the following shifts:
- * - src/objects/asn2asn --> arc/app/asn2asn
- * - src/objects/testmedline --> src/objects/ncbimime/test
- * - src/objects/objmgr --> src/objmgr
- * - src/objects/util --> src/objmgr/util
- * - src/objects/alnmgr --> src/objtools/alnmgr
- * - src/objects/flat --> src/objtools/flat
- * - src/objects/validator --> src/objtools/validator
- * - src/objects/cddalignview --> src/objtools/cddalignview
- * In addition, libseq now includes six of the objects/seq... libs, and libmmdb
- * replaces the three libmmdb? libs.
- *
- * Revision 1.6 2003/02/24 13:03:15 dicuccio
- * Renamed classes in plugin spec:
- * CArgSeg --> CPluginArgSet
- * CArgument --> CPluginArg
- * CPluginArgs --> CPluginCommand
- * CPluginCommands --> CPluginCommandSet
- *
- * Revision 1.5 2003/02/20 19:49:53 dicuccio
- * Created new plugin architecture, based on ASN.1 spec. Moved GBENCH frameowrk
- * over to use new plugin architecture.
- *
- * Revision 1.4 2003/02/05 19:47:23 dicuccio
- * Fixed memory leak with output dialog. Changed ambiguous 'R' to 'S' for G+C
- *
- * Revision 1.3 2003/01/13 13:10:05 dicuccio
- * Namespace clean-up. Retired namespace gui -> converted all to namespace ncbi.
- * Moved all FLUID-generated code into namespace ncbi.
- *
- * Revision 1.2 2002/12/30 17:21:40 ostell
- * Added support for most document type selections. Changed labels to use Labelxxx functions.
- *
- * Revision 1.1 2002/11/05 20:59:20 dicuccio
- * Initial revision
- *
- * ===========================================================================
- */
- #endif // GUI_PLUGINS_ALGO_BASIC___GC_CONTENT__HPP