hce-node application
1.4.3
HCE Hierarchical Cluster Engine node application
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
DRCEFileExtractor.hpp
Go to the documentation of this file.
1
14
#ifndef DRCE_FILE_EXTRACTOR_HPP
15
#define DRCE_FILE_EXTRACTOR_HPP
16
17
#include "
CustomMessage.hpp
"
18
#include "
DRCEResultData.hpp
"
19
#include "
DRCETaskRequest.hpp
"
20
#include "
DRCEInputJsonMessage.hpp
"
21
22
namespace
HCE
23
{
24
namespace
drce
25
{
26
//-----------------------------------------------------------------------------
27
class
DataFileExtractor
28
{
29
public
:
30
DataFileExtractor
(
CustomMessage
& message_) : message(message_) {}
31
~DataFileExtractor
(
void
) {}
32
33
DRCEResultDataItem
extract
(
const
std::string& dataFileName)
throw
(Poco::Exception);
34
private
:
35
CustomMessage
& message;
36
};
37
//-----------------------------------------------------------------------------
38
//-----------------------------------------------------------------------------
39
class
RequestFileExtractor
40
{
41
public
:
42
RequestFileExtractor
(
CustomMessage
& message_) : message(message_) {}
43
~RequestFileExtractor
(
void
) {}
44
45
DRCEInputJsonMessage
extract
(
const
std::string& requestFileName)
throw
(Poco::Exception);
46
private
:
47
CustomMessage
& message;
48
};
49
//-----------------------------------------------------------------------------
50
//-----------------------------------------------------------------------------
51
}
// end namespace drce
52
}
// end namespace HCE
53
54
#endif // DRCE_FILE_EXTRACTOR_HPP
sources
utils
DRCE
src
DRCEFileExtractor.hpp
Generated on Tue Jun 30 2015 19:42:11 for hce-node application by
1.8.1.2