HCE project C++ developers source code library
1.1.1
HCE project developer library
Main Page
Namespaces
Classes
Files
File List
File Members
HCE project C++ developers source code library
HCE project C++ developer source code library
Namespaces
Classes
Files
File List
sources
algorithms
applicationFramework
asmXMLParser
base64
coreDumpChecker
DRCE
exec
HCECSM
jsonObjExtractor
kvdb
messageStream
reduceAdditionCore
reduceCore
reduceDRCE
reduceHandler
reduceSphinx
refine
serializable
sphinx
src
SphinxAdminCommand.cpp
SphinxAdminCommand.hpp
SphinxConfigCreator.cpp
SphinxConfigCreator.hpp
SphinxConfigOptions.cpp
SphinxConfigOptions.hpp
SphinxDataFile.cpp
SphinxDataFile.hpp
SphinxDataSource.cpp
SphinxDataSource.hpp
SphinxDataSourceParameters.cpp
SphinxDataSourceParameters.hpp
SphinxError.hpp
SphinxFilters.cpp
SphinxFilters.hpp
SphinxFunctionalObject.cpp
SphinxFunctionalObject.hpp
SphinxIndexer.cpp
SphinxIndexer.hpp
SphinxInputJsonMessage.cpp
SphinxInputJsonMessage.hpp
SphinxInputJsonMessageIndex.cpp
SphinxInputJsonMessageIndex.hpp
SphinxInputJsonMessageManage.cpp
SphinxInputJsonMessageManage.hpp
SphinxInputJsonMessageSearch.cpp
SphinxInputJsonMessageSearch.hpp
SphinxMatchInfo.cpp
SphinxMatchInfo.hpp
SphinxMessageConst.hpp
SphinxNodeOptions.cpp
SphinxNodeOptions.hpp
SphinxOutputJsonMessage.cpp
SphinxOutputJsonMessage.hpp
SphinxRequestInfo.cpp
SphinxRequestInfo.hpp
SphinxResultData.cpp
SphinxResultData.hpp
SphinxResultDataItem.hpp
SphinxResultDataMemoryManager.cpp
SphinxResultDataMemoryManager.hpp
SphinxResultDataSerializator.cpp
SphinxResultDataSerializator.hpp
SphinxSchemaFile.cpp
SphinxSchemaFile.hpp
SphinxSearcher.cpp
SphinxSearcher.hpp
SphinxSearchInterface.cpp
SphinxSearchInterface.hpp
SphinxWeightCalculator.cpp
SphinxWeightCalculator.hpp
types
xmlCleaner
main.cpp
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
SphinxDataSourceParameters.hpp
Go to the documentation of this file.
1
14
#ifndef SPHINX_DATA_SOURCE_PARAMETERS_HPP
15
#define SPHINX_DATA_SOURCE_PARAMETERS_HPP
16
17
#include<iostream>
18
#include <map>
19
20
namespace
HCE
21
{
22
namespace
sphinx
23
{
24
//-----------------------------------------------------------------------------
25
class
SphinxDataSourceParameters
26
{
27
public
:
28
typedef
std::map<std::string, unsigned long long>
PARAM_ATTR__MAP
;
29
public
:
30
SphinxDataSourceParameters
(
void
);
31
explicit
SphinxDataSourceParameters
(std::istream& is);
32
virtual
~SphinxDataSourceParameters
(
void
) {};
33
34
bool
load
(std::istream& is);
35
36
SphinxDataSourceParameters::PARAM_ATTR__MAP
&
getParamAttr
(
void
) {
return
Map;}
37
38
unsigned
long
long
getMaxDocId
(
void
);
39
unsigned
long
long
getDocumentsCount
(
void
);
40
41
std::string
getErrorMsg
(
void
)
const
{
return
errorMsg;}
42
bool
isError
(
void
)
const
{
return
_IsError;}
43
private
:
44
PARAM_ATTR__MAP
Map;
45
std::string errorMsg;
46
bool
_IsError;
47
};
48
//-----------------------------------------------------------------------------
49
//-----------------------------------------------------------------------------
50
}
// namespace sphinx
51
}
// namespace HCE
52
53
#endif // SPHINX_DATA_SOURCE_PARAMETERS_HPP
sources
sphinx
src
SphinxDataSourceParameters.hpp
Generated on Mon Jan 13 2014 13:08:39 for HCE project C++ developers source code library by
1.8.1.2