VAPOR3 3.9.4
|
Functions | |
template<typename T > | |
bool | Contains (const std::vector< T > &toSearch, const T &object) |
template<typename T > | |
void | AppendTo (std::vector< T > &a, const std::vector< T > &b) |
template<typename T > | |
std::vector< T > | Slice (const std::vector< T > &a, int from, int to=-1) |
template<typename T > | |
vector< T > | Filter (const std::vector< T > &v, std::function< bool(const T &)> f) |
template<typename T > | |
bool | BeginsWith (const T &str, const T &match) |
COMMON_API bool | BeginsWith (const std::string &str, const std::string &match) |
COMMON_API bool | Contains (const std::string &toSearch, const std::string &query) |
COMMON_API bool | ContainsIgnoreCase (const std::string &toSearch, const std::string &query) |
COMMON_API bool | EndsWith (const std::string &str, const std::string &match) |
COMMON_API std::string | ToLower (std::string str) |
COMMON_API std::vector< std::string > | Split (std::string str, const std::string &delimeter) |
COMMON_API std::string | Join (const std::vector< std::string > &parts, const std::string &delimeter) |
COMMON_API std::string | ReplaceAll (std::string source, const std::string &oldSegment, const std::string &newSegment) |
void STLUtils::AppendTo | ( | std::vector< T > & | a, |
const std::vector< T > & | b | ||
) |
Definition at line 14 of file STLUtils.h.
COMMON_API bool STLUtils::BeginsWith | ( | const std::string & | str, |
const std::string & | match | ||
) |
bool STLUtils::BeginsWith | ( | const T & | str, |
const T & | match | ||
) |
Definition at line 24 of file STLUtils.h.
COMMON_API bool STLUtils::Contains | ( | const std::string & | toSearch, |
const std::string & | query | ||
) |
bool STLUtils::Contains | ( | const std::vector< T > & | toSearch, |
const T & | object | ||
) |
Definition at line 12 of file STLUtils.h.
COMMON_API bool STLUtils::ContainsIgnoreCase | ( | const std::string & | toSearch, |
const std::string & | query | ||
) |
COMMON_API bool STLUtils::EndsWith | ( | const std::string & | str, |
const std::string & | match | ||
) |
vector< T > STLUtils::Filter | ( | const std::vector< T > & | v, |
std::function< bool(const T &)> | f | ||
) |
Definition at line 18 of file STLUtils.h.
COMMON_API std::string STLUtils::Join | ( | const std::vector< std::string > & | parts, |
const std::string & | delimeter | ||
) |
COMMON_API std::string STLUtils::ReplaceAll | ( | std::string | source, |
const std::string & | oldSegment, | ||
const std::string & | newSegment | ||
) |
std::vector< T > STLUtils::Slice | ( | const std::vector< T > & | a, |
int | from, | ||
int | to = -1 |
||
) |
Definition at line 16 of file STLUtils.h.
COMMON_API std::vector< std::string > STLUtils::Split | ( | std::string | str, |
const std::string & | delimeter | ||
) |
COMMON_API std::string STLUtils::ToLower | ( | std::string | str | ) |