@@ -0,0 +1,51 | |||
|
1 | #include "AmdaResultParserHelper.h" | |
|
2 | ||
|
3 | Q_LOGGING_CATEGORY(LOG_AmdaResultParserHelper, "AmdaResultParserHelper") | |
|
4 | ||
|
5 | // ////////////////// // | |
|
6 | // ScalarParserHelper // | |
|
7 | // ////////////////// // | |
|
8 | ||
|
9 | bool ScalarParserHelper::checkProperties() | |
|
10 | { | |
|
11 | /// @todo ALX | |
|
12 | } | |
|
13 | ||
|
14 | std::shared_ptr<IDataSeries> ScalarParserHelper::createSeries() | |
|
15 | { | |
|
16 | /// @todo ALX | |
|
17 | } | |
|
18 | ||
|
19 | void ScalarParserHelper::readPropertyLine(const QString &line) | |
|
20 | { | |
|
21 | /// @todo ALX | |
|
22 | } | |
|
23 | ||
|
24 | void ScalarParserHelper::readResultLine(const QString &line) | |
|
25 | { | |
|
26 | /// @todo ALX | |
|
27 | } | |
|
28 | ||
|
29 | // ////////////////// // | |
|
30 | // VectorParserHelper // | |
|
31 | // ////////////////// // | |
|
32 | ||
|
33 | bool VectorParserHelper::checkProperties() | |
|
34 | { | |
|
35 | /// @todo ALX | |
|
36 | } | |
|
37 | ||
|
38 | std::shared_ptr<IDataSeries> VectorParserHelper::createSeries() | |
|
39 | { | |
|
40 | /// @todo ALX | |
|
41 | } | |
|
42 | ||
|
43 | void VectorParserHelper::readPropertyLine(const QString &line) | |
|
44 | { | |
|
45 | /// @todo ALX | |
|
46 | } | |
|
47 | ||
|
48 | void VectorParserHelper::readResultLine(const QString &line) | |
|
49 | { | |
|
50 | /// @todo ALX | |
|
51 | } |
@@ -43,4 +43,26 struct IAmdaResultParserHelper { | |||
|
43 | 43 | virtual void readResultLine(const QString &line) = 0; |
|
44 | 44 | }; |
|
45 | 45 | |
|
46 | /** | |
|
47 | * Implementation of @sa IAmdaResultParserHelper for scalars | |
|
48 | */ | |
|
49 | class ScalarParserHelper : public IAmdaResultParserHelper { | |
|
50 | public: | |
|
51 | bool checkProperties() override; | |
|
52 | std::shared_ptr<IDataSeries> createSeries() override; | |
|
53 | void readPropertyLine(const QString &line) override; | |
|
54 | void readResultLine(const QString &line) override; | |
|
55 | }; | |
|
56 | ||
|
57 | /** | |
|
58 | * Implementation of @sa IAmdaResultParserHelper for vectors | |
|
59 | */ | |
|
60 | class VectorParserHelper : public IAmdaResultParserHelper { | |
|
61 | public: | |
|
62 | bool checkProperties() override; | |
|
63 | std::shared_ptr<IDataSeries> createSeries() override; | |
|
64 | void readPropertyLine(const QString &line) override; | |
|
65 | void readResultLine(const QString &line) override; | |
|
66 | }; | |
|
67 | ||
|
46 | 68 | #endif // SCIQLOP_AMDARESULTPARSERHELPER_H |
General Comments 0
You need to be logged in to leave comments.
Login now