-
Notifications
You must be signed in to change notification settings - Fork 79
Expand file tree
/
Copy pathops_seq.hpp
More file actions
33 lines (25 loc) · 782 Bytes
/
ops_seq.hpp
File metadata and controls
33 lines (25 loc) · 782 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#pragma once
#include <string>
#include <vector>
#include "bruskova_v_char_frequency/common/include/common.hpp"
#include "task/include/task.hpp"
namespace bruskova_v_char_frequency {
using InType = uint8_t;
using OutType = uint8_t;
class BruskovaVCharFrequencySEQ : public BaseTask {
using BaseTask = ppc::task::Task<InType, OutType>;
public:
static constexpr ppc::task::TypeOfTask GetStaticTypeOfTask() {
return ppc::task::TypeOfTask::kSEQ;
}
explicit BruskovaVCharFrequencySEQ(const InType &in);
bool PreProcessingImpl() override;
bool ValidationImpl() override;
bool RunImpl() override;
bool PostProcessingImpl() override;
private:
std::string input_str_;
char target_char_;
int result_count_ = 0;
};
} // namespace bruskova_v_char_frequency