|
QString | fileToStr (const QString &_filename) |
| Return content of file from a file name. More...
|
|
QString | removeFileExt (QString const &_filename) |
| Remove file extension and return string without file extension. More...
|
|
bool | fileExists (QString const &) |
| Checks if file exists and is actually a file and not a directory. More...
|
|
template<typename T , typename A > |
T | mix (const T &_x, const T &_y, A _a) |
| Linear interpolation between two values. More...
|
|
template<typename T > |
bool | testPtrEqual (T const *_a, T const *_b) |
| Test if two instances (which inherit from SerializationInterface) have. More...
|
|
template<typename T , typename F > |
bool | testPtrVectorEqual (T const &_a, T const &_b, F f) |
| Test if two vectors which hold unique_ptr's of SerializationInterfaces. More...
|
|
template<typename T > |
bool | testPtrVectorEqual (T const &_a, T const &_b) |
| Test if two vectors are equal. More...
|
|
template<typename ENUM > |
auto | enumToInt (ENUM const &_v) -> typename std::underlying_type< ENUM >::type |
| Converts an enum class to integer. More...
|
|
template<typename ENUM , typename INT > |
ENUM | intToEnum (INT _i) |
| Converts an integer to enum. More...
|
|