Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
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.

Definition at line 229 of file reader.h.

Constructor & Destructor Documentation

template<typename Stream >
internal::StreamLocalCopy< Stream, 1 >::StreamLocalCopy ( Stream &  original)
inline

Definition at line 231 of file reader.h.

231 : s(original), original_(original) {}
template<typename Stream >
internal::StreamLocalCopy< Stream, 1 >::~StreamLocalCopy ( )
inline

Definition at line 232 of file reader.h.

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

Definition at line 239 of file reader.h.

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

Definition at line 234 of file reader.h.


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