|
ARGoS 3
A parallel, multi-engine simulator for swarm robotics
|
#include <argos3/core/utility/configuration/argos_exception.h>#include <argos3/core/utility/datatypes/datatypes.h>#include <string>#include <vector>#include <sstream>
Include dependency graph for string_utilities.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Namespaces | |
| namespace | argos |
| The namespace containing all the ARGoS related code. | |
Functions | |
| template<typename T > | |
| std::string | argos::ToString (const T &t_value) |
Converts the given parameter to a std::string. | |
| template<typename T > | |
| T | argos::FromString (const std::string &str_value) |
Converts the given std::string parameter to the wanted type. | |
| template<typename T > | |
| void | argos::ParseValues (std::istream &str_input, UInt32 un_num_fields, T *pt_field_buffer, const char ch_delimiter='\n') |
| template<typename T > | |
| void | argos::ParseValues (const std::string &str_input, const UInt32 un_num_fields, T *pt_field_buffer, const char ch_delimiter='\n') |
| void | argos::Tokenize (const std::string &str_string, std::vector< std::string > &vec_tokens, const std::string &str_delimiters=" ") |
| Tokenizes the given string according to the wanted delimiters (by default just a " "). | |
| std::string | argos::StringToUpperCase (const std::string &str_string) |
| Converts a string to upper case. | |
| std::string | argos::StringToLowerCase (const std::string &str_string) |
| Converts a string to lower case. | |
| void | argos::Replace (std::string &str_buffer, const std::string &str_original, const std::string &str_new) |
| Searches into str_buffer for occurrences of str_original and substitutes them with str_new. | |
| bool | argos::MatchPattern (const std::string &str_input, const std::string &str_pattern) |
Returns true if str_pattern is matched by str_input. | |
| std::string & | argos::ExpandEnvVariables (std::string &str_buffer) |
| Searches into str_buffer for occurrences of an environment variable of the form $VAR and substitutes them with the value of the variable. | |