Itasca C++ Interface
Loading...
Searching...
No Matches
Classes | Functions
basetoqt.h File Reference

Combines base interface with Qt – allows Qt to interact with other Base types transparently. More...

#include "avect.h"
#include "base.h"
#include "property.h"
#include "basei.h"
#include <QtCore>

Go to the source code of this file.

Classes

class  ItascaTextStream
 
struct  fmt::formatter< QVariant >
 

Functions

BASE_EXPORT void initializeQtToBase ()
 
template<class T >
QDataStream & operator<< (QDataStream &ds, const Vector2< T > &v)
 Allows a Base type to be written to, or read from, a QDataStream.
 
template<class T >
QDataStream & operator>> (QDataStream &ds, Vector2< T > &v)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
template<class T >
QDataStream & operator<< (QDataStream &ds, const Vector3< T > &v)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
template<class T >
QDataStream & operator>> (QDataStream &ds, Vector3< T > &v)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
template<class T >
QDataStream & operator<< (QDataStream &ds, const AVector2< T > &av)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
template<class T >
QDataStream & operator>> (QDataStream &ds, AVector2< T > &av)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
template<class T >
QDataStream & operator<< (QDataStream &ds, const AVector3< T > &av)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
template<class T >
QDataStream & operator>> (QDataStream &ds, AVector3< T > &av)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
template<class T >
QDataStream & operator<< (QDataStream &ds, const Extent2< T > &v)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
template<class T >
QDataStream & operator>> (QDataStream &ds, Extent2< T > &v)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
template<class T >
QDataStream & operator<< (QDataStream &ds, const Extent3< T > &v)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
template<class T >
QDataStream & operator>> (QDataStream &ds, Extent3< T > &v)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
BASE_EXPORT QDataStream & operator<< (QDataStream &ds, const Orientation2 &o)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
BASE_EXPORT QDataStream & operator>> (QDataStream &ds, Orientation2 &o)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
BASE_EXPORT QDataStream & operator<< (QDataStream &ds, const Orientation3 &o)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
BASE_EXPORT QDataStream & operator>> (QDataStream &ds, Orientation3 &o)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
BASE_EXPORT QDataStream & operator<< (QDataStream &ds, const Axes2D &v)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
BASE_EXPORT QDataStream & operator>> (QDataStream &ds, Axes2D &v)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
BASE_EXPORT QDataStream & operator<< (QDataStream &ds, const Axes3D &v)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
BASE_EXPORT QDataStream & operator>> (QDataStream &ds, Axes3D &v)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
BASE_EXPORT QDataStream & operator<< (QDataStream &ds, const CAxes2D &v)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
BASE_EXPORT QDataStream & operator>> (QDataStream &ds, CAxes2D &v)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
BASE_EXPORT QDataStream & operator<< (QDataStream &ds, const CAxes3D &v)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
BASE_EXPORT QDataStream & operator>> (QDataStream &ds, CAxes3D &v)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
BASE_EXPORT QDataStream & operator<< (QDataStream &ds, const Variant &v)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
BASE_EXPORT QDataStream & operator>> (QDataStream &ds, Variant &v)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
BASE_EXPORT QDataStream & operator<< (QDataStream &ds, const std::wstring &v)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
BASE_EXPORT QDataStream & operator>> (QDataStream &ds, std::wstring &v)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
BASE_EXPORT QDataStream & operator<< (QDataStream &ds, const string &v)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
BASE_EXPORT QDataStream & operator>> (QDataStream &ds, string &v)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
BASE_EXPORT QDataStream & operator<< (QDataStream &ds, const SymTensor &s)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
BASE_EXPORT QDataStream & operator>> (QDataStream &ds, SymTensor &v)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
BASE_EXPORT QDataStream & operator<< (QDataStream &ds, const Quat2 &o)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
BASE_EXPORT QDataStream & operator>> (QDataStream &ds, Quat2 &o)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
BASE_EXPORT QDataStream & operator<< (QDataStream &ds, const Quat3 &o)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
BASE_EXPORT QDataStream & operator>> (QDataStream &ds, Quat3 &o)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
BASE_EXPORT QDataStream & operator<< (QDataStream &ds, const itasca::Mat &o)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
BASE_EXPORT QDataStream & operator>> (QDataStream &ds, itasca::Mat &o)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
template<class T >
QTextStream & operator<< (QTextStream &ds, const Vector2< T > &v)
 
template<class T >
QTextStream & operator<< (QTextStream &ds, const Vector3< T > &v)
 
template<class T >
QTextStream & operator<< (QTextStream &ds, const AVector2< T > &v)
 Writes an AVector2 to formatted text, as a scalar basically.
 
template<class T >
QPoint toQPoint (const Vector2< T > &v)
 Convert a Vector2 to a QPoint.
 
template<class T >
QPointF toQPointF (const Vector2< T > &v)
 Convert a Vector2 to a QPointF.
 
DVect2 toDVect2 (const QPoint &p)
 Convert a QPoint to a DVect2.
 
DVect2 toDVect2 (const QSize &p)
 Convert a QSize to a DVect2.
 
FVect2 toFVect2 (const QPoint &p)
 Convert a QPoint to an FVect2.
 
IVect2 toIVect2 (const QPoint &p)
 Convert a QPoint to an IVect2.
 
I64Vect2 toI64Vect2 (const QPoint &p)
 
UVect2 toUVect2 (const QPoint &p)
 Convert a QPoint to a UVect2.
 
DVect2 toDVect2 (const QPointF &p)
 Convert a QPointF to an DVect2.
 
FVect2 toFVect2 (const QPointF &p)
 Convert a QPointF to an FVect2.
 
IVect2 toIVect2 (const QPointF &p)
 Convert a QPointF to an IVect2.
 
UVect2 toUVect2 (const QPointF &p)
 Convert a QPointF to an UVect2.
 
bool checkQVariantTypes (const QVariant &v1, const QVariant &v2)
 returns true if Variants have the same type
 
template<typename T >
QVariant toQVariant (const T &t)
 
template<>
BASE_EXPORT QVariant toQVariant< Variant > (const Variant &v)
 
template<>
BASE_EXPORT QVariant toQVariant< base::Property > (const base::Property &prop)
 
BASE_EXPORT Variant toVariant (const QVariant &v)
 
BASE_EXPORT base::Property toProperty (const QVariant &v)
 
BASE_EXPORT bool isDirectoryProtected (const QDir &dir, const QString &registryString)
 
BASE_EXPORT QString getInstallDirectory (const QString &registryString)
 
BASE_EXPORT QString convertFilePath (const QString &filePath, const QDir &previousDir, const QDir &newDir)
 
BASE_EXPORT bool setCurrentDirectory (const IString &dir)
 
BASE_EXPORT QString getCurrentDirectory ()
 
BASE_EXPORT QDir getCurrentDirectoryObject ()
 

Detailed Description

Combines base interface with Qt – allows Qt to interact with other Base types transparently.