![]() |
Fixposition SDK 0.0.0-heads/main-0-gfaec355
Collection of c++ libraries and apps for use with Fixposition products
|
Fixposition SDK: Common types and type helpers. More...
#include <array>
#include <cstdint>
#include <type_traits>
Go to the source code of this file.
Classes | |
class | fpsdk::common::types::NoCopyNoMove |
Base class to prevent copy or move. More... | |
Namespaces | |
namespace | fpsdk |
Fixposition SDK. | |
namespace | fpsdk::common |
Fixposition SDK: Common library. | |
namespace | fpsdk::common::types |
Common types. | |
Macros | |
#define | UNUSED(thing) |
Mark variable as unused to silence compiler warnings. | |
#define | STRINGIFY(x) |
Preprocessor stringification. | |
#define | CONCAT(a, b) |
Preprocessor concatenation. | |
#define | SIZEOF_FIELD(_type_, _member_) sizeof((((_type_*)NULL)->_member_)) |
Size of struct member. | |
Functions | |
template<typename T , typename = typename std::enable_if<std::is_enum<T>::value, T>::type> | |
constexpr std::underlying_type< T >::type | fpsdk::common::types::EnumToVal (T enum_val) |
Convert enum class constant to the underlying integral type value. | |
template<typename T > | |
constexpr std::size_t | fpsdk::common::types::NumOf (const T &arr) |
Get number of elements in array variable. | |
template<typename T > | |
constexpr std::size_t | fpsdk::common::types::NumOf () |
Get number of elements in array type. | |
Fixposition SDK: Common types and type helpers.
* ___ ___ * \ \ / / * \ \/ / Copyright (c) Fixposition AG (www.fixposition.com) and contributors * / /\ \ License: see the LICENSE file * /__/ \__\ *
Definition in file types.hpp.
#define UNUSED | ( | thing | ) |