Class xlifepp::Value#
-
class Value#
-
Collaboration diagram for xlifepp::Value:
to encapsulate any kind of users value (scalar, Vector or Matrix)
Public Functions
-
Value(const real_t&)#
-
constructors only for supported types
-
~Value()#
-
destructor
-
void clearValue()#
-
clear value
-
void opposite()#
-
change the sign of value
Public Members
-
mutable bool conjugate_#
-
temporary conjugate state flag (use in operator construction)
-
mutable bool transpose_#
-
temporary transposition state flag (use in operator construction)
Public Static Functions
-
template<typename T>
static bool checkTypeInList(const T&)#
-
check if a value is in list of supported types
-
template<typename T>
static bool isTypeInList(const T&)#
-
check if a value is in list of supported types
-
static void printValueTypeRTINames(std::ostream&)#
-
print RTI names
-
template<typename T>
static structPair typeOf(const T &v)#
-
return types of a T value
-
static void valueTypeRTINamesInit()#
-
initialization of RTI names of supported types
Public Static Attributes
-
static std::map<string_t, structPair> theValueTypeRTInames#
-
list of RTI names of supported types
list of RTI names of valuetypes (real, complex, Vector<>, …)
-
Value(const real_t&)#