84 const char SEPARATOR =
'.';
86 std::vector<std::string> result;
88 size_t length = str.size();
92 if (str[i] == SEPARATOR) {
93 result.push_back(acc);
101 result.push_back(acc);
110 for (
size_t i = 0; i < variable.size(); i++) {
111 result += variable[i];
112 if (i < variable.size() - 1) {
static std::vector< std::string > string_to_vector(const std::string &str)
Variable(const char *variable)
std::vector< std::string > get_name_vector() const
static std::string vector_to_string(const std::vector< std::string > &var)
void set_value(std::string value)
std::vector< std::string > m_name_vector
std::string get_value() const
std::string get_name() const