#include <stdexcept>
#include <sstream>
#include <boost/preprocessor/stringize.hpp>
#include <datatools/handle.h>
Go to the source code of this file.
◆ DATATOOLS_HANDLE_DECLARE
#define DATATOOLS_HANDLE_DECLARE |
( |
|
HandleVar, |
|
|
|
Type |
|
) |
| |
◆ DATATOOLS_HANDLE_DECLARE_NEW
#define DATATOOLS_HANDLE_DECLARE_NEW |
( |
|
HandleVar, |
|
|
|
Type |
|
) |
| |
◆ DATATOOLS_HANDLE_GET_REF
#define DATATOOLS_HANDLE_GET_REF |
( |
|
RefVar, |
|
|
|
HandleVar, |
|
|
|
Type |
|
) |
| |
Value: std::logic_error, \
"Handle '" << BOOST_PP_STRINGIZE(HandleVar) << "' has no data !"); \
const Type& RefVar = HandleVar.get();
#define DT_THROW_IF(Condition, ExceptionType, Message)
Definition: exception.h:76
◆ DATATOOLS_HANDLE_GRAB_REF
#define DATATOOLS_HANDLE_GRAB_REF |
( |
|
RefVar, |
|
|
|
HandleVar, |
|
|
|
Type |
|
) |
| |
Value: std::logic_error, \
"Handle '" << BOOST_PP_STRINGIZE(HandleVar) << "' has no data !"); \
Type& RefVar = HandleVar.grab();
#define DT_THROW_IF(Condition, ExceptionType, Message)
Definition: exception.h:76