ML Reference
|
Global C++ definitions for mlUtils and ML. More...
#include "mlUtilsSystemC.h"
#include "mlTrace.h"
#include "mlErrorMacros.h"
#include "mlMacros.h"
#include "mlSystemWarningsDisable.h"
#include <windows.h>
#include "mlSystemWarningsRestore.h"
#include <iostream>
#include <list>
#include <sstream>
#include <string>
#include <vector>
Go to the source code of this file.
Namespaces | |
namespace | ml |
Define the namespace name like in the ML. Default is | |
Defines | |
"typename" macro for UNIX/WIN32 ISO standard incompatibility problems | |
#define | ML_TYPENAME typename |
The C++ISO-Standard requires the usage of "typename" in templates like std::vector<typename MyType> vectorVar; Visual C++ 6 does not understand that which is a coding incompatibility. | |
#define | ML_TYPENAME |
The C++ISO-Standard requires the usage of "typename" in templates like std::vector<typename MyType> vectorVar; Visual C++ 6 does not understand that which is a coding incompatibility. | |
Functions | |
mlMin/mlMax Templates in ML namespace | |
template<typename T > | |
T | ml::mlMin (T a, T b) |
Defines ML specific min template since min template is platform dependent. | |
template<typename T > | |
T | ml::mlMax (T a, T b) |
Defines ML specific max template since max template is platform dependent. | |
template<typename T > | |
T | ml::mlAbs (T a) |
Defines ML specific abs template since only type depended library functions exists. | |
MLuint8 | ml::mlAbs (MLuint8 a) |
Implement mlAbs specializations to avoid comparison < 0 warnings on unsigned types. | |
MLuint16 | ml::mlAbs (MLuint16 a) |
MLuint32 | ml::mlAbs (MLuint32 a) |
MLuint64 | ml::mlAbs (MLuint64 a) |
#define ML_TYPENAME typename |
The C++ISO-Standard requires the usage of "typename" in templates like std::vector<typename MyType> vectorVar; Visual C++ 6 does not understand that which is a coding incompatibility.
In ML code use std::vector<ML_TYPENAME MyType> vectorVar; for platform independent code.
Definition at line 213 of file mlUtilsSystem.h.
Referenced by ml::MLInverseMatHelper().
#define ML_TYPENAME |
The C++ISO-Standard requires the usage of "typename" in templates like std::vector<typename MyType> vectorVar; Visual C++ 6 does not understand that which is a coding incompatibility.
In ML code use std::vector<ML_TYPENAME MyType> vectorVar; for platform independent code.
Definition at line 213 of file mlUtilsSystem.h.