DDS  ver. 3.6
Classes | Namespaces | Functions
MiscUtils.h File Reference
#include <algorithm>
#include <iostream>
#include <boost/filesystem.hpp>
#include <boost/process.hpp>
#include <boost/program_options/parsers.hpp>

Go to the source code of this file.

Classes

class  dds::misc::NONCopyable
 Class which makes child to be non-copyable object. More...
 
class  dds::misc::NullType
 
class  dds::misc::auto_setenv
 A helper class. Helps to automatically track environment variables. More...
 
struct  dds::misc::ToLower
 
struct  dds::misc::ToUpper
 
struct  dds::misc::IsDigit
 
struct  dds::misc::HumanReadable
 

Namespaces

 dds
 Miscellaneous functions and helpers are located here.
 
 dds::misc
 

Functions

template<typename _T >
_Tdds::misc::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 >
_Tdds::misc::trim_right (_T *_pString, const typename _T::value_type &_chWhat)
 trims trailing characters from the string. More...
 
template<typename _T >
_Tdds::misc::trim_left (_T *_pString, const typename _T::value_type &_chWhat)
 trims leading characters from the string. More...
 
template<typename _T >
_Tdds::misc::trim (_T *_pString, const typename _T::value_type &_chWhat)
 trims trailing and leading characters from the string. More...
 
template<typename _T >
_Tdds::misc::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 >
_Tdds::misc::to_upper (_T &_str)
 convert string to upper case. More...
 
template<typename _T >
_Tdds::misc::to_lower (_T &_str)
 convert string to lower case. More...