Minetest 5.10.0-dev
 
Loading...
Searching...
No Matches
StreamProxy Class Reference

#include <log.h>

+ Collaboration diagram for StreamProxy:

Public Member Functions

 StreamProxy (std::ostream *os)
 
template<typename T >
StreamProxyoperator<< (T &&arg)
 
StreamProxyoperator<< (std::ostream &(*manip)(std::ostream &))
 

Private Attributes

std::ostream * m_os
 

Constructor & Destructor Documentation

◆ StreamProxy()

StreamProxy::StreamProxy ( std::ostream * os)
inline

Member Function Documentation

◆ operator<<() [1/2]

StreamProxy & StreamProxy::operator<< ( std::ostream &(* manip )(std::ostream &))
inline

References m_os.

◆ operator<<() [2/2]

template<typename T >
StreamProxy & StreamProxy::operator<< ( T && arg)
inline

References m_os.

Member Data Documentation

◆ m_os

std::ostream* StreamProxy::m_os
private

Referenced by operator<<(), and operator<<().


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