YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
string.h File Reference
#include <iterator>
#include <regex>
#include <sstream>
#include <string>
#include <vector>
+ Include dependency graph for string.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  yarp
 The main, catch-all namespace for YARP.
 
namespace  yarp::conf
 
namespace  yarp::conf::string
 

Functions

template<typename ContainerT = std::vector<std::string>>
ContainerT yarp::conf::string::split (const typename ContainerT::value_type &s, std::basic_regex< typename ContainerT::value_type::value_type > regex)
 Utility to split a string by a separator, into a vector of strings.
 
template<typename ContainerT = std::vector<std::string>>
ContainerT yarp::conf::string::split (const typename ContainerT::value_type &s, typename ContainerT::value_type separator)
 Utility to split a string by a separator, into a vector of strings.
 
template<typename ContainerT = std::vector<std::string>>
ContainerT yarp::conf::string::split (const typename ContainerT::value_type &s, typename ContainerT::value_type::value_type separator)
 Utility to split a string by a separator, into a vector of strings.
 
template<typename ContainerT = std::vector<std::string>>
ContainerT::value_type yarp::conf::string::join (typename ContainerT::const_iterator begin, typename ContainerT::const_iterator end, const typename ContainerT::value_type &separator=", ")
 Utility to join the elements in a container to a single string separated by a separator.
 
template<typename ContainerT = std::vector<std::string>>
ContainerT::value_type yarp::conf::string::join (typename ContainerT::const_iterator begin, typename ContainerT::const_iterator end, const typename ContainerT::value_type::value_type &separator)
 Utility to join the elements in a container to a single string separated by a separator.