HCE project C++ developers source code library
1.1.1
HCE project developer library
Main Page
Namespaces
Classes
Files
File List
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