TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
internal::StreamLocalCopy< Stream, 1 > Class Template Reference

Do copy optimization. More...

#include <reader.h>

Public Member Functions

 StreamLocalCopy (Stream &original)
 
 ~StreamLocalCopy ()
 

Public Attributes

Stream s
 

Private Member Functions

StreamLocalCopyoperator= (const StreamLocalCopy &)
 

Private Attributes

Stream & original_
 

Detailed Description

template<typename Stream>
class internal::StreamLocalCopy< Stream, 1 >

Do copy optimization.

Constructor & Destructor Documentation

template<typename Stream >
internal::StreamLocalCopy< Stream, 1 >::StreamLocalCopy ( Stream &  original)
inline
214 : s(original), original_(original) {}
Stream s
Definition: reader.h:217
Stream & original_
Definition: reader.h:222
template<typename Stream >
internal::StreamLocalCopy< Stream, 1 >::~StreamLocalCopy ( )
inline
215 { original_ = s; }
Stream s
Definition: reader.h:217
Stream & original_
Definition: reader.h:222

Member Function Documentation

template<typename Stream >
StreamLocalCopy& internal::StreamLocalCopy< Stream, 1 >::operator= ( const StreamLocalCopy< Stream, 1 > &  )
private

Member Data Documentation

template<typename Stream >
Stream& internal::StreamLocalCopy< Stream, 1 >::original_
private
template<typename Stream >
Stream internal::StreamLocalCopy< Stream, 1 >::s

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