xdrpp
RFC4506 XDR compiler and message library
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
xdr::xdr_integral_base< T, U > Struct Template Reference

Default traits for use as supertype of specializations of xdr_traits for integral types. More...

#include <types.h>

Inheritance diagram for xdr::xdr_integral_base< T, U >:
Inheritance graph
[legend]
Collaboration diagram for xdr::xdr_integral_base< T, U >:
Collaboration graph
[legend]

Public Types

using type = T
 
using uint_type = U
 

Static Public Member Functions

static Constexpr const std::size_t serial_size (type)
 
static uint_type to_uint (type t)
 
static type from_uint (uint_type u)
 

Static Public Attributes

static Constexpr const bool xdr_defined = false
 
static Constexpr const bool is_numeric = true
 
static Constexpr const bool has_fixed_size = true
 
static Constexpr const std::size_t fixed_size = sizeof(uint_type)
 
- Static Public Attributes inherited from xdr::xdr_traits_base
static Constexpr const bool valid = true
 
static Constexpr const bool xdr_defined = true
 
static Constexpr const bool is_bytes = false
 
static Constexpr const bool is_class = false
 
static Constexpr const bool is_enum = false
 
static Constexpr const bool is_container = false
 
static Constexpr const bool is_numeric = false
 
static Constexpr const bool is_struct = false
 
static Constexpr const bool is_union = false
 
static Constexpr const bool has_fixed_size = false
 

Detailed Description

template<typename T, typename U>
struct xdr::xdr_integral_base< T, U >

Default traits for use as supertype of specializations of xdr_traits for integral types.

Definition at line 229 of file types.h.


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