|
template<typename T > |
constexpr T | safeMag2 (const AVector2< T > &v) |
|
template<typename T > |
constexpr T | safeMag (const AVector2< T > &v) |
|
template<typename T > |
constexpr AVector2< T > | safeUnit (const AVector2< T > &v) |
|
template<typename T > |
constexpr const AVector2< T > | safeDiv (const AVector2< T > &a, const AVector2< T > &b, const AVector2< T > &safe=AVector2< T >(0)) |
|
template<typename T > |
constexpr const AVector2< T > | safeDiv (const AVector2< T > &a, const T &v, const AVector2< T > &safe=AVector2< T >(0)) |
|
template<typename T > |
constexpr bool | isFinite (const AVector2< T > &a) |
|
template<typename T , typename U > |
constexpr const T & | osval (const T &wval, const U &) |
|
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) |
|
template<typename ... Args> |
string | rformat (const string &s, Args...args) |
|
| 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 |
|
| StringList::StringList (const string_view &s) |
|
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 size_t | find (const StringList &s, const string &s2, bool caseSensitive=false) |
|
BASE_EXPORT size_t | remove (StringList *s, const string_view &s2, bool caseSensitive=false) |
|
BASE_EXPORT string::size_type | findRegex (const StringList &s, const string_view ®ex, string::size_type start=0) |
|
BASE_EXPORT StringList | removeDuplicates (const StringList &s) |
|
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) |
|
string | tostring (const char *s) |
|
string | tostring (const string &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 | toBase64 (const std::vector< char > &in) |
|
BASE_EXPORT std::vector< char > | fromBase64 (const string &in) |
|
BASE_EXPORT string | toUpper (const string_view &s) |
|
BASE_EXPORT string | toLower (const string_view &s) |
|
BASE_EXPORT string | capitalizeFirstLetter (const string_view &s) |
|
BASE_EXPORT uint64 | caseInsensitiveHash (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 | cleanupTypename (const char *name) |
|
BASE_EXPORT string | remove (string s, char c) |
|
string | remove (string s, const string_view &sub, bool caseSensitive=false) |
|
BASE_EXPORT string | remove (string s, string::size_type start, string::size_type len) |
|
string_view | chopped (const string_view &s, string::size_type i) |
|
BASE_EXPORT string | clip (const string_view &s, string::size_type n) |
|
BASE_EXPORT string | enquoteString (const string &s, char quote='"') |
|
BASE_EXPORT string_view | substr (const string_view &s, string::size_type pos, string::size_type count=string::npos) |
|
string_view | right (const string_view &s, string::size_type num) |
|
BASE_EXPORT string | buildRandom (string::size_type length) |
|
BASE_EXPORT int32 | compare (const string_view &s1, const string_view &s2, bool caseSensitive=false) |
|
bool | equal (const string_view &s, const string_view &c, bool caseSensitive=false) |
|
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) |
|
bool | containsRegex (const string_view &in, const string_view ®ex) |
|
BASE_EXPORT bool | wildcardMatch (const string_view &patter, const string_view &test) |
|
BASE_EXPORT uint64 | firstNonBlankCharacter (const string_view &s) |
|
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) |
|
void | Buffer::operator+= (const Buffer &s) |
|
string | Buffer::toString () const |
|
string_view | Buffer::toStringView () const |
|
const char * | Buffer::constData () const |
|
BASE_EXPORT bool | match (const string &keyword, const string &token, bool forceAbbreviationsAllowed=false) |
| **
|
|
BASE_EXPORT uint32 | match (const StringList &keywords, const string &token, bool forceAbbreviationsAllowed=false) |
|
BASE_EXPORT void | matchSynonymsAllowed (bool b) |
|
BASE_EXPORT bool | matchSynonymsAllowed () |
|
BASE_EXPORT string | getKeyword (const StringList &keywords, const uint64 index, const string &def={}) |
|
string | getKeyword (const string &keywords, const uint64 index, const string &def={}) |
|
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_view &) |
|
template<> |
std::tuple< int32, bool > | base::fsTest (const string_view &in) |
|
template<typename T > |
T | base::fs (const string_view &, bool throwException=false) |
|
template<> |
int32 | base::fs (const string_view &in, bool throwException) |
|
bool | StringCILess::operator() (const string_view &left, const string_view &right) const |
|
bool | StringCIEqual::operator() (const string_view &left, const string_view &right) const |
|
uint64 | StringCIHash::operator() (const string_view &in) const |
|
template<unsigned N> |
consteval | FormatCheck< Args >::FormatCheck (const char(&s)[N]) |
|
template<typename ParseContext > |
constexpr auto | std::formatter< StringList >::parse (ParseContext &ctx) |
|
template<typename FormatContext > |
constexpr auto | std::formatter< StringList >::format (StringList const &val, FormatContext &ctx) const |
|
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 > |
PUSHWARNING constexpr const T | safeDiv (const T num, const T denom, const T safeVal=0) |
| 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<typename T > |
constexpr T | safeMag2 (const Vector2< T > &v) |
|
template<typename T > |
constexpr T | safeMag (const Vector2< T > &v) |
|
template<typename T > |
constexpr const Vector2< T > | safeDiv (const Vector2< T > &a, const Vector2< T > &b, const Vector2< T > &safe=Vector2< T >(0)) |
| "Safe" division operation - checks for zero and overflow.
|
|
template<typename T > |
constexpr const Vector2< T > | safeDiv (const Vector2< T > &a, const T &v, const Vector2< T > &safe=Vector2< T >(0)) |
|
template<typename T > |
constexpr Vector2< T > | safeUnit (const Vector2< T > &v) |
|
template<typename T > |
constexpr bool | isFinite (const Vector2< T > &a) |
|
template<typename T > |
constexpr T | safeMag2 (const Vector3< T > &v) |
|
template<typename T > |
constexpr T | safeMag (const Vector3< T > &v) |
|
template<typename T > |
constexpr const Vector3< T > | safeDiv (const Vector3< T > &a, const Vector3< T > &b, const Vector3< T > &safe=Vector3< T >(0)) |
| "Safe" division operation - checks for zero and overflow.
|
|
template<typename T > |
constexpr const Vector3< T > | safeDiv (const Vector3< T > &a, const T &v, const Vector3< T > &safe=Vector3< T >(0)) |
|
template<typename T > |
constexpr Vector3< T > | safeUnit (const Vector3< T > &v) |
|
template<typename T > |
constexpr bool | isFinite (const Vector3< T > &a) |
|
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, I >::FArray (size_type s, const T &t=T()) |
|
| FArray< T, S, I >::FArray (std::initializer_list< T > l) |
|
constexpr const FArray< T, S, I > & | FArray< T, S, I >::operator= (const FArray< T, S, I > &f) |
|
template<uint64 S2> |
bool | FArray< T, S, I >::operator== (const FArray< T, S2, I > &f) const |
|
template<uint64 S2> |
constexpr const FArray< T, S, I > & | FArray< T, S, I >::operator= (const FArray< T, S2, I > &f) |
| Assignment operator, valid for FArrays of the same data type but different stack lengths.
|
|
I | FArray< T, S, I >::find (const T &t) const |
|
T * | FArray< T, S, I >::emplace_n_back (size_type n) |
|
void | FArray< T, S, I >::resize (I i, const T &t=T()) |
|
iterator | FArray< T, S, I >::insert (I i, const T &t) |
|
void | FArray< T, S, I >::put (I 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, I >::append (const C &in) |
| Appends the contents of one FArray onto another.
|
|
iterator | FArray< T, S, I >::insert (iterator it, const T &t) |
|
bool | FArray< T, S, I >::remove (I i) |
|
size_type | FArray< T, S, I >::removeAll (const T &t) |
|
void | FArray< T, S, I >::clear () |
|
void | FArray< T, S, I >::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) |
|
bool | SymTensor::operator== (const SymTensor &s) const |
| Equality operator.
|
|
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) |
|