OSVR-Core  0.6-1962-g59773924
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
SizedInt.h File Reference

Header providing an integer type by size. More...

#include <cstdint>
#include <cstddef>

Go to the source code of this file.

Classes

struct  osvr::util::detail::sized_int< bytes, isSigned >
 
struct  osvr::util::detail::sized_int< ERROR_SPECIALIZATION_SIZE, isSigned >
 Case to catch those who exceed the max size. More...
 
struct  osvr::util::detail::sized_int< bytes, isSigned >
 

Namespaces

 osvr
 The main namespace for all C++ elements of the framework, internal and external.
 
 osvr::util
 The Util library: Functionality not necessarily coupled to any particular core library, serving more as a common base layer behind all systems.
 

Macros

#define OSVR_INT_TRAITS(BITS)
 Set up specializations for the standard int types.
 

Typedefs

template<std::size_t minBytes, bool isSigned = false>
using osvr::util::sized_int_t = typename detail::sized_int< minBytes, isSigned >::type
 

Detailed Description

Header providing an integer type by size.

Date
2016
Author
Sensics, Inc. http://sensics.com/osvr

Definition in file SizedInt.h.