hce-node application
1.4.3
HCE Hierarchical Cluster Engine node application
Main Page
Namespaces
Classes
Files
File List
File Members
hce-node application
HCE project node model
Namespaces
Classes
Files
File List
sources
src
utils
algorithms
applicationFramework
asmXMLParser
base64
coreDumpChecker
DRCE
exec
HCECSM
jsonObjExtractor
kvdb
messageStream
reduceAdditionCore
reduceCore
reduceDRCE
reduceHandler
reduceSphinx
refine
serializable
sphinx
samples
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
tests
types
xmlCleaner
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
SphinxResultDataMemoryManager.hpp
Go to the documentation of this file.
1
14
#ifndef SPHINX_RESULT_DATA_MEMORY_MANAGER_HPP
15
#define SPHINX_RESULT_DATA_MEMORY_MANAGER_HPP
16
17
#include "
SphinxResultData.hpp
"
18
19
namespace
HCE
20
{
21
namespace
sphinx
22
{
23
//-----------------------------------------------------------------------------
24
class
SphinxResultDataMemoryManager
25
{
26
public
:
27
explicit
SphinxResultDataMemoryManager
(
SphinxResultData
& resultData);
28
~SphinxResultDataMemoryManager
(
void
);
29
30
void
resetMatchInfo
(
void
);
31
void
setMatchInfoDocId
(
unsigned
long
long
docId
);
32
void
setMatchInfoWeight
(
const
std::string&
weight
);
33
bool
addMatchInfoAttr
(
AttrInfo
&& attrInfo);
34
bool
applyMatchInfo
(
void
);
35
36
void
reset
(
void
);
37
void
resize
(
size_t
,
size_t
);
38
39
size_t
getMatchesCount
(
void
)
const
{
return
matchesCount;}
40
size_t
getAttributesCount
(
void
)
const
{
return
attributesCount;}
41
private
:
42
SphinxMatchInfo
matchInfo;
43
SphinxResultData
& resultData;
44
size_t
matchesCount;
45
size_t
attributesCount;
46
};
47
//-----------------------------------------------------------------------------
48
//-----------------------------------------------------------------------------
49
}
// namespace sphinx
50
}
// namespace HCE
51
52
#endif // SPHINX_RESULT_DATA_MEMORY_MANAGER_HPP
sources
utils
sphinx
src
SphinxResultDataMemoryManager.hpp
Generated on Tue Jun 30 2015 19:42:17 for hce-node application by
1.8.1.2