Contains helper functions for dealing with String. More...
#include <algorithm>
#include <iomanip>
#include <limits>
#include <string>
#include <sstream>
#include <ctype.h>
#include <vector>
#include "icl_core/BaseTypes.h"
#include "icl_core/ImportExport.h"
#include "icl_core/TemplateHelper.h"
Go to the source code of this file.
Namespaces | |
namespace | icl_core |
Functions | |
String | icl_core::join (const std::vector< String > &substrings, const String &delimiter) |
template<typename T > | |
String | icl_core::padLeft (typename ConvertToRef< T >::ToConstRef x, size_t width, char pad_chr= ' ') |
template<> | |
String | icl_core::padLeft< String > (const String &str, size_t width, char pad_chr) |
template<typename T > | |
String | icl_core::padRight (typename ConvertToRef< T >::ToConstRef x, size_t width, char pad_chr= ' ') |
template<> | |
String | icl_core::padRight< String > (const String &str, size_t width, char pad_chr) |
std::vector< String > | icl_core::split (const String &str, const String &delimiter) |
template<typename T > | |
String | icl_core::stringify (typename ConvertToRef< T >::ToConstRef x) |
template<> | |
String | icl_core::stringify< bool > (const bool &x) |
template<> | |
String | icl_core::stringify< double > (const double &x) |
template<> | |
String | icl_core::stringify< float > (const float &x) |
template<> | |
String | icl_core::stringify< long double > (const long double &x) |
String | icl_core::toLower (icl_core::String str) |
String | icl_core::toUpper (icl_core::String str) |
String | icl_core::trim (String const &str) |
Contains helper functions for dealing with String.
Definition in file StringHelper.h.