delphyne
|
Macros | |
#define | DELPHYNE_DEPRECATED(version) () |
#define | DELPHYNE_FORCEINLINE |
#define | DELPHYNE_ASSERT(condition) DRAKE_ASSERT(condition) |
#define | DELPHYNE_DEMAND(condition) DRAKE_DEMAND(condition) |
#define | DELPHYNE_ABORT_MESSAGE(msg) DRAKE_DEMAND(msg) |
#define | DELPHYNE_NO_COPY_NO_MOVE_NO_ASSIGN(class) DRAKE_NO_COPY_NO_MOVE_NO_ASSIGN(class) |
#define | STR_SIMPLE(x) #x |
#define | STR(x) STR_SIMPLE(x) |
#define | DELPHYNE_VALIDATE(pred, exctype, message) |
#define DELPHYNE_ABORT_MESSAGE | ( | msg | ) | DRAKE_DEMAND(msg) |
#define DELPHYNE_ASSERT | ( | condition | ) | DRAKE_ASSERT(condition) |
Used to declare an assertion. Will quit execution otherwise.
#define DELPHYNE_DEMAND | ( | condition | ) | DRAKE_DEMAND(condition) |
Used to declare a demand. Will quit execution otherwise.
#define DELPHYNE_DEPRECATED | ( | version | ) | () |
#define DELPHYNE_FORCEINLINE |
#define DELPHYNE_NO_COPY_NO_MOVE_NO_ASSIGN | ( | class | ) | DRAKE_NO_COPY_NO_MOVE_NO_ASSIGN(class) |
Deletes the special member functions for copy-construction, copy-assignment, move-construction, and move-assignment. Invoke this macro in the public section of the class declaration, e.g.:
class Foo { public: DELPHYNE_NO_COPY_NO_MOVE_NO_ASSIGN(Foo)
// ... };
*/
#define DELPHYNE_VALIDATE | ( | pred, | |
exctype, | |||
message | |||
) |
Used to validate that an argument passed into a function or method is true; if not, an exception of type exctype is thrown.
#define STR | ( | x | ) | STR_SIMPLE(x) |
Stringify a token
#define STR_SIMPLE | ( | x | ) | #x |
Internal stringify a token