- /*
- * ===========================================================================
- * PRODUCTION $Log: restriction_sites.hpp,v $
- * PRODUCTION Revision 1000.2 2004/04/12 19:30:23 gouriano
- * PRODUCTION PRODUCTION: UPGRADED [CATCHUP_003] Dev-tree R1.4
- * PRODUCTION
- * ===========================================================================
- */
- #ifndef GUI_PLUGINS_ALGO_BASIC___RESTRICTION_SITES__HPP
- #define GUI_PLUGINS_ALGO_BASIC___RESTRICTION_SITES__HPP
- /* $Id: restriction_sites.hpp,v 1000.2 2004/04/12 19:30:23 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: Josh Cherry
- *
- * File Description: gbench plugin for finding restriction sites
- *
- */
- #include <gui/core/algo.hpp>
- #include "rebase.hpp"
- #include <gui/dialogs/col/multi_col_dlg.hpp>
- BEGIN_NCBI_SCOPE
- class CAlgoPlugin_RestrictionSites
- : public CAlgorithm<CAlgoPlugin_RestrictionSites>
- {
- public:
- CAlgoPlugin_RestrictionSites() { }
- ~CAlgoPlugin_RestrictionSites();
- void RunCommand(objects::CPluginMessage& msg);
- // standard info boilerplate
- static void GetInfo(objects::CPluginInfo& info);
- private:
- void x_LoadREnzymeData(vector<CREnzyme>& enzymes,
- CRebase::EEnzymesToLoad which_enzymes);
- CRebase::EEnzymesToLoad x_DecodeWhichEnzymes(const string& s);
- auto_ptr<CMultiColDlg> m_Dialog;
- CAlgoPlugin_RestrictionSites(const CAlgoPlugin_RestrictionSites&);
- CAlgoPlugin_RestrictionSites& operator=(const CAlgoPlugin_RestrictionSites&);
- };
- END_NCBI_SCOPE
- /*
- * ===========================================================================
- * $Log: restriction_sites.hpp,v $
- * Revision 1000.2 2004/04/12 19:30:23 gouriano
- * PRODUCTION: UPGRADED [CATCHUP_003] Dev-tree R1.4
- *
- * Revision 1.4 2004/01/28 18:54:22 ucko
- * Include full dialog declarations for GCC 2.95's auto_ptr<>.
- *
- * Revision 1.3 2004/01/27 18:38:09 dicuccio
- * Code clean-up. Use standard names for plugins. Removed unnecessary #includes
- *
- * Revision 1.2 2003/11/04 17:49:23 dicuccio
- * Changed calling parameters for plugins - pass CPluginMessage instead of paired
- * CPluginCommand/CPluginReply
- *
- * Revision 1.1 2003/08/12 18:52:58 jcherry
- * Initial version
- *
- * ===========================================================================
- */
- #endif // GUI_PLUGINS_ALGO_BASIC___RESTRICTION_SITES__HPP