#ifndef STORE_MODULE_H #define STORE_MODULE_H #include #include #include class StoreModule { std::string path; std::wstring name; std::wstring autodetect_regex; std::wstring goods_name_regex; std::wstring goods_price_regex; std::wstring goods_net_weight_regex; std::wstring goods_quantity_regex; std::wstring check_start_regex; std::wstring check_end_regex; std::vector parse(std::wstring str, std::wstring regexp, boost::regex_constants::flag_type_ flag); public: StoreModule(std::string path); StoreModule(); std::vector parse_name(std::wstring); std::vector parse_price(std::wstring); std::vector parse_net_weight(std::vector &names); std::vector parse_quantity(std::wstring); std::wstring trim_check(std::wstring&); std::wstring get_name(); bool search_autodetect_regex(std::wstring str); }; #endif // STORE_MODULE_H