checks-parser/parser/module.h

29 lines
661 B
C
Raw Normal View History

#ifndef STORE_MODULE_H
#define STORE_MODULE_H
#include <string>
#include <vector>
class StoreModule {
std::string path;
2024-08-20 02:38:40 +03:00
std::wstring name;
std::wstring goods_name_regex;
std::wstring goods_price_regex;
std::wstring goods_quantity_regex;
std::wstring check_start_regex;
std::wstring check_end_regex;
public:
StoreModule(std::string);
StoreModule();
2024-08-20 02:38:40 +03:00
std::vector<std::string> parse_name(std::wstring);
std::vector<std::string> parse_price(std::wstring);
std::vector<std::string> parse_quantity(std::wstring);
std::wstring trim_check(std::wstring&);
2024-08-20 02:38:40 +03:00
std::wstring get_name();
};
#endif // STORE_MODULE_H