HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
openvdb::OPENVDB_VERSION_NAME::string Namespace Reference

Functions

template<typename ContainerT >
void split (ContainerT &out, const std::string &in, const char delim)
 
template<typename ContainerT >
void split (ContainerT &out, const std::string &in, const std::set< char > &delims)
 
bool starts_with (const std::string &in, const std::string &start)
 
bool ends_with (const std::string &in, const std::string &end)
 
void trim (std::string &s)
 
void to_lower (std::string &s)
 

Function Documentation

bool openvdb::OPENVDB_VERSION_NAME::string::ends_with ( const std::string in,
const std::string end 
)
inline

Definition at line 77 of file Name.h.

template<typename ContainerT >
void openvdb::OPENVDB_VERSION_NAME::string::split ( ContainerT &  out,
const std::string in,
const char  delim 
)
inline

Definition at line 43 of file Name.h.

template<typename ContainerT >
void openvdb::OPENVDB_VERSION_NAME::string::split ( ContainerT &  out,
const std::string in,
const std::set< char > &  delims 
)
inline

Definition at line 57 of file Name.h.

bool openvdb::OPENVDB_VERSION_NAME::string::starts_with ( const std::string in,
const std::string start 
)
inline

Definition at line 71 of file Name.h.

void openvdb::OPENVDB_VERSION_NAME::string::to_lower ( std::string a)
inline

Convert to upper case in place, faster than std::toupper because we use a static locale that doesn't require a mutex lock.

Definition at line 96 of file Name.h.

void openvdb::OPENVDB_VERSION_NAME::string::trim ( std::string s)
inline

Definition at line 83 of file Name.h.