#include <exception>
#include <string>
#include <sstream>
#include <iostream>
Go to the source code of this file.
|
| #define | VERBOSE_MESSAGING |
| |
| #define | MSVC_WARNING(x) |
| |
| #define | WARN(...) Util::Warn( __FILE__ , __LINE__ , __FUNCTION__ , __VA_ARGS__ ) |
| |
| #define | WARN_ONCE(...) { static bool firstTime = true ; if( firstTime ) Util::Warn( __FILE__ , __LINE__ , __FUNCTION__ , __VA_ARGS__ ) ; firstTime = false; } |
| |
| #define | THROW(...) Util::Throw( __FILE__ , __LINE__ , __FUNCTION__ , __VA_ARGS__ ) |
| |
| #define | ERROR_OUT(...) Util::ErrorOut( __FILE__ , __LINE__ , __FUNCTION__ , __VA_ARGS__ ) |
| |
|
| template<typename ... Arguments> |
| void | Util::_AddToMessageStream (std::stringstream &stream, Arguments ... arguments) |
| |
| void | Util::_AddToMessageStream (std::stringstream &stream) |
| |
| template<typename Argument , typename ... Arguments> |
| void | Util::_AddToMessageStream (std::stringstream &stream, Argument argument, Arguments ... arguments) |
| |
| template<typename ... Arguments> |
| std::string | Util::MakeMessageString (std::string header, std::string fileName, int line, std::string functionName, Arguments ... arguments) |
| |
| template<typename ... Args> |
| void | Util::Throw (const char *fileName, int line, const char *functionName, Args ... args) |
| |
| template<typename ... Args> |
| void | Util::Warn (const char *fileName, int line, const char *functionName, Args ... args) |
| |
| template<typename ... Args> |
| void | Util::ErrorOut (const char *fileName, int line, const char *functionName, Args ... args) |
| |
◆ ERROR_OUT
| #define ERROR_OUT |
( |
| ... | ) |
Util::ErrorOut( __FILE__ , __LINE__ , __FUNCTION__ , __VA_ARGS__ ) |
◆ MSVC_WARNING
| #define MSVC_WARNING |
( |
| x | ) |
|
◆ THROW
| #define THROW |
( |
| ... | ) |
Util::Throw( __FILE__ , __LINE__ , __FUNCTION__ , __VA_ARGS__ ) |
◆ VERBOSE_MESSAGING
| #define VERBOSE_MESSAGING |
◆ WARN
| #define WARN |
( |
| ... | ) |
Util::Warn( __FILE__ , __LINE__ , __FUNCTION__ , __VA_ARGS__ ) |
◆ WARN_ONCE
| #define WARN_ONCE |
( |
| ... | ) |
{ static bool firstTime = true ; if( firstTime ) Util::Warn( __FILE__ , __LINE__ , __FUNCTION__ , __VA_ARGS__ ) ; firstTime = false; } |