📄 plugincommandset.hpp
字号:
/* * =========================================================================== * PRODUCTION $Log: PluginCommandSet.hpp,v $ * PRODUCTION Revision 1000.0 2003/10/31 20:33:51 gouriano * PRODUCTION PRODUCTION: IMPORTED [ORIGINAL] Dev-tree R1.2 * PRODUCTION * =========================================================================== *//* $Id: PluginCommandSet.hpp,v 1000.0 2003/10/31 20:33:51 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. * * =========================================================================== * * Author: Mike DiCuccio, Denis Vakatov, Anatoliy Kuznetsov * * File Description: * CPluginCommandSet -- defines a set of similar commands exported by a * plugin. This class is used by a plugin to declare * to the framework what sorts of commands are * understood by a given plugin. * * Remark: * This code was originally generated by application DATATOOL * using specifications from the data definition file * 'plugin.asn'. */#ifndef GUI_CORE_PLUGIN_PLUGINCOMMANDS_HPP#define GUI_CORE_PLUGIN_PLUGINCOMMANDS_HPP// generated includes#include <gui/plugin/AlgoCommand.hpp>#include <gui/plugin/DataCommand.hpp>#include <gui/plugin/ViewCommand.hpp>#include <gui/plugin/PluginCommandSet_.hpp>// generated classesBEGIN_NCBI_SCOPEBEGIN_objects_SCOPE // namespace ncbi::objects::class NCBI_XGBPLUGIN_EXPORT CPluginCommandSet : public CPluginCommandSet_Base{ typedef CPluginCommandSet_Base Tparent;public: // constructor CPluginCommandSet(void); // destructor ~CPluginCommandSet(void); // create and return a new plugin argument object for a given command CPluginCommand& AddAlgoCommand(EAlgoCommand cmd); CPluginCommand& AddDataCommand(EDataCommand cmd); CPluginCommand& AddViewCommand(EViewCommand cmd);private: // Prohibit copy constructor and assignment operator CPluginCommandSet(const CPluginCommandSet& value); CPluginCommandSet& operator=(const CPluginCommandSet& value);};/////////////////// CPluginCommandSet inline methods// constructorinlineCPluginCommandSet::CPluginCommandSet(void){}/////////////////// end of CPluginCommandSet inline methodsEND_objects_SCOPE // namespace ncbi::objects::END_NCBI_SCOPE/** ===========================================================================** $Log: PluginCommandSet.hpp,v $* Revision 1000.0 2003/10/31 20:33:51 gouriano* PRODUCTION: IMPORTED [ORIGINAL] Dev-tree R1.2** Revision 1.2 2003/05/19 13:33:02 dicuccio* Moved gui/core/plugin --> gui/plugin/** Revision 1.1 2003/02/24 13:00:18 dicuccio* Renamed classes in plugin spec:* CArgSeg --> CPluginArgSet* CArgument --> CPluginArg* CPluginArgs --> CPluginCommand* CPluginCommands --> CPluginCommandSet** Revision 1.2 2003/02/21 16:44:13 dicuccio* Added Win32 export specifiers for new plugin library. Fixed compilation* issues for Win32.** Revision 1.1 2003/02/20 19:44:06 dicuccio* Created new plugin architecture, mediated via an ASN.1 spec. Moved GBENCH* framework over to use new plugin architecture.*** ===========================================================================*/#endif // GUI_CORE_PLUGIN_PLUGINCOMMANDS_HPP/* Original file checksum: lines: 93, chars: 2484, CRC32: 72dfb433 */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -