Added strf validation
This commit is contained in:
committed by
borgmanJeremy
parent
f54538ee1e
commit
f7e8d34c82
20
src/utils/strfparse.h
Normal file
20
src/utils/strfparse.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#include <algorithm>
|
||||
#include <ctime>
|
||||
#include <map>
|
||||
#include <sstream>
|
||||
#include <vector>
|
||||
|
||||
namespace strfparse {
|
||||
std::vector<std::string> split(std::string const& s, char delimiter);
|
||||
|
||||
std::vector<char> create_specifier_list();
|
||||
|
||||
std::string replace_all(std::string input,
|
||||
std::string const& to_find,
|
||||
std::string const& to_replace);
|
||||
|
||||
std::vector<char> match_specifiers(std::string const& specifier,
|
||||
std::vector<char> allowed_specifier);
|
||||
|
||||
std::string format_time_string(std::string const& specifier);
|
||||
}
|
||||
Reference in New Issue
Block a user