⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pattern2.hpp

📁 ncbi源码
💻 HPP
字号:
/* * =========================================================================== * PRODUCTION $Log: pattern2.hpp,v $ * PRODUCTION Revision 1000.0  2004/04/12 19:37:17  gouriano * PRODUCTION PRODUCTION: IMPORTED [CATCHUP_003] Dev-tree R1.4 * PRODUCTION * =========================================================================== */#ifndef GUI_PLUGINS_ALGO_BASIC___PATTERN2__HPP#define GUI_PLUGINS_ALGO_BASIC___PATTERN2__HPP/*  $Id: pattern2.hpp,v 1000.0 2004/04/12 19:37:17 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 searching against patterns from file * */#include <gui/core/algo.hpp>#include <gui/dialogs/col/multi_col_dlg.hpp>BEGIN_NCBI_SCOPEclass CAlgoPlugin_NamedPatterns : public CAlgorithm<CAlgoPlugin_NamedPatterns>{public:    CAlgoPlugin_NamedPatterns() { }    ~CAlgoPlugin_NamedPatterns();    void RunCommand(objects::CPluginMessage& msg);    virtual void FinalizeArgs(objects::CPluginMessage& msg);    // standard info boilerplate    static void GetInfo(objects::CPluginInfo& info);private:    // update our map of names of pattern sets to file names,    // based on files in certain directories    void x_UpdateFileList(void);    // map names of pattern sets to file names    map<string, string> m_FileList;    auto_ptr<CMultiColDlg> m_Dialog;    CAlgoPlugin_NamedPatterns(const CAlgoPlugin_NamedPatterns&);    CAlgoPlugin_NamedPatterns& operator=(const CAlgoPlugin_NamedPatterns&);};END_NCBI_SCOPE/* * =========================================================================== * $Log: pattern2.hpp,v $ * Revision 1000.0  2004/04/12 19:37:17  gouriano * PRODUCTION: IMPORTED [CATCHUP_003] Dev-tree R1.4 * * Revision 1.4  2004/01/28 18:54:21  ucko * Include full dialog declarations for GCC 2.95's auto_ptr<>. * * Revision 1.3  2004/01/27 18:37:56  dicuccio * Code clean-up.  Use standard names for plugins.  Removed unnecessary #includes * * Revision 1.2  2004/01/21 23:44:46  jcherry * Present a menu that includes sets of patterns from all *.ini files * in certain directories (uses new FinalizeArgs() API) * * Revision 1.1  2003/12/16 22:22:16  jcherry * Initial version * * =========================================================================== */#endif  // GUI_PLUGINS_ALGO_BASIC___PATTERN2__HPP

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -