xdrpp
RFC4506 XDR compiler and message library
Public Member Functions | Public Attributes | List of all members
xdr::xdr_generic_get< Base > Struct Template Reference

Archive type for unmarshaling from a buffer. More...

#include <marshal.h>

Inheritance diagram for xdr::xdr_generic_get< Base >:
Inheritance graph
[legend]
Collaboration diagram for xdr::xdr_generic_get< Base >:
Collaboration graph
[legend]

Public Member Functions

 xdr_generic_get (const void *start, const void *end)
 
 xdr_generic_get (const msg_ptr &m)
 
void check (std::size_t n) const
 
template<typename T >
std::enable_if< std::is_same< std::uint32_t, typename xdr_traits< T >::uint_type >::value >::type operator() (T &t)
 
template<typename T >
std::enable_if< std::is_same< std::uint64_t, typename xdr_traits< T >::uint_type >::value >::type operator() (T &t)
 
template<typename T >
std::enable_if< xdr_traits< T >::is_bytes >::type operator() (T &t)
 
template<typename T >
std::enable_if< xdr_traits< T >::is_class||xdr_traits< T >::is_container >::type operator() (T &t)
 
void done ()
 

Public Attributes

const std::uint32_t * p_
 
const std::uint32_t *const e_
 

Detailed Description

template<typename Base>
struct xdr::xdr_generic_get< Base >

Archive type for unmarshaling from a buffer.

Depending on the Base type, will expect input in either big- or little-endian order.

Definition at line 130 of file marshal.h.


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