diff options
| author | Aotrix <[email protected]> | 2025-10-23 21:50:40 +0200 |
|---|---|---|
| committer | Aotrix <[email protected]> | 2025-10-23 21:50:40 +0200 |
| commit | c52572cda2da510de941e99edacfe5d3f93e1bc6 (patch) | |
| tree | 248fb5a33b69dce452c13f946838d5c0dd643158 /include/cardTypeHandlerInfo.hpp | |
| parent | 22f0f64d883f4d5322d8ae071197ee24227262d2 (diff) | |
formatted text
Diffstat (limited to 'include/cardTypeHandlerInfo.hpp')
| -rw-r--r-- | include/cardTypeHandlerInfo.hpp | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/include/cardTypeHandlerInfo.hpp b/include/cardTypeHandlerInfo.hpp index 155633c..82eb469 100644 --- a/include/cardTypeHandlerInfo.hpp +++ b/include/cardTypeHandlerInfo.hpp @@ -7,21 +7,15 @@ class CardTypeHandlerInfo { ~CardTypeHandlerInfo() = default; CardTypeHandlerInfo(const CardTypeHandlerInfo &) = delete; CardTypeHandlerInfo(CardTypeHandlerInfo &&) = default; - // TODO: rule of 5 ? delete copy operator ? how to call it I forgot CardTypeHandlerInfo( - const std::vector<std::string> &kCardTypeVector, - const std::vector<std::string> &kCardValueRegexVector, - const std::vector<std::function<const std::string(const std::string &)>> - kJSONToSQLConverterVector); + const std::vector<std::string> &kCardTypeVector, const std::vector<std::string> &kCardValueRegexVector, + const std::vector<std::function<const std::string(const std::string &)>> kJSONToSQLConverterVector); - void addCardInfo(const std::string &kCardType, - const std::string &kCardValueRegex, - const std::function<const std::string(const std::string &)> - kJSONToSQLConverter); + void addCardInfo(const std::string &kCardType, const std::string &kCardValueRegex, + const std::function<const std::string(const std::string &)> kJSONToSQLConverter); private: std::vector<std::string> mCardType; std::vector<std::string> mCardValueRegex; - std::vector<std::function<const std::string(const std::string &)>> - mJSONToSQLConverter; + std::vector<std::function<const std::string(const std::string &)>> mJSONToSQLConverter; }; |
