Implements utility functions for manipulating strings. More...
#include <string>Go to the source code of this file.
Namespaces | |
| chai3d | |
Functions | |
| int | chai3d::cStrLength (const char *a_input) |
| This function computes the length of an ANSI string. More... | |
| std::string | chai3d::cGetFilename (const std::string &a_input, const bool a_includeFileExtension=true) |
| This function extracts the filename with or without its extension. More... | |
| std::string | chai3d::cGetFileExtension (const std::string &a_input, const bool a_includeDot=false) |
| This function extracts the file extension of a file. More... | |
| std::string | chai3d::cGetDirectory (const std::string &a_input) |
| This function extracts the directory path from the full file path. More... | |
| std::string | chai3d::cReplaceFileExtension (const std::string &a_input, const std::string &a_extension) |
| This function replaces the file extension of a filename with a new extension name. More... | |
| std::string | chai3d::cStr (const bool a_value) |
| This function converts a boolean into a string. More... | |
| std::string | chai3d::cStr (const int a_value) |
| This function converts an integer into a string. More... | |
| std::string | chai3d::cStr (const unsigned int a_value) |
| This function converts an unsigned integer into a string. More... | |
| std::string | chai3d::cStr (const float a_value, const unsigned int a_precision=2) |
| This function converts a float into a string. More... | |
| std::string | chai3d::cStr (const double a_value, const unsigned int a_precision=2) |
| This function converts a double into a string. More... | |
| std::string | chai3d::cStrToLower (const std::string &a_input) |
| This function converts a string to lower case. More... | |