|
Rapicorn - Experimental UI Toolkit - Source Code
13.07.0
|
#include <rcore/rapicornconfig.h>#include <stdbool.h>#include <stdarg.h>#include <stddef.h>#include <sys/types.h>#include <stdint.h>#include <limits.h>#include <float.h>#include <string>#include <vector>#include <map>Go to the source code of this file.
Classes | |
| struct | Rapicorn::Init |
| Simple helper class to call one-line lambda initializers as static constructor. More... | |
Namespaces | |
| namespace | Rapicorn |
The Rapicorn namespace encompasses core utilities and toolkit functionality. | |
Defines | |
| #define | FALSE |
| #define | TRUE |
| #define | RAPICORN_ABS(a) |
| #define | RAPICORN_MIN(a, b) |
| #define | RAPICORN_MAX(a, b) |
| #define | RAPICORN_CLAMP(v, mi, ma) |
| #define | RAPICORN_ARRAY_SIZE(array) |
| #define | ABS |
| #define | MIN |
| #define | MAX |
| #define | CLAMP |
| #define | ARRAY_SIZE |
| #define | EXTERN_C |
| #define | STRFUNC |
| #define | INT64_MAX |
| #define | INT64_MIN |
| #define | UINT64_MAX |
| #define | SIZE_T_MAX |
| #define | SSIZE_T_MAX |
| #define | RAPICORN__BOOL(expr) |
| #define | RAPICORN_ISLIKELY(expr) |
| #define | RAPICORN_UNLIKELY(expr) |
| #define | RAPICORN_LIKELY |
| #define | ISLIKELY |
| Compiler hint that expression is likely to be true. | |
| #define | UNLIKELY |
| Compiler hint that expression is unlikely to be true. | |
| #define | LIKELY |
| Compiler hint that expression is likely to be true. | |
| #define | STRINGIFY |
| Produces a const char C string from the macro argument. | |
| #define | RAPICORN_CONVENIENCE |
| Configuration macro to enable convenience macros. | |
| #define | RAPICORN_CPP_PASTE2_(a, b) |
| #define | RAPICORN_CPP_PASTE2(a, b) |
| #define | RAPICORN_CPP_STRINGIFY_(s) |
| #define | RAPICORN_CPP_STRINGIFY(s) |
| #define | RAPICORN_STATIC_ASSERT(expr) |
| Shorthand for static_assert (condition, "condition") | |
| #define | RAPICORN_PURE |
| #define | RAPICORN_MALLOC |
| #define | RAPICORN_PRINTF(format_idx, arg_idx) |
| #define | RAPICORN_SCANF(format_idx, arg_idx) |
| #define | RAPICORN_FORMAT(arg_idx) |
| #define | RAPICORN_SENTINEL |
| #define | RAPICORN_NORETURN |
| #define | RAPICORN_CONST |
| #define | RAPICORN_UNUSED |
| #define | RAPICORN_NO_INSTRUMENT |
| #define | RAPICORN_DEPRECATED |
| #define | RAPICORN_ALWAYS_INLINE |
| #define | RAPICORN_NOINLINE |
| #define | RAPICORN_CONSTRUCTOR |
| #define | RAPICORN_MAY_ALIAS |
| #define | RAPICORN_SIMPLE_FUNCTION |
| #define | RAPICORN_DIR_SEPARATOR |
| #define | RAPICORN_DIR_SEPARATOR_S |
| #define | RAPICORN_SEARCHPATH_SEPARATOR |
| #define | RAPICORN_SEARCHPATH_SEPARATOR_S |
| #define | RAPICORN_IS_ABSPATH(p) |
| #define | RAPICORN_CLASS_NON_COPYABLE(ClassName) |
Typedefs | |
| typedef unsigned int | uint |
| typedef uint8_t | Rapicorn::uint8 |
| An 8-bit unsigned integer. | |
| typedef uint16_t | Rapicorn::uint16 |
| A 16-bit unsigned integer. | |
| typedef uint32_t | Rapicorn::uint32 |
| A 32-bit unsigned integer. | |
| typedef uint64_t | Rapicorn::uint64 |
| A 64-bit unsigned integer, use PRI*64 in format strings. | |
| typedef int8_t | Rapicorn::int8 |
| An 8-bit signed integer. | |
| typedef int16_t | Rapicorn::int16 |
| A 16-bit signed integer. | |
| typedef int32_t | Rapicorn::int32 |
| A 32-bit signed integer. | |
| typedef int64_t | Rapicorn::int64 |
| A 64-bit unsigned integer, use PRI*64 in format strings. | |
| typedef uint32_t | Rapicorn::unichar |
| A 32-bit unsigned integer used for Unicode characters. | |
| typedef std::string | Rapicorn::String |
| Convenience alias for std::string. | |
| typedef vector< String > | Rapicorn::StringVector |
| Convenience alias for a std::vector<std::string>. | |
| typedef long long signed int | Rapicorn::LongIffy |
| LongIffy, ULongIffy, CastIffy, UCastIffy - types for 32bit/64bit overloading. | |
| typedef long long unsigned int | Rapicorn::ULongIffy |
| typedef int64_t | Rapicorn::CastIffy |
| typedef uint64_t | Rapicorn::UCastIffy |
Functions | |
| sizeof (uint) | |
| Rapicorn::sizeof (uint8) | |
| Rapicorn::sizeof (int8) | |
| Rapicorn::sizeof (int) | |
| #define RAPICORN_CONVENIENCE |
Configuration macro to enable convenience macros.
Defining this before inclusion of rapicorn.hh or rapicorn-core.hh enables several convenience macros that are defined in the global namespace without the usual "RAPICORN_" prefix, see e.g. critical_unless(), UNLIKELY().
1.7.6.1