📄 pluginconfigid.hpp
字号:
/* * =========================================================================== * PRODUCTION $Log: PluginConfigID.hpp,v $ * PRODUCTION Revision 1000.0 2003/10/31 20:17:59 gouriano * PRODUCTION PRODUCTION: IMPORTED [ORIGINAL] Dev-tree R1.2 * PRODUCTION * =========================================================================== *//* $Id: PluginConfigID.hpp,v 1000.0 2003/10/31 20:17:59 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: ....... * * File Description: * ....... * * Remark: * This code was originally generated by application DATATOOL * using specifications from the data definition file * 'plugin.asn'. */#ifndef GUI_PLUGIN_PLUGINCONFIGID_HPP#define GUI_PLUGIN_PLUGINCONFIGID_HPP// generated includes#include <gui/config/PluginConfigID_.hpp>// generated classesBEGIN_NCBI_SCOPEBEGIN_objects_SCOPE // namespace ncbi::objects::class NCBI_GUICONFIG_EXPORT CPluginConfigID : public CPluginConfigID_Base{ typedef CPluginConfigID_Base Tparent;public: // constructor CPluginConfigID(void); CPluginConfigID(const string& type, const string& style); // destructor ~CPluginConfigID(void); // comparisons bool TypeMatches(string type) const; bool StyleMatches(string style) const;private: // Prohibit copy constructor and assignment operator CPluginConfigID(const CPluginConfigID& value); CPluginConfigID& operator=(const CPluginConfigID& value);};/////////////////// CPluginConfigID inline methods// constructorinlineCPluginConfigID::CPluginConfigID(void){}inlineCPluginConfigID::CPluginConfigID(const string& type, const string& style){ SetType(type); SetStyle(style);}inlinebool CPluginConfigID::TypeMatches(string type) const{ if (CanGetType()) return (GetType() == type); return false;}inlinebool CPluginConfigID::StyleMatches(string style) const{ if (CanGetStyle()) { return (GetStyle() == style); } return false;}/////////////////// end of CPluginConfigID inline methodsEND_objects_SCOPE // namespace ncbi::objects::END_NCBI_SCOPE/** ===========================================================================** $Log: PluginConfigID.hpp,v $* Revision 1000.0 2003/10/31 20:17:59 gouriano* PRODUCTION: IMPORTED [ORIGINAL] Dev-tree R1.2** Revision 1.2 2003/10/10 19:35:31 dicuccio* Added export specifiers** Revision 1.1 2003/10/10 17:41:23 rsmith* moved from gui/plugin to gui/config** Revision 1.2 2003/08/05 19:01:34 rsmith* change members used in mem_fun to satisfy certain compilers.** Revision 1.1 2003/08/05 17:37:38 rsmith* Classes to allow saving of plugins configuration values as ASN.1.*** ===========================================================================*/#endif // GUI_PLUGIN_PLUGINCONFIGID_HPP/* Original file checksum: lines: 93, chars: 2464, CRC32: 190c68f3 */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -