added logger
This commit is contained in:
@@ -2,9 +2,22 @@
|
||||
#define QUERY_STRING_HPP
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
namespace matador::utils {
|
||||
|
||||
/**
|
||||
* Splits a string by a delimiter and
|
||||
* add the string tokens to a vector. The
|
||||
* size of the vector is returned.
|
||||
*
|
||||
* @param str The string to split.
|
||||
* @param delim The delimiter character.
|
||||
* @param values The result vector.
|
||||
* @return The size of the vector.
|
||||
*/
|
||||
size_t split(const std::string &str, char delim, std::vector<std::string> &values);
|
||||
|
||||
/**
|
||||
* Replaces all occurrences of string from in given string
|
||||
* with string to.
|
||||
|
||||
Reference in New Issue
Block a user