#include <StringUtil.h>
Static Public Member Functions | |
template<typename Range1T , typename Range2T > | |
static bool | EndsWith (const Range1T &input, const Range2T &test) |
static bool | Match (const char *str, const char *wildcard_pattern) |
Match str with the Unix shell-style wildcard_pattern. More... | |
template<typename String1T , typename String2T > | |
static bool | Match (const String1T &str, const String2T &wildcard_pattern) |
Match str with the Unix shell-style wildcard_pattern. More... | |
template<typename Container , typename Range1T , typename Range2T > | |
static void | Split (Container &destination, const Range1T &str, const Range2T &separators) |
template<typename Range1T , typename Range2T > | |
static bool | StartsWith (const Range1T &input, const Range2T &test) |
static const char * | ToConstCharPtr (const char *str) |
template<typename StringT > | |
static const char * | ToConstCharPtr (const StringT &str) |
template<typename WritableRangeT > | |
static void | ToLower (WritableRangeT &str) |
template<typename SequenceT > | |
static auto | ToLowerCopy (const SequenceT &str) |
template<typename WritableRangeT > | |
static void | ToUpper (WritableRangeT &str) |
template<typename SequenceT > | |
static auto | ToUpperCopy (const SequenceT &str) |
template<typename WritableRangeT > | |
static void | Trim (WritableRangeT &str) |
template<typename SequenceT > | |
static auto | TrimCopy (const SequenceT &str) |
Definition at line 13 of file StringUtil.h.
|
inlinestatic |
Definition at line 31 of file StringUtil.h.
|
static |
Match str with the Unix shell-style wildcard_pattern.
Definition at line 17 of file StringUtil.cpp.
Referenced by carla::client::ActorList::Filter(), carla::client::World::GetTrafficLight(), carla::client::World::GetTrafficLightFromOpenDRIVE(), carla::client::World::GetTrafficSign(), carla::FileSystem::ListFolder(), Match(), carla::client::ActorBlueprint::MatchTags(), and Split().
|
inlinestatic |
Match str with the Unix shell-style wildcard_pattern.
Definition at line 75 of file StringUtil.h.
References Match(), and ToConstCharPtr().
|
inlinestatic |
Definition at line 66 of file StringUtil.h.
References Match().
Referenced by carla::client::ActorAttributeValueAccess::As< sensor::data::Color >(), carla::client::ActorBlueprint::ActorBlueprint(), and carla::opendrive::parser::ParseGeoReference().
|
inlinestatic |
Definition at line 26 of file StringUtil.h.
Referenced by carla::client::detail::ActorFactory::MakeActor().
|
inlinestatic |
Definition at line 16 of file StringUtil.h.
Referenced by Match().
|
inlinestatic |
Definition at line 21 of file StringUtil.h.
|
inlinestatic |
Definition at line 36 of file StringUtil.h.
Referenced by carla::road::MapBuilder::CreateRoadMark(), carla::road::element::GetColor(), carla::road::element::GetType(), carla::client::ActorAttribute::Set(), and carla::opendrive::parser::StringToLaneType().
|
inlinestatic |
Definition at line 41 of file StringUtil.h.
Referenced by carla::client::ActorAttributeValueAccess::As().
|
inlinestatic |
Definition at line 46 of file StringUtil.h.
|
inlinestatic |
Definition at line 51 of file StringUtil.h.
|
inlinestatic |
Definition at line 56 of file StringUtil.h.
|
inlinestatic |
Definition at line 61 of file StringUtil.h.