SST/macro
util.h
Go to the documentation of this file.
1 #ifndef sstmac_UTIL_H
2 #define sstmac_UTIL_H
3 
4 #ifdef __cplusplus
5 #include <sprockit/spkt_string.h>
6 #include <sprockit/errors.h>
7 #include <sprockit/debug.h>
9 
10 /** Automatically inherit the errors */
14 using sprockit::io_error;
19 using sprockit::os_error;
22 
23 extern "C" double sstmac_now();
24 #else
25 double sstmac_now();
26 #endif
27 
28 #endif
29 
A general error somewhere from a library.
Definition: errors.h:95
Something happened when allocating, deallocating, or mapping a memory region.
Definition: errors.h:156
Something happened when iterating over a collection.
Definition: errors.h:168
File open, read, or write error.
Definition: errors.h:119
An error indicating some format was not correct.
Definition: errors.h:131
Error indicating something was null and shouldn&#39;t have been.
Definition: errors.h:71
double sstmac_now()
Invalid user input.
Definition: errors.h:228
An error having to do with an operating system.
Definition: errors.h:143
General errors, or base class for more specific errors.
Definition: errors.h:54
Key to a map was not in the map.
Definition: errors.h:204
An index was out of range in a collection.
Definition: errors.h:216