FirteX-高性能全文索引和检索平台

API Documentation


首页 | 名字空间列表 | 类继承关系 | 组合类型列表 | $(BL\录(B | 文件列表 | 名字空间成员 | 组合类型成员 | 文件成员

ComIndexParameter.h

浏览该文件的文档。
00001 //
00002 // Copyright(C) 2005--2006 Institute of Computing Tech, Chinese Academy of Sciences. 
00003 // All rights reserved.
00004 // This file is part of FirteX (www.firtex.org)
00005 //
00006 // Use of the FirteX is subject to the terms of the software license set forth in 
00007 // the LICENSE file included with this software, and also available at
00008 // http://www.firtex.org/license.html
00009 //
00010 // Author       : 郭瑞杰(GuoRuijie)
00011 // Email        : ruijieguo@software.ict.ac.cn,ruijieguo@gmail.com
00012 // Created      : 2006/5/15
00013 //
00014 #ifndef __COMINDEXPARAMETER_H
00015 #define __COMINDEXPARAMETER_H
00016 
00017 #if _MSC_VER > 1000
00018 #pragma once
00019 #endif // _MSC_VER > 1000
00020 
00021 #include "FirteXCOM.h"
00022 #include "ComObject.h"
00023 #include "../index/IndexParameter.h"
00024 
00025 using namespace firtex::index;
00026 
00027 namespace firtex
00028 {       
00029         namespace plugin
00030         {
00031                 class CComIndexParameter :      public CComObject
00032                 {
00033                 public:
00034                         CComIndexParameter(CIndexParameter* pParam);
00035                         virtual ~CComIndexParameter(void);
00036                 public:
00037                         static IIndexParameter* wrap(CIndexParameter* pParam);
00038                         static CIndexParameter* unwrap(IIndexParameter* pInterface);
00039                 public:
00040                         BEGIN_INTERFACE_PART(IndexParameter, IIndexParameter)                           
00041                                 FX_STDMETHOD(getParam)(/* [out][retval] */ firtex::plugin::INDEXPARAMETER* pParam);
00042                                 FX_STDMETHOD(addMetadata)(/* [in] */firtex::plugin::fieldid_t id,/* [in] */firtex::plugin::METADATAVAR* pMeta);                         
00043                         END_INTERFACE_PART(IndexParameter)                      
00044                 protected:
00045                         CIndexParameter*         m_pParam;
00046                 };
00047         }
00048 }
00049 
00050 #endif

http://www.firtex.org http://www.sourceforge.net/projects/firtex