#include "wordexp.h"
#include <algorithm>
#include <iostream>
#include <boost/filesystem.hpp>
#include <boost/process.hpp>
Go to the source code of this file.
|
| MiscCommon |
| Miscellaneous functions and helpers are located here.
|
|
|
template<typename _T > |
_T * | MiscCommon::smart_append (_T *_pString, const typename _T::value_type _ItemToAdd) |
| appends character _ItemToAdd to the string _pString if there is no such suffix on the end of _pString. More...
|
|
template<typename _T > |
_T & | MiscCommon::trim_right (_T *_pString, const typename _T::value_type &_chWhat) |
| trims trailing characters from the string. More...
|
|
template<typename _T > |
_T & | MiscCommon::trim_left (_T *_pString, const typename _T::value_type &_chWhat) |
| trims leading characters from the string. More...
|
|
template<typename _T > |
_T & | MiscCommon::trim (_T *_pString, const typename _T::value_type &_chWhat) |
| trims trailing and leading characters from the string. More...
|
|
template<typename _T > |
_T & | MiscCommon::replace (_T *_pString, const _T &_what, const _T &_with) |
| finds elements in a string match a specified string and replaces it. More...
|
|
template<typename _T > |
_T & | MiscCommon::to_upper (_T &_str) |
| convert string to upper case. More...
|
|
template<typename _T > |
_T & | MiscCommon::to_lower (_T &_str) |
| convert string to lower case. More...
|
|
void | MiscCommon::parseExe (const std::string &_exeStr, const std::string &_exePrefix, std::string &_filePath, std::string &_filename, std::string &_cmdStr) |
|