|
template<typename T , typename U > |
constexpr const T & | osval (const T &wval, const U &) |
|
BASE_EXPORT QString | toQString (const QString &s, int width=0, char fill=' ') |
| Converts from a base type to a QString, using the width and fill character specified.
|
|
BASE_EXPORT QString | toQString (const char *str, int width=0, char fill=' ') |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
BASE_EXPORT QString | toQString (const qint8 &v, int width=0, char fill=' ') |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
BASE_EXPORT QString | toQString (const quint8 &v, int width=0, char fill=' ') |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
BASE_EXPORT QString | toQString (const qint16 &v, int width=0, char fill=' ') |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
BASE_EXPORT QString | toQString (const quint16 &v, int width=0, char fill=' ') |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
BASE_EXPORT QString | toQString (const qint32 &v, int width=0, char fill=' ') |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
BASE_EXPORT QString | toQString (const quint32 &v, int width=0, char fill=' ') |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
BASE_EXPORT QString | toQString (const qint64 &v, int width=0, char fill=' ') |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
BASE_EXPORT QString | toQString (const quint64 &v, int width=0, char fill=' ') |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
BASE_EXPORT QString | toQString (const wstring &v, int width, char fill=' ') |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
BASE_EXPORT QString | toQString (const string &v, int width, char fill=' ') |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
BASE_EXPORT QString | toQString (const float &v, int width=0, char format='g', int precision=-1, char fill=' ') |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
BASE_EXPORT QString | toQString (const double &v, int width=0, char format='g', int precision=-1, char fill=' ') |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
BASE_EXPORT QString | toQString (const SymTensor &v, int width=0, char format='g', int precision=-1, char fill=' ') |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
BASE_EXPORT QString | toQString (const QVariant &v, int width=0, char fill=' ', char format='g', int precision=-1) |
|
BASE_EXPORT QString | toQString (const void *v, int width=0, char fill=' ') |
| Outputs a pointer in 0x0000 format.
|
|
BASE_EXPORT QString | toQString (bool b, const QString &out="on,off", int width=0, char fill=' ') |
|
template<class T > |
QString | toQStringT (const T &t, int width=0, char fill=' ', char format='g', int precision=-1) |
|
template<> |
QString | toQStringT (const float &t, int width, char fill, char format, int precision) |
|
template<> |
QString | toQStringT (const double &t, int width, char fill, char format, int precision) |
|
template<> |
QString | toQStringT (const QVariant &t, int width, char fill, char format, int precision) |
|
template<> |
QString | toQStringT (const bool &b, int width, char fill, char format, int precision) |
|
template<class T > |
QString | toQString (const Vector2< T > &v, int width=0, char fmt='g', int prec=-1, char fill=' ') |
|
template<class T > |
QString | toQString (const Vector3< T > &v, int width=0, char fmt='g', int prec=-1, char fill=' ') |
|
template<class T > |
QString | toQString (const AVector2< T > &v, int width=0, char fmt='g', int prec=-1, char fill=' ') |
|
template<class T > |
QString | toQString (const AVector3< T > &v, int width=0, char fmt='g', int prec=-1, char fill=' ') |
|
BASE_EXPORT QString | toBytes (const quint64 &ul) |
| Converts number ul into a memory size string.
|
|
string | tostring (const QString &s) |
|
StringList | toStringList (const QStringList &sl) |
|
QStringList | toQStringList (const StringList &sl) |
|
StringList | fromQStringList (const QStringList &sl) |
|
Buffer | toBuffer (const QByteArray &ba) |
|
BASE_EXPORT QString | readLine (QDataStream &ds, qint64 maxlen=0) |
| Reads a single QString line from a QDataStream (since QTextStream is bugged), uses '\n' as an end-of-line marker.
|
|
BASE_EXPORT QString | readWord (QDataStream &ds, qint64 maxlen=0, const QString &separators=" \t\r\n") |
| Reads a single whitespace delimited word from the QDataStream (since QTextStream is bugged), using the given separator list.
|
|
BASE_EXPORT QString | enquoteString (const QString &s, QChar quote='"') |
|
BASE_EXPORT bool | isInt (const QString &in, int *i=0) |
|
BASE_EXPORT bool | isUInt (const QString &in, uint *u=0) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
BASE_EXPORT bool | isLong (const QString &in, qint64 *l=0) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
BASE_EXPORT bool | isULong (const QString &in, quint64 *ul=0) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
BASE_EXPORT bool | isDouble (const QString &in, double *d=0) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
BASE_EXPORT bool | isBool (const QString &in, bool *b=0, const QString &out="on,off,true,false,yes,no") |
|
BASE_EXPORT bool | toBool (const QString &in, bool *ok=0, const QString &out="on,off,true,false,yes,no") |
|
QString | toQString (const std::wstring &in) |
| converts a QString into a base string.
|
|
QString | toQString (const string &in) |
| converts a string into a QString
|
|
BASE_EXPORT std::tuple< int32, bool > | isInt32 (const string_view &in) |
|
BASE_EXPORT std::tuple< uint32, bool > | isUInt32 (const string_view &in) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
BASE_EXPORT std::tuple< int64, bool > | isInt64 (const string_view &in) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
BASE_EXPORT std::tuple< uint64, bool > | isUInt64 (const string_view &in) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
BASE_EXPORT std::tuple< double, bool > | isDouble (const string_view &in) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
BASE_EXPORT std::tuple< bool, bool > | isBool (const string_view &in, const string_view &out="on,off,true,false,yes,no") |
|
std::tuple< int32, bool > | isInt32 (const string &in) |
|
std::tuple< uint32, bool > | isUInt32 (const string &in) |
|
std::tuple< int64, bool > | isInt64 (const string &in) |
|
std::tuple< uint64, bool > | isUInt64 (const string &in) |
|
std::tuple< double, bool > | isDouble (const string &in) |
|
std::tuple< bool, bool > | isBool (const string &in, const string_view &out="on,off,true,false,yes,no") |
|
std::tuple< int32, bool > | isInt32v (const string_view &in) |
|
std::tuple< uint32, bool > | isUInt32v (const string_view &in) |
|
std::tuple< int64, bool > | isInt64v (const string_view &in) |
|
std::tuple< uint64, bool > | isUInt64v (const string_view &in) |
|
std::tuple< double, bool > | isDoublev (const string_view &in) |
|
std::tuple< bool, bool > | isBoolv (const string_view &in, const string_view &out="on,off,true,false,yes,no") |
|
template<typename T , typename ... Args> |
T | toStringConv (const string_view &in, Args...args, bool te, std::tuple< T, bool >(*f)(const string_view &, Args...)) |
|
int32 | toInt32 (const string_view &in, bool throwException=false) |
|
uint32 | toUInt32 (const string_view &in, bool throwException=false) |
|
int64 | toInt64 (const string_view &in, bool throwException=false) |
|
uint64 | toUInt64 (const string_view &in, bool throwException=false) |
|
double | toDouble (const string_view &in, bool throwException=false) |
|
bool | toBool (const string_view &in, const string_view &out="on,off,true,false,yes,no", bool throwException=false) |
|
| StringList::StringList (std::initializer_list< string > list) |
|
| StringList::StringList (const StringList &s) |
|
| StringList::StringList (const std::vector< string > &v) |
|
| StringList::StringList (StringList &&v) noexcept |
|
| StringList::StringList (std::vector< string > &&v) noexcept |
|
const StringList & | StringList::operator= (const StringList &in) |
|
const StringList & | StringList::operator+= (const string &s) |
|
const StringList & | StringList::operator+= (const std::vector< string > &v) |
|
const StringList & | StringList::operator<< (const string &s) |
|
const StringList & | StringList::operator<< (const StringList &s) |
|
StringList | StringList::operator+ (const StringList &s) const |
|
BASE_EXPORT std::vector< string > | toStringList (const std::vector< string_view > &v) |
|
BASE_EXPORT bool | contains (const std::vector< string > &all, const string &s2, bool caseSensitivity=false) |
|
BASE_EXPORT string | tostring (const std::wstring &s) |
|
BASE_EXPORT string | tostring (const std::u16string &s) |
|
BASE_EXPORT string | tostring (const std::u32string &s) |
|
string | tostring (const string_view &s) |
|
BASE_EXPORT std::wstring | towstring (const string &s) |
|
BASE_EXPORT std::wstring | towstring (const std::u16string &s) |
|
BASE_EXPORT std::u16string | tou16string (const string &s) |
|
BASE_EXPORT std::u16string | tou16string (const std::wstring &s) |
|
BASE_EXPORT std::u16string | tou16string (const string_view &s) |
|
BASE_EXPORT std::u32string | tou32string (const string &s) |
|
BASE_EXPORT std::u32string | tou32string (const string_view &s) |
|
BASE_EXPORT string | toUpper (const string_view &s) |
|
BASE_EXPORT string | toLower (const string_view &s) |
|
BASE_EXPORT string | capitalizeFirstLetter (const string_view &s) |
|
template<typename T , typename U > |
T | join (const std::vector< T > &s, const U &sep) |
|
BASE_EXPORT std::vector< string_view > | splitView (const string_view &s, const string_view &sep, bool keepEmptyParts=false) |
|
std::vector< string > | split (const string_view &s, const string_view &sep, bool keepEmptyParts=false) |
|
BASE_EXPORT std::vector< string_view > | splitViewRegex (const string_view &s, const string_view ®ex, bool keepEmptyParts=false) |
|
std::vector< string > | splitRegex (const string_view &s, const string_view ®ex, bool keepEmptyParts=false) |
|
BASE_EXPORT string_view | matchViewRegex (const string_view &s, const string_view ®ex, string::size_type start=0) |
|
string | matchRegex (const string_view &s, const string_view ®ex, string::size_type start=0) |
|
BASE_EXPORT string | replaceRegex (const string &s, const string_view ®ex, const string &after) |
|
BASE_EXPORT string::size_type | find (const string_view &s1, const string_view &s2, string::size_type start=0, bool caseSensitive=false) |
|
BASE_EXPORT string::size_type | findRegex (const string_view &s, const string_view ®ex, string::size_type start=0) |
|
BASE_EXPORT bool | exactMatchRegex (const string_view &s, const string_view ®ex) |
|
BASE_EXPORT string_view | trimmed_view (const string_view &s) |
|
string | trimmed (const string_view &s) |
|
BASE_EXPORT string | simplified (const string_view &s) |
|
BASE_EXPORT string | replace (string s, const string_view &sub, const string_view &newsub, bool caseSensitive=false) |
|
BASE_EXPORT string | toBase64 (const std::vector< char > &in) |
|
BASE_EXPORT std::vector< char > | fromBase64 (const string &in) |
|
BASE_EXPORT bool | startsWith (const string_view &in, const string_view &check, bool caseSensitive=false) |
|
BASE_EXPORT bool | endsWith (const string_view &in, const string_view &check, bool caseSensitive=false) |
|
BASE_EXPORT bool | contains (const string_view &in, const string_view &check, bool caseSensitive=false) |
|
BASE_EXPORT string | clipLen (string in, string::size_type length) |
|
BASE_EXPORT string | cleanupTypename (const char *name) |
|
BASE_EXPORT string | convertPercentToBracket (const string_view &s) |
|
BASE_EXPORT string | remove (string s, char c) |
|
string | remove (string s, const string_view &sub, bool caseSensitive=false) |
|
BASE_EXPORT int32 | compare (const string_view &s1, const string_view &s2, bool caseSensitive=false) |
|
BASE_EXPORT uint64 | caseInsensitiveHash (const string_view &s) |
|
BASE_EXPORT uint64 | firstNonBlankCharacter (const string_view &s) |
|
BASE_EXPORT bool | wildcardMatch (const string_view &patter, const string_view &test) |
|
BASE_EXPORT string | formatBytes (uint64 bytes, uint32 precision=3) |
|
| Buffer::Buffer (const std::vector< char > &v) |
|
| Buffer::Buffer (std::vector< char > &&v) |
|
| Buffer::Buffer (const char *c, size_t len) |
|
| Buffer::Buffer (const string &s) |
|
const Buffer & | Buffer::operator= (const std::vector< char > &v) |
|
const Buffer & | Buffer::operator= (std::vector< char > &&v) |
|
void | Buffer::append (const char *data, uint64 len) |
|
void | Buffer::operator+= (const string &s) |
|
string | Buffer::toString () const |
|
const char * | Buffer::constData () const |
|
BASE_EXPORT bool | checkLeft (const string_view &s, const string_view &c) |
|
bool | equal (const string_view &s, const string_view &c, bool caseSensitive=false) |
|
BASE_EXPORT bool | match (const string &keyword, const string &token) |
| **
|
|
BASE_EXPORT void | matchSynonymsAllowed (bool b) |
|
BASE_EXPORT bool | matchSynonymsAllowed () |
|
BASE_EXPORT string | buildFormat (int64 width, char notation='\0', int precision=-1, char fill=' ') |
|
template<class T > |
string | base::ts (const T &t, int width=0, char notation='\0', int precision=-1, char fill=' ') |
|
template<typename T > |
std::tuple< T, bool > | base::fsTest (const string &) |
|
template<> |
std::tuple< int32, bool > | base::fsTest (const string &in) |
|
template<typename T > |
T | base::fs (const string &, bool throwException=false) |
|
template<> |
int32 | base::fs (const string &in, bool throwException) |
|
bool | StringCILess::operator() (const string &left, const string &right) const |
|
bool | StringCIEqual::operator() (const string &left, const string &right) const |
|
uint64 | StringCIHash::operator() (const string &in) const |
|
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 ®istryString) |
|
BASE_EXPORT QString | getInstallDirectory (const QString ®istryString) |
|
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 () |
|
template<class T > |
const Cube< T > & | toCube (const Cube< T > &t) |
| Returns a cube.
|
|
template<class T > |
Cube< T > | toCube (const Extent2< T > &t) |
| Returns a cube coverted from a rectangle, the length of the third dimension is zero.
|
|
template<class T > |
const Extent3< T > & | toExtent3 (const Extent3< T > &t) |
| Returns a Extent3.
|
|
template<class T > |
Extent3< T > | toExtent3 (const Extent2< T > &t) |
| Returns a Extent3 coverted from a Extent2, the length of the third dimension is zero.
|
|
template<class T > |
constexpr T | initVal () |
|
template<> |
constexpr double | initVal< double > () |
|
template<> |
constexpr float | initVal< float > () |
|
template<class T , unsigned SX, unsigned SY> |
Matrix< T, SX, SY > | operator* (const Matrix< T, SX, SY > &m, const SymMatrix< T, SY > &s) |
|
template<class T , unsigned S> |
double | innerProduct (const VMatrix< T, S > &v1, const VMatrix< T, S > &v2) |
|
template<class T > |
double | innerProduct (const VMatrix< T, 3 > &v1, const DVect3 &v2) |
|
template<class T > |
double | innerProduct (const VMatrix< T, 2 > &v1, const DVect2 &v2) |
|
template<class T , unsigned S> |
Matrix< T, S, S > | outerProduct (const VMatrix< T, S > &v1, const VMatrix< T, S > &v2) |
|
template<class T > |
constexpr std::tuple< Matrix< T, 3, 3 >, double > | inverseDet (const Matrix< T, 3, 3 > &mat) |
|
template<class T , unsigned SX> |
constexpr VMatrix< T, SX > | toVMatrix (const Vector2< T > &v, unsigned start=0) |
| Converts a Vector2 into a VMatrix of arbitrary size, at an arbitrary starting index.
|
|
template<unsigned SX> |
constexpr DVMatrix< SX > | toDVMatrix (const DVect2 &v, unsigned start=0) |
|
template<class T , unsigned SX> |
constexpr VMatrix< T, SX > | toVMatrix (const Vector3< T > &v, unsigned start=0) |
| Converts a Vector3 into a VMatrix of arbitrary size, at an arbitrary starting index.
|
|
template<unsigned SX> |
DVMatrix< SX > constexpr | toDVMatrix (const DVect3 &v, unsigned start=0) |
|
BASE_EXPORT DMatrix< 2, 2 > | toMatrix2 (const SymTensor &s) |
|
BASE_EXPORT DSymMatrix< 2 > | toSymMatrix2 (const SymTensor &s) |
|
SymTensor | toSymTensor (const DMatrix< 2, 2 > &m) |
|
template<class T , unsigned SX> |
Vector2< T > | toVector2 (const VMatrix< T, SX > &m, unsigned start=0) |
| Converts a VMatrix to a Vector2, using two elements starting at index start.
|
|
template<class T , unsigned SX> |
Vector3< T > | toVector3 (const VMatrix< T, SX > &m, unsigned start=0) |
| Converts a VMatrix to a Vector3, using three elements starting at index start.
|
|
template<class T > |
Vector2< T > | toVector (const VMatrix< T, 2 > &m) |
| Converts a VMatrix to a Vector3, using three elements starting at index start.
|
|
template<class T > |
Vector3< T > | toVector (const VMatrix< T, 3 > &m) |
| Converts a VMatrix to a Vector3, using three elements starting at index start.
|
|
template<class T , unsigned SY> |
Vector2< T > | columnToVector (const Matrix< T, 2, SY > &m, unsigned col) |
| returns in a Vector2<t> the column col from matrix Matrix<T,SX,2>
|
|
template<class T , unsigned SY> |
Vector3< T > | columnToVector (const Matrix< T, 3, SY > &m, unsigned col) |
| returns in a Vector3<t> the column col from a matrix Matrix<T,SX,3>
|
|
template<class T , unsigned SX> |
Vector2< T > | rowToVector (const Matrix< T, SX, 2 > &m, unsigned row) |
| returns in a Vector2<t> the row row from matrix Matrix<T,SX,2>
|
|
template<class T , unsigned SX> |
Vector3< T > | rowToVector (const Matrix< T, SX, 3 > &m, unsigned row) |
| returns in a Vector3<t> the row row from matrix Matrix<T,SX,3>
|
|
template<class T , unsigned SY> |
constexpr void | vectorToColumn (Matrix< T, 2, SY > &m, const DVect2 &v, unsigned col) |
|
template<class T , unsigned SY> |
constexpr void | vectorToColumn (Matrix< T, 3, SY > &m, const DVect3 &v, unsigned col) |
|
template<class T , unsigned SX, unsigned SY> |
constexpr void | vectorToColumn (Matrix< T, SX, SY > &m, const VMatrix< T, SX > &v, unsigned col) |
|
template<class T , unsigned SX> |
void | vectorToRow (Matrix< T, SX, 2 > &m, const DVect2 &v, unsigned row) |
|
template<class T , unsigned SX> |
void | vectorToRow (Matrix< T, SX, 3 > &m, const DVect3 &v, unsigned row) |
|
template<class T , unsigned SX, unsigned SY> |
constexpr void | vectorToRow (Matrix< T, SX, SY > &m, const VMatrix< T, SY > &v, unsigned row) |
|
template<class T , unsigned SX, unsigned SY> |
VMatrix< T, SX > | column (const Matrix< T, SX, SY > &m, unsigned c) |
|
DVMatrix< 3 > | operator* (const SymTensor &s, const DVMatrix< 3 > &v) |
|
DVMatrix< 2 > | operator* (const SymTensor &s, const DVMatrix< 2 > &v) |
|
template<class D , class T > |
constexpr D | to (const T &t) |
| This template function serves as an alternative to static_cast<T>().
|
|
template<> |
constexpr float | to (const double &t) |
|
template<class D > |
constexpr D | to (const double &d) |
|
template<class D > |
D constexpr | to (const float &d) |
|
template<> |
constexpr double | to (const float &d) |
|
template<class D , class T > |
D * | check_cast (T *t) |
| This template function serves as a fast alternative to dynamic_cast, when you know the base offset is the same.
|
|
template<class D , class T > |
const D * | check_cast (const T *t) |
| This template function serves as a fast alternative to dynamic_cast, when you know the base offset is the same.
|
|
template<class T > |
constexpr const T | safeDiv (const T num, const T denom) |
| This function provids "safe" division operation, checks explicitly for zero.
|
|
| Variant::UserTypeBase::UserTypeBase () |
| Default constructor, no data initialization.
|
|
virtual | Variant::UserTypeBase::~UserTypeBase () |
| Deconstructor.
|
|
virtual UserTypeBase * | Variant::UserTypeBase::clone (char *data) const =0 |
| Clone function.
|
|
virtual void | Variant::UserTypeBase::copy (const UserTypeBase *base)=0 |
| Copy from base pointer.
|
|
BASE_EXPORT | Variant::Variant (const Variant &mv) |
| Copy constructor.
|
|
BASE_EXPORT | Variant::Variant (const int32 &v=0) |
|
BASE_EXPORT | Variant::Variant (const bool &v) |
|
BASE_EXPORT | Variant::Variant (const int8 &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 | Variant::Variant (const uint8 &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 | Variant::Variant (const int16 &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 | Variant::Variant (const uint16 &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 | Variant::Variant (const uint32 &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 | Variant::Variant (const int64 &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 | Variant::Variant (const uint64 &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 | Variant::Variant (const float &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 | Variant::Variant (const double &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 | Variant::Variant (void *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 | Variant::Variant (const void *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 | Variant::Variant (const IVect2 &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 | Variant::Variant (const DVect2 &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 | Variant::Variant (const IVect3 &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 | Variant::Variant (const DVect3 &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 | Variant::Variant (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 | Variant::Variant (const char *v) |
|
BASE_EXPORT | Variant::~Variant () |
| Destructor.
|
|
BASE_EXPORT const Variant & | Variant::operator= (const Variant &mv) |
| Equality operator.
|
|
BASE_EXPORT Type | Variant::getType () const |
| The type of the Variant. Note that this may be a user-defined value.
|
|
BASE_EXPORT string | Variant::getTypeName () const |
| A string indicating the Variant type.
|
|
BASE_EXPORT bool | Variant::toBool (bool *success=0) const |
|
BASE_EXPORT int8 | Variant::toByte (bool *success=0) const |
|
BASE_EXPORT uint8 | Variant::toUByte (bool *success=0) const |
|
BASE_EXPORT int16 | Variant::toShort (bool *success=0) const |
|
BASE_EXPORT uint16 | Variant::toUShort (bool *success=0) const |
|
BASE_EXPORT int32 | Variant::toInt (bool *success=0) const |
|
BASE_EXPORT uint32 | Variant::toUInt (bool *success=0) const |
|
BASE_EXPORT int64 | Variant::toLong (bool *success=0) const |
|
BASE_EXPORT uint64 | Variant::toULong (bool *success=0) const |
|
BASE_EXPORT float | Variant::toFloat (bool *success=0) const |
|
BASE_EXPORT double | Variant::toDouble (bool *success=0) const |
|
BASE_EXPORT string | Variant::toString (bool *success=0) const |
|
BASE_EXPORT void * | Variant::toVoid (bool *success=0) const |
|
BASE_EXPORT IVect2 | Variant::toIVect2 (bool *success=0) const |
|
BASE_EXPORT DVect2 | Variant::toDVect2 (bool *success=0) const |
|
BASE_EXPORT IVect3 | Variant::toIVect3 (bool *success=0) const |
|
BASE_EXPORT DVect3 | Variant::toDVect3 (bool *success=0) const |
|
BASE_EXPORT const int32 & | Variant::fastToInt () const |
|
BASE_EXPORT const bool & | Variant::fastToBool () const |
|
BASE_EXPORT const int64 & | Variant::fastToLong () const |
|
BASE_EXPORT const double & | Variant::fastToDouble () const |
|
BASE_EXPORT const DVect2 & | Variant::fastToDVect2 () const |
|
BASE_EXPORT const DVect3 & | Variant::fastToDVect3 () const |
|
BASE_EXPORT const string & | Variant::fastToString () const |
|
const Variant & | Variant::operator= (const bool &v) |
| Assignment operator for a specific type, converts the Variant to the same type and value.
|
|
const Variant & | Variant::operator= (const int8 &v) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
const Variant & | Variant::operator= (const uint8 &v) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
const Variant & | Variant::operator= (const int16 &v) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
const Variant & | Variant::operator= (const uint16 &v) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
const Variant & | Variant::operator= (const int32 &v) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
const Variant & | Variant::operator= (const uint32 &v) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
const Variant & | Variant::operator= (const int64 &v) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
const Variant & | Variant::operator= (const uint64 &v) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
const Variant & | Variant::operator= (const float &v) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
const Variant & | Variant::operator= (const double &v) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
const Variant & | Variant::operator= (void *v) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
const Variant & | Variant::operator= (const void *v) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
const Variant & | Variant::operator= (const IVect2 &v) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
const Variant & | Variant::operator= (const DVect2 &v) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
const Variant & | Variant::operator= (const DAVect2 &v) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
const Variant & | Variant::operator= (const IVect3 &v) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
const Variant & | Variant::operator= (const DVect3 &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 const Variant & | Variant::operator= (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.
|
|
const Variant & | Variant::operator= (const char *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 void | Variant::setToRawData () |
|
char * | Variant::getRawData () |
|
const char * | Variant::getRawData () const |
|
template<class T > |
void | Variant::setToUserType (const T &t) |
|
template<class T > |
void | Variant::moveToUserType (T &&t) |
|
template<class T > |
T & | Variant::convertToUserType () |
|
template<class T > |
T | Variant::toUserType () const |
|
template<class T > |
T & | Variant::fastToUserType () |
|
template<class T > |
const T & | Variant::fastToUserType () const |
|
template<class T > |
bool | Variant::isUserType () const |
|
static BASE_EXPORT string | Variant::getTypeName (Type type) |
| Returns the name associated with a given type value, of "UnKnown" if the type is not valid.
|
|
static BASE_EXPORT int | Variant::getRawDataSize () |
|
static BASE_EXPORT bool | Variant::getUserTypeClaimed (int type) |
|
template<class T > |
static bool | Variant::registerType (int type, const string &name) |
| This method allows user-defined types to be encoded in a variant.
|
|
| Variant::VUserType< void * >::VUserType () |
| Default constructor.
|
|
| Variant::VUserType< void * >::VUserType (void *const t) |
|
| Variant::VUserType< void * >::~VUserType () override |
| Destructor.
|
|
VUserType< void * > * | Variant::VUserType< void * >::clone (char *data) const override |
| in-place clone
|
|
void | Variant::VUserType< void * >::copy (const UserTypeBase *base) override |
| copy from base pointer, uses reinterpret_cast to upcast (careful!).
|
|
static bool | Variant::VUserType< void * >::isValue () |
| Checks if the user type holds the literal value of T, or a pointer to it.
|
|
template<class T > |
constexpr I64Vect2 | toI64Vect2 (const Vector2< T > &v) |
|
template<class T > |
constexpr U64Vect2 | toU64Vect2 (const Vector2< T > &v) |
|
template<class T > |
I64Vect3 | toI64Vect3 (const Vector3< T > &v) |
|
template<class T > |
constexpr const Vector2< T > & | toVect2 (const Vector2< T > &v) |
| Conversion between vectors of different dimension.
|
|
template<class T > |
constexpr Vector2< T > | toVect2 (const Vector3< T > &v) |
| Conversion between vectors of different dimension.
|
|
template<class T > |
constexpr Vector3< T > | toVect3 (const Vector2< T > &v, const T &t=0) |
| Conversion between vectors of different dimension.
|
|
template<class T > |
constexpr const Vector3< T > & | toVect3 (const Vector3< T > &v) |
| Conversion between vectors of different dimension.
|
|
template<class T > |
I64Vect3 constexpr | v64round (const Vector3< T > &v) |
|
template<class T > |
Vector2< T > | operator& (const Vector2< T > &v, const AVector2< T > &av) |
|
template<class T > |
Vector3< T > | operator& (const Vector3< T > &v, const AVector2< T > &av) |
|
template<class T > |
AVector2< T > | operator& (const Vector2< T > &v1, const Vector2< T > &v2) |
|
template<class T > |
T | operator| (const Vector2< T > &, const AVector2< T > &) |
|
template<class T > |
DAVect2 | toDAVect2 (const AVector2< T > &v) |
|
template<class T > |
FAVect2 | toFAVect2 (const AVector2< T > &v) |
|
template<class T > |
IAVect2 | toIAVect2 (const AVector2< T > &v) |
|
template<class T > |
UAVect2 | toUAVect2 (const AVector2< T > &v) |
|
template<class T > |
DAVect3 | toDAVect3 (const Vector3< T > &v) |
|
template<class T > |
FAVect3 | toFAVect3 (const Vector3< T > &v) |
|
template<class T > |
IAVect3 | toAIVect3 (const Vector3< T > &v) |
|
template<class T > |
UAVect3 | toAUVect3 (const Vector3< T > &v) |
|
template<class T > |
Vector2< T > | toVect2 (const AVector2< T > &) |
|
template<class T > |
Vector3< T > | toVect3 (const AVector2< T > &v) |
|
template<class T > |
Vector2< T > | toVect2 (const AVector3< T > &v) |
|
template<class T > |
const Vector3< T > & | toVect3 (const AVector3< T > &v) |
|
template<class T > |
const AVector2< T > & | toAVect2 (const AVector2< T > &v) |
|
template<class T > |
AVector2< T > | toAVect2 (const AVector3< T > &v) |
|
template<class T > |
AVector3< T > | toAVect3 (const AVector2< T > &v, const T &x=0, const T &y=0) |
|
template<class T > |
const AVector3< T > & | toAVect3 (const AVector3< T > &v) |
|
template<class T > |
AVector3< T > | vmax (const AVector3< T > &v1, const AVector3< T > &v2) |
|
template<class T > |
AVector3< T > | vmin (const AVector3< T > &v1, const AVector3< T > &v2) |
|
template<class T > |
AVector3< T > | vsign (const AVector3< T > &v1, const AVector3< T > &v2) |
|
template<class T > |
AVector3< T > | vceil (const AVector3< T > &v) |
|
template<class T > |
AVector2< T > | vmax (const AVector2< T > &v1, const AVector2< T > &v2) |
|
template<class T > |
AVector2< T > | vmin (const AVector2< T > &v1, const AVector2< T > &v2) |
|
template<class T > |
AVector2< T > | vsign (const AVector2< T > &v1, const AVector2< T > &v2) |
|
template<class T > |
AVector2< T > | vceil (const AVector2< T > &v) |
|
| FArray< T, S >::FArray (size_type s, const T &t=T()) |
|
| FArray< T, S >::FArray (std::initializer_list< T > l) |
|
const FArray< T, S > & | FArray< T, S >::operator= (const FArray< T, S > &f) |
|
template<uint64 S2> |
bool | FArray< T, S >::operator== (const FArray< T, S2 > &f) const |
|
template<uint64 S2> |
const FArray< T, S > & | FArray< T, S >::operator= (const FArray< T, S2 > &f) |
| Assignment operator, valid for FArrays of the same data type but different stack lengths.
|
|
size_type | FArray< T, S >::find (const T &t) const |
|
T * | FArray< T, S >::emplace_n_back (uint64 n) |
|
void | FArray< T, S >::resize (size_type i, const T &t=T()) |
|
iterator | FArray< T, S >::insert (size_type i, const T &t) |
|
void | FArray< T, S >::put (size_type i, const T &t) |
| Adds a value to the array, first making certain it is big enough to hold it.
|
|
template<class C > |
void | FArray< T, S >::append (const C &in) |
| Appends the contents of one FArray onto another.
|
|
iterator | FArray< T, S >::insert (iterator it, const T &t) |
|
bool | FArray< T, S >::remove (size_type i) |
|
size_type | FArray< T, S >::removeAll (const T &t) |
|
void | FArray< T, S >::clear () |
|
void | FArray< T, S >::reset () |
|
template<class T > |
Matrix< T, 3, 3 > | outerProduct (const Vector3< T > &v1, const Vector3< T > &v2) |
| Creates a 3X3 Matrix from the outer product of two Vector3 types.
|
|
template<class T > |
Matrix< T, 2, 2 > | outerProduct (const Vector2< T > &v1, const Vector2< T > &v2) |
| Creates a 2X2 Matrix from the outer product of two Vector2 types.
|
|
template<class T > |
constexpr T | determinant (const Matrix< T, 3, 3 > &mat) |
| Returns the determinant of a 3X3 Matrix.
|
|
template<class T > |
constexpr T | determinant (const Matrix< T, 2, 2 > &mat) |
| Returns the determinant of a 2X2 Matrix.
|
|
template<class T > |
constexpr Matrix< T, 3, 3 > | inverse (const Matrix< T, 3, 3 > &mat) |
| Returns the inverse of a 3X3 Matrix.
|
|
template<class T > |
constexpr Matrix< T, 2, 2 > | inverse (const Matrix< T, 2, 2 > &mat) |
| Returns the inverse of a 2X2 Matrix.
|
|
template<class T > |
constexpr VMatrix< T, 2 > | toMatrix (const Vector2< T > &v) |
|
template<class T > |
constexpr VMatrix< T, 3 > | toMatrix (const Vector3< T > &v) |
|
template<class T > |
constexpr Vector2< T > | operator* (const Matrix< T, 2, 2 > &m, const Vector2< T > &v) |
|
template<class T > |
constexpr Vector2< T > | operator* (const SymMatrix< T, 2 > &m, const Vector2< T > &v) |
|
template<class T > |
constexpr Vector3< T > | operator* (const Matrix< T, 3, 3 > &m, const Vector3< T > &v) |
|
template<class T > |
Vector3< T > | operator* (const SymMatrix< T, 3 > &m, const Vector3< T > &v) |
|
BASE_EXPORT DMatrix< 3, 3 > | toMatrix3 (const SymTensor &s) |
|
BASE_EXPORT DMatrix< 2, 2 > | toMatrix2 (const SymTensor &s) |
|
BASE_EXPORT DSymMatrix< 3 > | toSymMatrix3 (const SymTensor &s) |
|
SymTensor | toSymTensor (const DMatrix< 3, 3 > &m) |
|
SymTensor | toSymTensor (const DSymMatrix< 3 > &m) |
|
const SymTensor & | SymTensor::operator= (const SymTensor &s) |
| Assignment operator.
|
|
bool | SymTensor::operator== (const SymTensor &s) const |
| Equality operator.
|
|
const double & | SymTensor::operator[] (unsigned int i) const |
| Allows Index access to tensor components.
|
|
double & | SymTensor::operator[] (unsigned int i) |
|
double | SymTensor::getTotalMeasure () const |
|
DVect3 | SymTensor::operator* (const DVect3 &input) const |
| Performs the linear mapping represented by the tensor on the vector input.
|
|
DVect2 | SymTensor::operator* (const DVect2 &input) const |
|
SymTensor | SymTensor::operator* (const double &mul) const |
|
const SymTensor & | SymTensor::operator*= (const double &mul) |
|
SymTensor | SymTensor::operator/ (const double &mul) const |
|
const SymTensor & | SymTensor::operator/= (const double &mul) |
|
SymTensor | SymTensor::operator+ (const SymTensor &s) const |
|
SymTensor | SymTensor::operator- (const SymTensor &s) const |
|
bool | SymTensor::isIsotropic (double tol=std::numeric_limits< double >::epsilon() *1000.0) const |
|
void | SymTensor::adjustTrace (const double &newTrace) |
|
void | SymTensor::rotate (const DVect3 &rot) |
|
static uint32 | SymTensor::doubleToSingleComponent (uint32 dof1, uint32 dof2) |
|
template<class T > |
constexpr DVect2 | toDVect2 (const Vector2< T > &v) |
|
template<class T > |
constexpr FVect2 | toFVect2 (const Vector2< T > &v) |
|
template<class T > |
constexpr IVect2 | toIVect2 (const Vector2< T > &v) |
|
template<class T > |
constexpr UVect2 | toUVect2 (const Vector2< T > &v) |
|
template<class T > |
constexpr DVect3 | toDVect3 (const Vector3< T > &v) |
|
template<class T > |
constexpr FVect3 | toFVect3 (const Vector3< T > &v) |
|
template<class T > |
constexpr IVect3 | toIVect3 (const Vector3< T > &v) |
|
template<class T > |
constexpr U64Vect3 | toU64Vect3 (const Vector3< T > &v) |
|
template<class T > |
constexpr Vector2< T > | vmax (const Vector2< T > &v1, const Vector2< T > &v2) |
|
template<class T > |
constexpr Vector2< T > | vmin (const Vector2< T > &v1, const Vector2< T > &v2) |
|
template<class T > |
constexpr Vector2< T > | vsign (const Vector2< T > &v1, const Vector2< T > &v2) |
|
template<class T > |
constexpr Vector3< T > | vmax (const Vector3< T > &v1, const Vector3< T > &v2) |
|
template<class T > |
constexpr Vector3< T > | vmin (const Vector3< T > &v1, const Vector3< T > &v2) |
|
template<class T > |
constexpr Vector3< T > | vsign (const Vector3< T > &v1, const Vector3< T > &v2) |
|
template<class T > |
Vector2< T > | vceil (const Vector2< T > &v) |
|
template<class T > |
Vector3< T > | vceil (const Vector3< T > &v) |
|
template<class T > |
Vector2< T > | vfloor (const Vector2< T > &v) |
|
template<class T > |
Vector3< T > | vfloor (const Vector3< T > &v) |
|
template<class T > |
IVect2 | vround (const Vector2< T > &v) |
|
template<class T > |
IVect3 constexpr | vround (const Vector3< T > &v) |
|