mf
Media Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Static Public Attributes | List of all members
mf::elem_traits_base< Elem, Scalar, Components, Nullable > Struct Template Reference

Elem traits base class with the required members. More...

#include <elem.h>

Public Types

using scalar_type = Scalar
 

Static Public Attributes

static constexpr bool is_tuple = false
 
static constexpr std::size_t components = Components
 
static constexpr std::size_t stride = sizeof(Scalar)
 
static constexpr bool is_nullable = Nullable
 

Detailed Description

template<typename Elem, typename Scalar = Elem, std::size_t Components = 1, bool Nullable = false>
struct mf::elem_traits_base< Elem, Scalar, Components, Nullable >

Elem traits base class with the required members.

Member Typedef Documentation

template<typename Elem, typename Scalar = Elem, std::size_t Components = 1, bool Nullable = false>
using mf::elem_traits_base< Elem, Scalar, Components, Nullable >::scalar_type = Scalar

Member Data Documentation

template<typename Elem, typename Scalar = Elem, std::size_t Components = 1, bool Nullable = false>
constexpr std::size_t mf::elem_traits_base< Elem, Scalar, Components, Nullable >::components = Components
static
template<typename Elem, typename Scalar = Elem, std::size_t Components = 1, bool Nullable = false>
constexpr bool mf::elem_traits_base< Elem, Scalar, Components, Nullable >::is_nullable = Nullable
static
template<typename Elem, typename Scalar = Elem, std::size_t Components = 1, bool Nullable = false>
constexpr bool mf::elem_traits_base< Elem, Scalar, Components, Nullable >::is_tuple = false
static
template<typename Elem, typename Scalar = Elem, std::size_t Components = 1, bool Nullable = false>
constexpr std::size_t mf::elem_traits_base< Elem, Scalar, Components, Nullable >::stride = sizeof(Scalar)
static

The documentation for this struct was generated from the following file: