#include <sstream>
#include <exception>
#include <stdexcept>
Go to the source code of this file.
Classes | |
struct | pinocchio::helper::argument_type< T > |
struct | pinocchio::helper::argument_type< T(U)> |
struct | pinocchio::helper::handle_return_type_without_typename< D, TypeAccess > |
Namespaces | |
pinocchio | |
Main pinocchio namespace. | |
pinocchio::helper | |
Macros | |
#define | _PINOCCHIO_CHECK_ARGUMENT_SIZE_1 |
#define | _PINOCCHIO_CHECK_ARGUMENT_SIZE_2(size, expected_size) |
#define | _PINOCCHIO_CHECK_ARGUMENT_SIZE_3(size, expected_size, message) |
#define | _PINOCCHIO_CHECK_INPUT_ARGUMENT_0 |
#define | _PINOCCHIO_CHECK_INPUT_ARGUMENT_1(condition) |
#define | _PINOCCHIO_CHECK_INPUT_ARGUMENT_2(condition, message) PINOCCHIO_THROW(condition, std::invalid_argument, message) |
#define | _PINOCCHIO_EXPAND(x) x |
#define | _PINOCCHIO_GET_OVERRIDE_FOR_CHECK_ARGUMENT_SIZE(_1, _2, _3, MACRO_NAME, ...) MACRO_NAME |
#define | _PINOCCHIO_GET_OVERRIDE_FOR_CHECK_INPUT_ARGUMENT(_1, _2, MACRO_NAME, ...) MACRO_NAME |
#define | PINOCCHIO_ASSERT_MATRIX_SPECIFIC_SIZE(type, M, nrows, ncols) |
Ensure that a matrix (or vector) is of correct size (compile-time and run-time assertion) More... | |
#define | PINOCCHIO_CHECK_ARGUMENT_SIZE(...) |
Macro to check if the size of an element is equal to the expected size. More... | |
#define | PINOCCHIO_CHECK_INPUT_ARGUMENT(...) |
Macro to check an assert-like condition and throw a std::invalid_argument exception (with a message) if violated. More... | |
#define | PINOCCHIO_COMPILER_DIAGNOSTIC_IGNORED_DEPRECECATED_DECLARATIONS |
#define | PINOCCHIO_COMPILER_DIAGNOSTIC_IGNORED_MAYBE_UNINITIALIZED |
#define | PINOCCHIO_COMPILER_DIAGNOSTIC_IGNORED_SELF_ASSIGN_OVERLOADED |
#define | PINOCCHIO_COMPILER_DIAGNOSTIC_IGNORED_VARIADIC_MACROS |
#define | PINOCCHIO_COMPILER_DIAGNOSTIC_POP |
#define | PINOCCHIO_COMPILER_DIAGNOSTIC_PUSH |
macros for pragma push/pop/ignore deprecated warnings More... | |
#define | PINOCCHIO_MACRO_EMPTY_ARG |
Empty macro argument. More... | |
#define | PINOCCHIO_NOT_A_MACRO |
#define | PINOCCHIO_PRAGMA(x) |
#define | PINOCCHIO_PRAGMA_DEPRECATED(the_message) |
#define | PINOCCHIO_PRAGMA_DEPRECATED_HEADER(old_header, new_header) |
#define | PINOCCHIO_PRAGMA_MESSAGE(the_message) |
#define | PINOCCHIO_PRAGMA_WARNING(the_message) |
#define | PINOCCHIO_PRETTY_FUNCTION __PRETTY_FUNCTION__ |
#define | PINOCCHIO_STATIC_ASSERT(condition, msg) |
#define | PINOCCHIO_STRING_LITERAL(string) #string |
#define | PINOCCHIO_THROW(condition, exception_type, message) |
Generic macro to throw an exception in Pinocchio if the condition is not met with a given input message. More... | |
#define | PINOCCHIO_THROW_PRETTY(exception, message) |
#define | PINOCCHIO_UNUSED_VARIABLE(var) (void)(var) |
Helper to declare that a parameter is unused. More... | |
#define _PINOCCHIO_CHECK_ARGUMENT_SIZE_1 |
Definition at line 213 of file include/pinocchio/macros.hpp.
#define _PINOCCHIO_CHECK_ARGUMENT_SIZE_2 | ( | size, | |
expected_size | |||
) |
Definition at line 208 of file include/pinocchio/macros.hpp.
#define _PINOCCHIO_CHECK_ARGUMENT_SIZE_3 | ( | size, | |
expected_size, | |||
message | |||
) |
Definition at line 199 of file include/pinocchio/macros.hpp.
#define _PINOCCHIO_CHECK_INPUT_ARGUMENT_0 |
Definition at line 188 of file include/pinocchio/macros.hpp.
#define _PINOCCHIO_CHECK_INPUT_ARGUMENT_1 | ( | condition | ) |
Definition at line 184 of file include/pinocchio/macros.hpp.
#define _PINOCCHIO_CHECK_INPUT_ARGUMENT_2 | ( | condition, | |
message | |||
) | PINOCCHIO_THROW(condition, std::invalid_argument, message) |
Definition at line 181 of file include/pinocchio/macros.hpp.
Definition at line 178 of file include/pinocchio/macros.hpp.
#define _PINOCCHIO_GET_OVERRIDE_FOR_CHECK_ARGUMENT_SIZE | ( | _1, | |
_2, | |||
_3, | |||
MACRO_NAME, | |||
... | |||
) | MACRO_NAME |
Definition at line 197 of file include/pinocchio/macros.hpp.
#define _PINOCCHIO_GET_OVERRIDE_FOR_CHECK_INPUT_ARGUMENT | ( | _1, | |
_2, | |||
MACRO_NAME, | |||
... | |||
) | MACRO_NAME |
Definition at line 179 of file include/pinocchio/macros.hpp.
Ensure that a matrix (or vector) is of correct size (compile-time and run-time assertion)
Definition at line 75 of file include/pinocchio/macros.hpp.
#define PINOCCHIO_CHECK_ARGUMENT_SIZE | ( | ... | ) |
Macro to check if the size of an element is equal to the expected size.
Definition at line 216 of file include/pinocchio/macros.hpp.
#define PINOCCHIO_CHECK_INPUT_ARGUMENT | ( | ... | ) |
Macro to check an assert-like condition and throw a std::invalid_argument exception (with a message) if violated.
Definition at line 192 of file include/pinocchio/macros.hpp.
#define PINOCCHIO_COMPILER_DIAGNOSTIC_IGNORED_DEPRECECATED_DECLARATIONS |
Definition at line 131 of file include/pinocchio/macros.hpp.
#define PINOCCHIO_COMPILER_DIAGNOSTIC_IGNORED_MAYBE_UNINITIALIZED |
Definition at line 134 of file include/pinocchio/macros.hpp.
#define PINOCCHIO_COMPILER_DIAGNOSTIC_IGNORED_SELF_ASSIGN_OVERLOADED |
Definition at line 133 of file include/pinocchio/macros.hpp.
#define PINOCCHIO_COMPILER_DIAGNOSTIC_IGNORED_VARIADIC_MACROS |
Definition at line 132 of file include/pinocchio/macros.hpp.
#define PINOCCHIO_COMPILER_DIAGNOSTIC_POP |
Definition at line 130 of file include/pinocchio/macros.hpp.
#define PINOCCHIO_COMPILER_DIAGNOSTIC_PUSH |
macros for pragma push/pop/ignore deprecated warnings
Definition at line 129 of file include/pinocchio/macros.hpp.
#define PINOCCHIO_MACRO_EMPTY_ARG |
Empty macro argument.
Definition at line 69 of file include/pinocchio/macros.hpp.
#define PINOCCHIO_NOT_A_MACRO |
Definition at line 52 of file include/pinocchio/macros.hpp.
#define PINOCCHIO_PRAGMA | ( | x | ) |
Definition at line 44 of file include/pinocchio/macros.hpp.
#define PINOCCHIO_PRAGMA_DEPRECATED | ( | the_message | ) |
Definition at line 47 of file include/pinocchio/macros.hpp.
#define PINOCCHIO_PRAGMA_DEPRECATED_HEADER | ( | old_header, | |
new_header | |||
) |
Definition at line 48 of file include/pinocchio/macros.hpp.
#define PINOCCHIO_PRAGMA_MESSAGE | ( | the_message | ) |
Definition at line 45 of file include/pinocchio/macros.hpp.
#define PINOCCHIO_PRAGMA_WARNING | ( | the_message | ) |
Definition at line 46 of file include/pinocchio/macros.hpp.
#define PINOCCHIO_PRETTY_FUNCTION __PRETTY_FUNCTION__ |
Definition at line 152 of file include/pinocchio/macros.hpp.
#define PINOCCHIO_STATIC_ASSERT | ( | condition, | |
msg | |||
) |
Static assertion.
condition | a boolean convertible expression |
msg | a valid C++ variable name. |
Definition at line 85 of file include/pinocchio/macros.hpp.
#define PINOCCHIO_STRING_LITERAL | ( | string | ) | #string |
Definition at line 30 of file include/pinocchio/macros.hpp.
#define PINOCCHIO_THROW | ( | condition, | |
exception_type, | |||
message | |||
) |
Generic macro to throw an exception in Pinocchio if the condition is not met with a given input message.
Definition at line 158 of file include/pinocchio/macros.hpp.
#define PINOCCHIO_THROW_PRETTY | ( | exception, | |
message | |||
) |
Definition at line 164 of file include/pinocchio/macros.hpp.
#define PINOCCHIO_UNUSED_VARIABLE | ( | var | ) | (void)(var) |
Helper to declare that a parameter is unused.
Definition at line 72 of file include/pinocchio/macros.hpp.