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

Archive type for marshaling to a buffer. More...

#include <marshal.h>

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

Public Member Functions

 xdr_generic_put (void *start, void *end)
 
 xdr_generic_put (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() (const T &t)
 
template<typename T >
std::enable_if< xdr_traits< T >::is_class||xdr_traits< T >::is_container >::type operator() (const T &t)
 

Public Attributes

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

Detailed Description

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

Archive type for marshaling to a buffer.

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

Definition at line 77 of file marshal.h.


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