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
tests
main.cpp
SphinxAdminCommandTest.cpp
SphinxFunctionalObjectTest.cpp
SphinxFunctionalObjectTest.hpp
SphinxFunctionalTest.cpp
SphinxIndexTest.cpp
SphinxIndexTest.hpp
SphinxManageTest.cpp
SphinxManageTest.hpp
SphinxMultiIndexTest.cpp
SphinxMultiIndexTest.hpp
SphinxPrintStatus.cpp
SphinxPrintStatus.hpp
SphinxSearchTest.cpp
SphinxSearchTest.hpp
SphinxStressTest.cpp
SphinxStressTest.hpp
SphinxTestPrinter.hpp
types
xmlCleaner
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
SphinxPrintStatus.hpp
Go to the documentation of this file.
1
14
#ifndef SPHINX_PRINT_STATUS_HPP
15
#define SPHINX_PRINT_STATUS_HPP
16
17
#include <iostream>
18
19
#include "
SphinxFunctionalObject.hpp
"
20
21
namespace
HCE
22
{
23
namespace
sphinx
24
{
25
namespace
tests
26
{
27
//-----------------------------------------------------------------------------
28
class
SphinxPrintStatus
29
{
30
enum
{WIDTH=40};
31
public
:
32
SphinxPrintStatus
(
const
std::string& debugLevel,
const
std::string& postfix=
""
);
33
~SphinxPrintStatus
(
void
) {}
34
35
void
operator()
(
const
std::string& msg,
unsigned
int
width=WIDTH);
36
std::string
operator()
(
HCE::sphinx::SphinxFunctionalObject
& rhs);
37
private
:
38
std::string debugLevel;
39
std::string postfix;
40
};
41
//-----------------------------------------------------------------------------
42
//-----------------------------------------------------------------------------
43
static
SphinxPrintStatus printSuccess(
"information"
,
" - OK"
),
44
printFail
(
"error"
,
" - FAIL"
),
45
printMessage
(
"information"
,
""
),
46
printError
(
"error"
,
""
);
47
//-----------------------------------------------------------------------------
48
//-----------------------------------------------------------------------------
49
}
// end namespace tests
50
}
// end namespace sphinx
51
}
// end namespace HCE
52
53
#endif // SPHINX_PRINT_STATUS_HPP
sources
utils
sphinx
tests
SphinxPrintStatus.hpp
Generated on Tue Jun 30 2015 19:42:18 for hce-node application by
1.8.1.2