Gobelijn API documentation
- generated for commit a0cbea7
|
String utilities. More...
#include <StringUtils.h>
Static Public Member Functions | |
template<typename T > | |
static T | FromString (std::string const &s) |
Builds a value of type T representation from a string. More... | |
template<typename T > | |
static std::string | ToString (T const &value) |
Builds a string representation of a value of type T. More... | |
static std::string | ToUpper (std::string const &source) |
Builds a string with upper case characters only. More... | |
static std::string | TrimRight (std::string const &source, std::string const &t=" ") |
Trim characters at right end of string. More... | |
static std::string | TrimLeft (std::string const &source, std::string const &t=" ") |
Trim characters at left end of string. More... | |
static std::string | Trim (std::string const &source, std::string const &t=" ") |
Trim characters at both ends of string. More... | |
String utilities.
Definition at line 33 of file StringUtils.h.
|
inlinestatic |
Builds a value of type T representation from a string.
Definition at line 38 of file StringUtils.h.
|
inlinestatic |
Builds a string representation of a value of type T.
Definition at line 48 of file StringUtils.h.
Referenced by ODemo::PassengerRoadVehicle::info().
|
inlinestatic |
Builds a string with upper case characters only.
Definition at line 56 of file StringUtils.h.
|
inlinestatic |
Trim characters at right end of string.
Definition at line 65 of file StringUtils.h.
Referenced by Trim().
|
inlinestatic |
Trim characters at left end of string.
Definition at line 72 of file StringUtils.h.
Referenced by Trim().
|
inlinestatic |
Trim characters at both ends of string.
Definition at line 79 of file StringUtils.h.
References TrimLeft(), and TrimRight().