Version: 9.15.0
SUIT_extensions.h File Reference
#include "../SUIT.h"
#include <cstddef>
#include <limits>
#include <string>
#include <QString>

Go to the source code of this file.

Namespaces

 SUIT_tools
 

Functions

template<class Iterator >
std::size_t SUIT_tools::distance (const Iterator &theStartIt, const Iterator &theFinalIt)
 Compensates lack of std::distance(..) prior to C++17. Does not check whether the iterators iterate the same container instance. More...
 
template<class Container >
std::size_t SUIT_tools::distanceFromBegin (const Container &theContainer, const typename Container::const_iterator &theIt)
 
QString SUIT_tools::substituteBashVars (const QString &theString)
 Replaces all Bash-style variables (enlosed with "${" and "}") with values of corresponding environment variables. More...
 
QString SUIT_tools::substituteDOSVars (const QString &theString)
 Replaces all DOS-style variables (enlosed with "%") with values of corresponding environment variables. More...
 
QString SUIT_tools::substituteVars (const QString &theString)
 Replaces all Bash- and DOS- style variables with values of corresponding environment variables. More...
 
std::wstring SUIT_tools::to_wstring (const std::string &theStdString)