Vis 2
Kinetic Visualization for 3D shape and structure
 All Classes Namespaces Functions Pages
StringUtil.h
1 //Author: Christian Hafner
2 #pragma once
3 
4 #include <string>
5 #include <vector>
6 
7 
12 {
13 public:
17  static void Tokenize(const std::string& str, std::vector<std::string>* tokens, const std::string& delim=" ");
21  static std::string GetBasePath(const std::string& str);
25  static std::string GetFileName(const std::string& str);
29  static std::string GetFileNameWithoutExtension(const std::string& str);
33  static std::string ToLowerCase(const std::string& str);
34 };
Definition: StringUtil.h:11
static std::string GetFileNameWithoutExtension(const std::string &str)
Definition: StringUtil.cpp:32
static void Tokenize(const std::string &str, std::vector< std::string > *tokens, const std::string &delim=" ")
Definition: StringUtil.cpp:6
static std::string ToLowerCase(const std::string &str)
Definition: StringUtil.cpp:53
static std::string GetFileName(const std::string &str)
Definition: StringUtil.cpp:26
static std::string GetBasePath(const std::string &str)
Definition: StringUtil.cpp:20