pupene  0.2.0
Public Member Functions | List of all members
pupene::BinaryPupper< Stream, PupStream > Class Template Reference

#include <binary-puppers.h>

Inheritance diagram for pupene::BinaryPupper< Stream, PupStream >:
Inheritance graph
[legend]

Public Member Functions

template<typename T >
PupPolicy begin (T &, const Meta &)
 
 BinaryPupper (Stream &stream)
 
void end (const Meta &)
 
template<typename T >
void pup (T &value, const Meta &)
 
 ~BinaryPupper () override=default
 
- Public Member Functions inherited from pupene::Pupper< BinaryPupper< Stream, PupStream > >
PupPolicy begin_impl (T &value, const Meta &meta)
 
void end_impl (const Meta &meta)
 
void pup_impl (T &value, const Meta &meta)
 
 Pupper ()=default
 
virtual ~Pupper ()=default
 

Detailed Description

template<typename Stream, typename PupStream>
class pupene::BinaryPupper< Stream, PupStream >

Template Parameters
Streame.g. std::istream, std::ostream
PupStreammust provide a static function pup(Stream&, T&)
See also
BinaryWriter
BinaryReader

Definition at line 34 of file binary-puppers.h.

Constructor & Destructor Documentation

◆ BinaryPupper()

template<typename Stream , typename PupStream >
pupene::BinaryPupper< Stream, PupStream >::BinaryPupper ( Stream &  stream)
inlineexplicit

Definition at line 36 of file binary-puppers.h.

Referenced by pupene::from_binary(), and pupene::to_binary().

◆ ~BinaryPupper()

template<typename Stream , typename PupStream >
pupene::BinaryPupper< Stream, PupStream >::~BinaryPupper ( )
overridedefault

Member Function Documentation

◆ begin()

template<typename Stream , typename PupStream >
template<typename T >
PupPolicy pupene::BinaryPupper< Stream, PupStream >::begin ( T &  ,
const Meta  
)
inline

Definition at line 41 of file binary-puppers.h.

References pupene::pup_object.

◆ end()

template<typename Stream , typename PupStream >
void pupene::BinaryPupper< Stream, PupStream >::end ( const Meta )
inline

Definition at line 54 of file binary-puppers.h.

◆ pup()

template<typename Stream , typename PupStream >
template<typename T >
void pupene::BinaryPupper< Stream, PupStream >::pup ( T &  value,
const Meta  
)
inline

Definition at line 46 of file binary-puppers.h.


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