Omnidome
Fulldome Mapping Software Toolkit
|
#include <type_traits>
#include <memory>
#include <QDebug>
#include <QByteArray>
#include <QString>
#include <omni/exception.h>
Go to the source code of this file.
Data Structures | |
struct | omni::util::QtDeleter |
Pointer deleter functor. More... | |
Namespaces | |
omni | |
Header to document namespaces. | |
omni::util | |
Macros | |
#define | OMNI_DEBUG qDebug() << __FILE__ << ":" << __LINE__ << "\t" << __FUNCTION__ |
#define | OMNI_TEST_MEMBER_EQUAL(member) (_lhs.member == _rhs.member) |
#define | OMNI_TEST_PTR_MEMBER_EQUAL(member) omni::util::testPtrEqual(_lhs.member.get(), _rhs.member.get()) |
Typedefs | |
template<typename T > | |
using | omni::util::QUniquePtr = std::unique_ptr< T, QtDeleter > |
QUniquePtr for QObjects. More... | |
Functions | |
template<typename T , typename A > | |
T | omni::util::mix (const T &_x, const T &_y, A _a) |
Linear interpolation between two values. More... | |
QString | omni::util::fileToStr (const QString &_filename) |
Return content of file from a file name. More... | |
QString | omni::util::removeFileExt (QString const &_filename) |
Remove file extension and return string without file extension. More... | |
bool | omni::util::fileExists (QString const &) |
Checks if file exists and is actually a file and not a directory. More... | |
template<typename T > | |
bool | omni::util::testPtrEqual (T const *_a, T const *_b) |
Test if two instances (which inherit from SerializationInterface) have. More... | |
template<typename T , typename F > | |
bool | omni::util::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 | omni::util::testPtrVectorEqual (T const &_a, T const &_b) |
Test if two vectors are equal. More... | |
template<typename ENUM > | |
auto | omni::util::enumToInt (ENUM const &_v) -> typename std::underlying_type< ENUM >::type |
Converts an enum class to integer. More... | |
template<typename ENUM , typename INT > | |
ENUM | omni::util::intToEnum (INT _i) |
Converts an integer to enum. More... | |
#define OMNI_DEBUG qDebug() << __FILE__ << ":" << __LINE__ << "\t" << __FUNCTION__ |
#define OMNI_TEST_MEMBER_EQUAL | ( | member | ) | (_lhs.member == _rhs.member) |
#define OMNI_TEST_PTR_MEMBER_EQUAL | ( | member | ) | omni::util::testPtrEqual(_lhs.member.get(), _rhs.member.get()) |