MeVisLab Toolbox Reference
|
Template class to register the standard integer classes as voxel types in the ML. More...
#include <mlStdTypeInfos.h>
Public Member Functions | |
MLTStdTypeInfos () | |
Constructor. More... | |
void | MLTYPE_negate (const MLTypeData *p, MLTypeData *q) |
void | MLTYPE_negate (const MLTypeData *p, MLTypeData *q) |
void | MLTYPE_negate (const MLTypeData *p, MLTypeData *q) |
void | MLTYPE_negate (const MLTypeData *p, MLTypeData *q) |
Static Public Member Functions | |
Returns specialized data type names. | |
static const char * | typeName (MLint8 *) |
static const char * | typeName (MLuint8 *) |
static const char * | typeName (MLint16 *) |
static const char * | typeName (MLuint16 *) |
static const char * | typeName (MLint32 *) |
static const char * | typeName (MLuint32 *) |
static const char * | typeName (MLfloat *) |
static const char * | typeName (MLdouble *) |
static const char * | typeName (MLint64 *) |
static const char * | typeName (MLuint64 *) |
Methods to be overloaded by derived classes if the corresponding flag is true. | |
static char * | MLTYPE_getStringValue (const MLTypeData *p) |
Return value as string to be freed by MLFree(). Use MLTypeComponentsToString() if possible. More... | |
static void | MLTYPE_setStringValue (const char *s, MLTypeData *r) |
Convert string s to value and write result into r. Use MLTypeComponentsFromString() if possible. More... | |
static void | MLTYPE_setToMinimum (MLTypeData *p) |
Sets value to minimum value. Must be implemented. More... | |
static void | MLTYPE_setToMaximum (MLTypeData *p) |
Sets value to minimum value. Must be implemented. More... | |
static void | MLTYPE_setToDefault (MLTypeData *p) |
Sets value to default value. Must be implemented. More... | |
static MLdouble | MLTYPE_getComponent (const MLTypeData *p, size_t) |
Gets n-th component as double value. Must be implemented. More... | |
static void | MLTYPE_setComponent (MLTypeData *p, size_t, MLdouble v) |
Sets n-th component from double value. Must be implemented. More... | |
static void | MLTYPE_copy (const MLTypeData *source, MLTypeData *dest) |
Copy first parameter to second one. More... | |
static void | MLTYPE_arrayCopy (const MLTypeData *source, MLTypeData *dest, size_t size) |
Copy s elements from first parameter to second one. More... | |
static void | MLTYPE_arrayCopyWithStrides (const MLTypeData *source, MLssize_t sourceStride, MLTypeData *dest, MLssize_t destStride, size_t size) |
Same as above, but allows to specify stride values for source and destination. More... | |
static void | MLTYPE_arrayFill (const MLTypeData *fillValue, MLTypeData *dest, size_t n) |
Copy first parameter to second one as often as given in the third parameter. More... | |
static bool | MLTYPE_castToBool (const MLTypeData *p) |
Return parameter casted to bool. Typically false when it is identically to the default element, otherwise true. More... | |
static MLint | MLTYPE_castToInt (const MLTypeData *p) |
Return parameter casted to integer. Often the integer cast of the first component. More... | |
static MLdouble | MLTYPE_castToDouble (const MLTypeData *p) |
Return parameter casted to double. Often the integer cast of the first component. More... | |
static void | MLTYPE_castToOtherType (const MLTypeData *myData, const MLTypeInfos *otherInfos, MLTypeData *otherData) |
Return parameter casted to double. Usually implemented by default with function casting component wise. More... | |
static void | MLTYPE_castFromInt (MLint p, MLTypeData *q) |
Cast first parameters to data type and write it into second parameter. More... | |
static void | MLTYPE_castFromDouble (MLdouble p, MLTypeData *q) |
Cast first parameters to data type and write it into second parameter. More... | |
static void | MLTYPE_castFromOtherType (const MLTypeInfos *otherInfos, const MLTypeData *otherData, MLTypeData *myData) |
Cast first parameters to data type and write it into second parameter. More... | |
static bool | MLTYPE_isEqualToType (const MLTypeData *p, const MLTypeData *q) |
Return true if both parameters are equal, otherwise false. More... | |
static bool | MLTYPE_isEqualToTypeWithEpsilon (const MLTypeData *p, const MLTypeData *q, MLdouble eps) |
Returns true if both parameters are equal within a static epsilon, otherwise false . More... | |
static void | MLTYPE_negate (const MLTypeData *p, MLTypeData *q) |
Negate the value. See also the specialized negations for unsigned types which leave value unchanged. More... | |
static void | MLTYPE_normalize (const MLTypeData *, MLTypeData *q) |
Normalize type. More... | |
static void | MLTYPE_arrayRescale (const MLTypeData *source, MLdouble factor, const MLTypeData *offset, MLTypeData *dest, size_t size) |
Scale the values from the first parameter with the second parameter and offset it with the value from the third parameter, writing it to the position of the fourth parameter, times the fifth parameter. More... | |
static bool | MLTYPE_arrayEqualsValue (const MLTypeData *value, const MLTypeData *buffer, size_t size) |
Check that the first argument equals all the values given with the second argument (and the size in the third argument), returns true if all values are equal. More... | |
static void | MLTYPE_arrayGetMinMax (const MLTypeData *p, size_t s, MLdouble &min, MLdouble &max) |
Get the mininum and maximum component values from the array in the first argument, and return it in the third and fourth argument, the size of the array is in the second argument. More... | |
static void | MLTYPE_interpolate (const MLTypeData *p, const MLTypeData *q, MLdouble r, MLTypeData *t) |
Interpolate linearly between the first and the second parameter, at the position given by the third parameter (between 0 and 1). More... | |
static void | MLTYPE_multWithInt (const MLTypeData *p, MLint q, MLTypeData *r) |
Implement multiplication with integer. Result written into parameter three. More... | |
static void | MLTYPE_multWithDouble (const MLTypeData *p, MLdouble q, MLTypeData *r) |
Implement multiplication with double. Result written into parameter three. More... | |
static void | MLTYPE_multWithType (const MLTypeData *p, const MLTypeData *q, MLTypeData *r) |
Implement multiplication with its own type. Result written into parameter three. More... | |
static void | MLTYPE_multWithOtherType (const MLTypeInfos *otherInfos, const MLTypeData *otherData, const MLTypeData *myData, MLTypeData *r) |
Implement multiplication with another type. Result written into parameter three. More... | |
static void | MLTYPE_plusInt (const MLTypeData *p, MLint q, MLTypeData *r) |
Implement integer addition to parameter one. Result written into parameter three. More... | |
static void | MLTYPE_plusDouble (const MLTypeData *p, MLdouble q, MLTypeData *r) |
Implement double addition to parameter one. Result written into parameter three. More... | |
static void | MLTYPE_plusType (const MLTypeData *p, const MLTypeData *q, MLTypeData *r) |
Implement parameter two addition to parameter one. Result written into parameter three. More... | |
Protected Member Functions | |
MLfloat | castToType (MLdouble v) |
MLdouble | castToType (MLdouble v) |
Return types and number of them to which this type can be casted without information loss. | |
void | _getGoodCastTos (MLint8, MLuint &num, const char **&typeNames) |
void | _getGoodCastTos (MLuint8, MLuint &num, const char **&typeNames) |
void | _getGoodCastTos (MLint16, MLuint &num, const char **&typeNames) |
void | _getGoodCastTos (MLuint16, MLuint &num, const char **&typeNames) |
void | _getGoodCastTos (MLint32, MLuint &num, const char **&typeNames) |
void | _getGoodCastTos (MLuint32, MLuint &num, const char **&typeNames) |
void | _getGoodCastTos (MLfloat, MLuint &num, const char **&typeNames) |
void | _getGoodCastTos (MLdouble, MLuint &num, const char **&typeNames) |
void | _getGoodCastTos (MLint64, MLuint &num, const char **&typeNames) |
void | _getGoodCastTos (MLuint64, MLuint &num, const char **&typeNames) |
Static Protected Member Functions | |
static VTYP | castToType (MLdouble v) |
implement method that rounds a double value when casting to integer, but doesn't round when casting to a float type (special cased below) More... | |
Static Protected Attributes | |
static const VTYP | _typeMin |
Permanent instance of the minimum value. More... | |
static const VTYP | _typeMax |
Permanent instance of the maximum value. More... | |
static const VTYP | _typeDefault = VTYP(0) |
Permanent instance of the default value. More... | |
static const char | _typeInfoString [_ML_STD_SLEN] |
Permanent instance of the type's description. More... | |
static MLTypeInfos * | _myInfos = nullptr |
Permanent instance of a pointer to the typeInfos used by this class. More... | |
static MLint32 | _numInstances = 0 |
Number of instances of this class. More... | |
Return the correct equivalent for range and precision routines. | |
MLDataType | _rangeAndPrecisionEquiv (MLint8) |
MLDataType | _rangeAndPrecisionEquiv (MLuint8) |
MLDataType | _rangeAndPrecisionEquiv (MLint16) |
MLDataType | _rangeAndPrecisionEquiv (MLuint16) |
MLDataType | _rangeAndPrecisionEquiv (MLint32) |
MLDataType | _rangeAndPrecisionEquiv (MLuint32) |
MLDataType | _rangeAndPrecisionEquiv (MLfloat) |
MLDataType | _rangeAndPrecisionEquiv (MLdouble) |
MLDataType | _rangeAndPrecisionEquiv (MLint64) |
MLDataType | _rangeAndPrecisionEquiv (MLuint64) |
static VTYP & | value_cast (MLTypeData *v) |
avoid ugly reinterpret_casts More... | |
static const VTYP & | value_cast (const MLTypeData *v) |
Additional Inherited Members | |
Public Types inherited from MLTypeInfos | |
typedef void(* | Function_SetTo) (MLTypeData *dest) |
typedef bool(* | Function_CastToBool) (const MLTypeData *p) |
typedef MLint(* | Function_CastToInt) (const MLTypeData *p) |
typedef MLdouble(* | Function_CastToDouble) (const MLTypeData *p) |
typedef char *(* | Function_GetStringValue) (const MLTypeData *p) |
typedef void(* | Function_CastFromInt) (MLint value, MLTypeData *result) |
typedef void(* | Function_CastFromDouble) (MLdouble value, MLTypeData *result) |
typedef void(* | Function_SetStringValue) (const char *str, MLTypeData *result) |
typedef void(* | Function_CopyValue) (const MLTypeData *source, MLTypeData *dest) |
typedef bool(* | Function_IsEqualToType) (const MLTypeData *source1, const MLTypeData *source2) |
typedef bool(* | Function_IsEqualToTypeWithEpsilon) (const MLTypeData *source1, const MLTypeData *source2, MLdouble epsilon) |
typedef void(* | Function_ApplyIntOperation) (const MLTypeData *source, MLint value, MLTypeData *result) |
typedef void(* | Function_ApplyDoubleOperation) (const MLTypeData *source, MLdouble value, MLTypeData *result) |
typedef void(* | Function_ApplyOperation) (const MLTypeData *source1, const MLTypeData *source2, MLTypeData *result) |
typedef void(* | Function_CastToOtherType) (const MLTypeData *myData, const MLTypeInfos *otherInfos, MLTypeData *otherData) |
typedef void(* | Function_CastFromOtherType) (const MLTypeInfos *myInfos, const MLTypeData *myData, MLTypeData *otherData) |
typedef void(* | Function_MultWithOtherType) (const MLTypeInfos *myInfos, const MLTypeData *myData, const MLTypeData *otherData, MLTypeData *result) |
typedef void(* | Function_ArrayCopy) (const MLTypeData *source, MLTypeData *dest, size_t size) |
typedef void(* | Function_ArrayFill) (const MLTypeData *fillValue, MLTypeData *dest, size_t size) |
typedef void(* | Function_ArrayCopyWithStrides) (const MLTypeData *source, MLssize_t sourceStride, MLTypeData *dest, MLssize_t destStride, size_t size) |
typedef void(* | Function_Interpolate) (const MLTypeData *source1, const MLTypeData *source2, MLdouble alpha, MLTypeData *result) |
typedef void(* | Function_ArrayRescale) (const MLTypeData *source, MLdouble scaleFactor, const MLTypeData *offset, MLTypeData *dest, size_t size) |
typedef bool(* | Function_ArrayEqualsValue) (const MLTypeData *value, const MLTypeData *buffer, size_t size) |
typedef void(* | Function_ArrayGetMinMax) (const MLTypeData *source, size_t size, MLdouble &min, MLdouble &max) |
typedef MLdouble(* | Function_GetComponent) (const MLTypeData *source, size_t componentIndex) |
typedef void(* | Function_SetComponent) (MLTypeData *dest, size_t componentIndex, MLdouble value) |
Public Attributes inherited from MLTypeInfos | |
size_t | numComponents |
Number of components of this data type. Equals number of characters in *structInfoString. More... | |
size_t | typeSize |
sizeof the data type in bytes. More... | |
const char * | name |
Pointer to the data type name. More... | |
MLDataType | rangeAndPrecisionEquivalent |
Standard data type which has a comparable range and precision behavior. More... | |
MLdouble | dblMin |
double minimum of data type if it exists. More... | |
MLdouble | dblMax |
double maximum of data type if it exists. More... | |
const MLTypeData * | typeMinPtr |
Data type minimum specified by derived class. More... | |
const MLTypeData * | typeMaxPtr |
Data type maximum specified by derived class. More... | |
const MLTypeData * | typeDefaultPtr |
Data type default specified by derived class. More... | |
size_t | numGoodCastTos |
Number of data types to which this type can be casted without information or functionality loss. More... | |
const char ** | goodCastTos |
Data types names to which this type can be casted without information or functionality loss. More... | |
size_t | componentOffsets [ML_MAX_COMPONENTS_EXTENDED_TYPE] |
Array of offsets from the first to other components to address any component directly. More... | |
const char * | structInfoString |
Pointer to a null-terminated string describing the type configuration. More... | |
MLint32 | dataTypeId |
Real MLDataType id of under which these operations are registered as data type. More... | |
MLTypeGroup | typeGroup |
Type group to which this type belongs. More... | |
MLTypePropertyBits | propertyBits |
Variable containing an enabled bit for each defined property. More... | |
Function_GetStringValue | getStringValue |
Returns a value as a string. More... | |
Function_SetStringValue | setStringValue |
Converts string s to value and write result into r. More... | |
Function_SetTo | setToMinimum |
Sets value to minimum value. Must be implemented. More... | |
Function_SetTo | setToMaximum |
Sets value to minimum value. Must be implemented. More... | |
Function_SetTo | setToDefault |
Sets value to default value. Must be implemented. More... | |
Function_GetComponent | getComponent |
Get n-th component of the type as double. More... | |
Function_SetComponent | setComponent |
Set n-th component of the type from double (applying rounding if needed) More... | |
Function_CopyValue | copy |
Copies first parameter to second one. More... | |
Function_ArrayCopy | arrayCopy |
Copies number of elements at first parameter to second one. More... | |
Function_ArrayCopyWithStrides | arrayCopyWithStrides |
Same as above, but allows to specify stride values for source and destination. More... | |
Function_ArrayFill | arrayFill |
Sets first parameter to array at second one. More... | |
Function_CastToBool | castToBool |
Returns a type value cast to bool. Usually an equality to 0 should return false, e.g., a null vector. More... | |
Function_CastToInt | castToInt |
Returns a type value cast to integer. More... | |
Function_CastToDouble | castToDouble |
Returns a type value cast to double. More... | |
Function_CastToOtherType | castToOtherType |
Casts data to another registered type. More... | |
Function_CastFromInt | castFromInt |
Casts the first (the integer) parameter to the data type and returns it into second parameter. More... | |
Function_CastFromDouble | castFromDouble |
Casts the first (the double) parameter to the data type and returns it into second parameter. More... | |
Function_CastFromOtherType | castFromOtherType |
Casts another registered type to data. More... | |
Function_IsEqualToType | isEqualToType |
Returns true if both parameters are equal, otherwise false . More... | |
Function_IsEqualToTypeWithEpsilon | isEqualToTypeWithEpsilon |
Returns true if both parameters are equal within a static epsilon, otherwise false . More... | |
Function_CopyValue | negate |
Negates the value. More... | |
Function_CopyValue | normalize |
Normalizes the type value from parameter 1 and write it into parameter 2. More... | |
Function_ArrayRescale | arrayRescale |
Scale the values from the first parameter with the second parameter and offset it with the value from the third parameter, writing it to the position of the fourth parameter, times the fifth parameter. More... | |
Function_ArrayEqualsValue | arrayEqualsValue |
Check that the first argument equals all the values given with the second argument (and the size in the third argument), returns true if all values are equal. More... | |
Function_ArrayGetMinMax | arrayGetMinMax |
Get the minimum and maximum component values from the array in the first argument, and return it in the third and fourth argument, the size of the array is in the second argument. More... | |
Function_Interpolate | interpolate |
Interpolate linearly between the first and the second parameter, at the position given by the third parameter (between 0 and 1). More... | |
Function_ApplyIntOperation | multWithInt |
Implements multiplication with integer. Result written into parameter three. More... | |
Function_ApplyDoubleOperation | multWithDouble |
Implements multiplication with double. Result written into parameter three. More... | |
Function_ApplyOperation | multWithType |
Implements multiplication with its own type. Result written into parameter three. More... | |
Function_MultWithOtherType | multWithOtherType |
Implements multiplication with another type. Result written into parameter three. More... | |
Function_ApplyIntOperation | plusInt |
Implements integer addition to parameter one. Result written into parameter three. More... | |
Function_ApplyDoubleOperation | plusDouble |
Implements double addition to parameter one. Result written into parameter three. More... | |
Function_ApplyOperation | plusType |
Implements parameter two addition to parameter one. Result written into parameter three. More... | |
Template class to register the standard integer classes as voxel types in the ML.
Definition at line 39 of file mlStdTypeInfos.h.
|
inline |
Constructor.
In derived classes all members must be set correctly dependent on the properties of the described data type. The more properties are implemented the more module can support this data type. See MLTypeInfos.
Assign all pointers to the static functions implementing the operations.
Initialization of the main properties of MLTypeInfos. Returns 1(=true) on success, 0(=false) on failure. Initialize the data type information.
-Define sizeof of real data type (not the size of the carrying byte type)
-Define string name of data type.
-Set minimum and maximum double values. Notes: Try to select values which will not be exceeded when the new type is casted to double. Try to select values which are converted to the types's minimum/maximum after casting them to the new type. However, that's desirable but not really necessary.
-Set pointers to a permanent instances of the the data type minimum and maximum value. Notes: Try to select minimum and maximum value so that they match to minimum and maximum double value after casting them to double. However, that's desirable but not really necessary.
-Set pointer to a permanent instance of the the data type default value in derived class. Notes: This value will be used when initializing or completing incomplete type components e.g., after incomplete string scans or casts. This value will also be used as a 0-element. This value will be used as "false" on boolean casts in the default implementation. All other values will be considered as "true".
-Set pointer to a permanent null-terminated string describing the type configuration. It is needed for most default implementations of the type, e.g., correct big endian/little endian conversions when storing loading this data, for automatic casts to other type etc. It must exactly describe the type configuration. Use
So a data type consisting of a float[3], a bool, and two signed integers would lead to "fffbII".
-Pass true if it is a basic type, i.e., one of the following: (unsigned) char, (unsigned) short, (unsigned) int, (unsigned) long, float, double, long double or MLint64.
-Pass a standard data type which has comparable range and precision behavior.
-componentAddresses is an array of pointers to the components of an example data instance so that gaps between components can be evaluated. It must contain exactly as many pointers as the length of typeStructInfo.
Take a type instance and create an array of addresses to all of it is components.
Definition at line 231 of file mlStdTypeInfos.h.
References ML_HARAKIRI, ML_PRINT_FATAL_ERROR, ML_PROGRAMMING_ERROR, ML_TYPE_ASSIGN_FUNCTION_POINTERS, MLScalarTypeGroup, and MLTypeInfosInit().
|
inlineprotected |
Definition at line 190 of file mlStdTypeInfos.h.
|
inlineprotected |
Definition at line 180 of file mlStdTypeInfos.h.
|
inlineprotected |
Definition at line 127 of file mlStdTypeInfos.h.
|
inlineprotected |
Definition at line 155 of file mlStdTypeInfos.h.
|
inlineprotected |
Definition at line 196 of file mlStdTypeInfos.h.
|
inlineprotected |
Definition at line 96 of file mlStdTypeInfos.h.
|
inlineprotected |
Definition at line 140 of file mlStdTypeInfos.h.
|
inlineprotected |
Definition at line 167 of file mlStdTypeInfos.h.
|
inlineprotected |
Definition at line 207 of file mlStdTypeInfos.h.
|
inlineprotected |
Definition at line 110 of file mlStdTypeInfos.h.
|
inlineprotected |
Definition at line 80 of file mlStdTypeInfos.h.
References MLdoubleType.
|
inlineprotected |
Definition at line 79 of file mlStdTypeInfos.h.
References MLfloatType.
|
inlineprotected |
Definition at line 75 of file mlStdTypeInfos.h.
References MLint16Type.
|
inlineprotected |
Definition at line 77 of file mlStdTypeInfos.h.
References MLint32Type.
|
inlineprotected |
Definition at line 81 of file mlStdTypeInfos.h.
References MLint64Type.
|
inlineprotected |
Definition at line 73 of file mlStdTypeInfos.h.
References MLint8Type.
|
inlineprotected |
Definition at line 76 of file mlStdTypeInfos.h.
References MLuint16Type.
|
inlineprotected |
Definition at line 78 of file mlStdTypeInfos.h.
References MLuint32Type.
|
inlineprotected |
Definition at line 82 of file mlStdTypeInfos.h.
References MLuint64Type.
|
inlineprotected |
Definition at line 74 of file mlStdTypeInfos.h.
References MLuint8Type.
|
inlinestaticprotected |
implement method that rounds a double value when casting to integer, but doesn't round when casting to a float type (special cased below)
Definition at line 92 of file mlStdTypeInfos.h.
|
inlineprotected |
Definition at line 484 of file mlStdTypeInfos.h.
|
inlineprotected |
Definition at line 485 of file mlStdTypeInfos.h.
|
inlinestatic |
Copy s elements from first parameter to second one.
Definition at line 363 of file mlStdTypeInfos.h.
References boost::source().
|
inlinestatic |
Same as above, but allows to specify stride values for source and destination.
Definition at line 365 of file mlStdTypeInfos.h.
References boost::source().
|
inlinestatic |
Check that the first argument equals all the values given with the second argument (and the size in the third argument), returns true if all values are equal.
Definition at line 436 of file mlStdTypeInfos.h.
|
inlinestatic |
Copy first parameter to second one as often as given in the third parameter.
Definition at line 376 of file mlStdTypeInfos.h.
|
inlinestatic |
Get the mininum and maximum component values from the array in the first argument, and return it in the third and fourth argument, the size of the array is in the second argument.
Definition at line 448 of file mlStdTypeInfos.h.
|
inlinestatic |
Scale the values from the first parameter with the second parameter and offset it with the value from the third parameter, writing it to the position of the fourth parameter, times the fifth parameter.
Definition at line 424 of file mlStdTypeInfos.h.
References boost::source().
|
inlinestatic |
Cast first parameters to data type and write it into second parameter.
Definition at line 405 of file mlStdTypeInfos.h.
|
inlinestatic |
Cast first parameters to data type and write it into second parameter.
Definition at line 403 of file mlStdTypeInfos.h.
|
inlinestatic |
Cast first parameters to data type and write it into second parameter.
Definition at line 407 of file mlStdTypeInfos.h.
References MLTypeCastToOtherType().
|
inlinestatic |
Return parameter casted to bool. Typically false when it is identically to the default element, otherwise true.
Definition at line 394 of file mlStdTypeInfos.h.
References MLValuesDifferWOM().
|
inlinestatic |
Return parameter casted to double. Often the integer cast of the first component.
Definition at line 398 of file mlStdTypeInfos.h.
|
inlinestatic |
Return parameter casted to integer. Often the integer cast of the first component.
Definition at line 396 of file mlStdTypeInfos.h.
|
inlinestatic |
Return parameter casted to double. Usually implemented by default with function casting component wise.
Definition at line 400 of file mlStdTypeInfos.h.
References MLTypeCastToOtherType().
|
inlinestatic |
Copy first parameter to second one.
Definition at line 361 of file mlStdTypeInfos.h.
References boost::source().
|
inlinestatic |
Gets n-th component as double value. Must be implemented.
Definition at line 357 of file mlStdTypeInfos.h.
|
inlinestatic |
Return value as string to be freed by MLFree(). Use MLTypeComponentsToString() if possible.
Definition at line 340 of file mlStdTypeInfos.h.
References MLTypeComponentsToString().
|
inlinestatic |
Interpolate linearly between the first and the second parameter, at the position given by the third parameter (between 0 and 1).
Result written into parameter three.
Definition at line 460 of file mlStdTypeInfos.h.
|
inlinestatic |
Return true if both parameters are equal, otherwise false.
Definition at line 411 of file mlStdTypeInfos.h.
References MLValuesAreEqualWOM().
|
inlinestatic |
Returns true
if both parameters are equal within a static epsilon, otherwise false
.
Definition at line 413 of file mlStdTypeInfos.h.
References MLAbs().
|
inlinestatic |
Implement multiplication with double. Result written into parameter three.
Definition at line 467 of file mlStdTypeInfos.h.
|
inlinestatic |
Implement multiplication with integer. Result written into parameter three.
Definition at line 465 of file mlStdTypeInfos.h.
|
inlinestatic |
Implement multiplication with another type. Result written into parameter three.
Definition at line 471 of file mlStdTypeInfos.h.
References MLTypeMultWithOtherType().
|
inlinestatic |
Implement multiplication with its own type. Result written into parameter three.
Definition at line 469 of file mlStdTypeInfos.h.
|
inlinestatic |
Negate the value. See also the specialized negations for unsigned types which leave value unchanged.
Definition at line 416 of file mlStdTypeInfos.h.
|
inline |
Definition at line 489 of file mlStdTypeInfos.h.
|
inline |
Definition at line 490 of file mlStdTypeInfos.h.
|
inline |
Definition at line 491 of file mlStdTypeInfos.h.
|
inline |
Definition at line 492 of file mlStdTypeInfos.h.
|
inlinestatic |
Normalize type.
Definition at line 419 of file mlStdTypeInfos.h.
|
inlinestatic |
Implement double addition to parameter one. Result written into parameter three.
Definition at line 477 of file mlStdTypeInfos.h.
|
inlinestatic |
Implement integer addition to parameter one. Result written into parameter three.
Definition at line 475 of file mlStdTypeInfos.h.
|
inlinestatic |
Implement parameter two addition to parameter one. Result written into parameter three.
Definition at line 479 of file mlStdTypeInfos.h.
|
inlinestatic |
Sets n-th component from double value. Must be implemented.
Definition at line 359 of file mlStdTypeInfos.h.
|
inlinestatic |
Convert string s to value and write result into r. Use MLTypeComponentsFromString() if possible.
Definition at line 342 of file mlStdTypeInfos.h.
References ml::logTypeComponentsFromStringError(), and MLTypeComponentsFromString().
|
inlinestatic |
Sets value to default value. Must be implemented.
Definition at line 355 of file mlStdTypeInfos.h.
|
inlinestatic |
Sets value to minimum value. Must be implemented.
Definition at line 353 of file mlStdTypeInfos.h.
|
inlinestatic |
Sets value to minimum value. Must be implemented.
Definition at line 351 of file mlStdTypeInfos.h.
|
inlinestatic |
Definition at line 53 of file mlStdTypeInfos.h.
References MLTypeInfos::name.
|
inlinestatic |
Definition at line 52 of file mlStdTypeInfos.h.
References MLTypeInfos::name.
|
inlinestatic |
Definition at line 48 of file mlStdTypeInfos.h.
References MLTypeInfos::name.
|
inlinestatic |
Definition at line 50 of file mlStdTypeInfos.h.
References MLTypeInfos::name.
|
inlinestatic |
Definition at line 54 of file mlStdTypeInfos.h.
References MLTypeInfos::name.
|
inlinestatic |
Definition at line 46 of file mlStdTypeInfos.h.
References MLTypeInfos::name.
|
inlinestatic |
Definition at line 49 of file mlStdTypeInfos.h.
References MLTypeInfos::name.
|
inlinestatic |
Definition at line 51 of file mlStdTypeInfos.h.
References MLTypeInfos::name.
|
inlinestatic |
Definition at line 55 of file mlStdTypeInfos.h.
References MLTypeInfos::name.
|
inlinestatic |
Definition at line 47 of file mlStdTypeInfos.h.
References MLTypeInfos::name.
|
inlinestaticprotected |
Definition at line 87 of file mlStdTypeInfos.h.
|
inlinestaticprotected |
avoid ugly reinterpret_casts
Definition at line 86 of file mlStdTypeInfos.h.
|
staticprotected |
Permanent instance of a pointer to the typeInfos used by this class.
Definition at line 220 of file mlStdTypeInfos.h.
|
staticprotected |
Number of instances of this class.
To avoid that more than one instance is created
Definition at line 224 of file mlStdTypeInfos.h.
|
staticprotected |
Permanent instance of the default value.
Definition at line 66 of file mlStdTypeInfos.h.
|
staticprotected |
Permanent instance of the type's description.
Definition at line 69 of file mlStdTypeInfos.h.
|
staticprotected |
Permanent instance of the maximum value.
Definition at line 63 of file mlStdTypeInfos.h.
|
staticprotected |
Permanent instance of the minimum value.
Definition at line 60 of file mlStdTypeInfos.h.