40 #if (defined(_MSC_VER) && _MSC_VER <= 1200)
43 #define KSSTREAM_HEADER <strstream>
44 #define KOSTRINGSTREAM std::ostrstream
45 #define KEND_OF_STREAM << '\0'
49 #define KTYPENAME typename
50 #define KSSTREAM_HEADER <sstream>
51 #define KOSTRINGSTREAM std::ostringstream
52 #define KEND_OF_STREAM
81 : logic_error(message) {}
103 template <
typename T>
KalmanError(const std::string &message)
Constructor taking an error message.
OutOfBoundError(const std::string &message)
Constructor taking an error message.
long int K_INT_32
Signed 32-bits integral type.
Base class for all exceptions thrown in the Kalman namespace.
void swap(T &a, T &b)
Swaps objects a and b.
float K_REAL_32
32-bits floating point type
double K_REAL_64
64-bits floating point type
short int K_INT_16
Signed 16-bits integral type.
unsigned short int K_UINT_16
Unsigned 16-bits integral type.
unsigned long int K_UINT_32
Unsigned 32-bits integral type.
Exception class for access to out-of-bound elements.