Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
CSerializerStreamBuf< T > Class Template Reference

Wrapper for redirecting ostream writes to CBinarySerializer's impl. More...

#include <BinarySerializer.h>

Inheritance diagram for CSerializerStreamBuf< T >:
Collaboration diagram for CSerializerStreamBuf< T >:

Public Member Functions

 CSerializerStreamBuf (T &impl)
 

Protected Member Functions

int overflow (int ch)
 
int sync ()
 
std::streamsize xsputn (const char *s, std::streamsize n)
 

Private Member Functions

 NONCOPYABLE (CSerializerStreamBuf)
 

Private Attributes

Tm_SerializerImpl
 
char m_Buffer [2048]
 

Detailed Description

template<typename T>
class CSerializerStreamBuf< T >

Wrapper for redirecting ostream writes to CBinarySerializer's impl.

Constructor & Destructor Documentation

◆ CSerializerStreamBuf()

template<typename T >
CSerializerStreamBuf< T >::CSerializerStreamBuf ( T impl)
inline

Member Function Documentation

◆ NONCOPYABLE()

template<typename T >
CSerializerStreamBuf< T >::NONCOPYABLE ( CSerializerStreamBuf< T )
private

◆ overflow()

template<typename T >
int CSerializerStreamBuf< T >::overflow ( int  ch)
inlineprotected

◆ sync()

template<typename T >
int CSerializerStreamBuf< T >::sync ( )
inlineprotected

◆ xsputn()

template<typename T >
std::streamsize CSerializerStreamBuf< T >::xsputn ( const char *  s,
std::streamsize  n 
)
inlineprotected

Member Data Documentation

◆ m_Buffer

template<typename T >
char CSerializerStreamBuf< T >::m_Buffer[2048]
private

◆ m_SerializerImpl

template<typename T >
T& CSerializerStreamBuf< T >::m_SerializerImpl
private

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