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

📄 cq@plugin_name@.h.in

📁 The GIFT (the GNU Image-Finding Tool) is a Content Based Image Retrieval System (CBIRS: http://en.wi
💻 IN
字号:
/* -*- mode: c++ -*- *//*     GIFT, a flexible content based image retrieval system.    Copyright (C) 1998, 1999, 2000, 2001, 2002, CUI University of Geneva    This program is free software; you can redistribute it and/or modify    it under the terms of the GNU General Public License as published by    the Free Software Foundation; either version 2 of the License, or    (at your option) any later version.    This program is distributed in the hope that it will be useful,    but WITHOUT ANY WARRANTY; without even the implied warranty of    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the    GNU General Public License for more details.    You should have received a copy of the GNU General Public License    along with this program; if not, write to the Free Software    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA*/// -*- mode: c++ -*-#ifndef _CQ@PLUGIN_NAME@#define _CQ@PLUGIN_NAME@/* -*- mode: c++ -*- *//** * * CQ@PLUGIN_NAME@.h * An empty CQuery subclass * * * modification history: * * WM 20000205 creation * * * * compiler defines used: * _CQ@PLUGIN_NAME@.h avoids double inclusion * */#include <memory>#include <map>#include <list>#include "libMRML/include/CQuery.h"#include "libMRML/include/CSelfDestroyPointer.h"#include "libMRML/include/CIDRelevanceLevelPairList.h"#include "libMRML/include/CRelevanceLevelList.h"//#include "CWeightingFunctionPointerList.h"//#include "CWeightingFunctionPointerHash.h"#include "libMRML/include/CAlgorithm.h"#include "libMRML/include/CAccessor.h"#include "libMRML/include/CAccessorAdminCollection.h"#include "libMRML/include/CAccessorAdmin.h"class CScoreBoard;class CAccessor;/**     This is a simple @PLUGIN_NAME@ based browser.        @Author: Wolfgang M黮ler */class CQ@PLUGIN_NAME@:public CQuery{protected:  /** sets mCurrentPosition to 0*/  void init(); public:  /**   *   * default constructor   *    */  CQ@PLUGIN_NAME@();  /**   *   * we need to unregister the accessors used   *    */  ~CQ@PLUGIN_NAME@();  /**   */  CQ@PLUGIN_NAME@(CAccessorAdminCollection& inAccessorAdminCollection,		  CAlgorithm&          inAlgorithm);      /**   * Processing a query   *   *@param inQuery an CXMLElement containing a query-step element   */  virtual CXMLElement* query(const CXMLElement& inQuery);  /** This function is useless in the context of this plugin.      Please see CQuery and its documentation for more instructions       The reason why this function is here, is to bail out on misconfiguration,      and to keep the compiler happy.      @see CQuery  */  virtual CIDRelevanceLevelPairList* fastQuery(const CXMLElement& ,					       int ,					       double);  /**   *   * set the Algorithm. DEPRECATED   *   */  virtual bool setAlgorithm(CAlgorithm& inAlgorithm);}; /* end of class */#endif

⌨️ 快捷键说明

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