torc-master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
torc::common::NullOutputStream Class Reference

Output stream that discards everything it receives. More...

#include <NullOutputStream.hpp>

+ Inheritance diagram for torc::common::NullOutputStream:
+ Collaboration diagram for torc::common::NullOutputStream:

Public Member Functions

 NullOutputStream (void)
 Public constructor. More...
 

Protected Attributes

NullStreamBuffer mNullStreamBuf
 The null stream buffer that supports our operations. More...
 

Detailed Description

Output stream that discards everything it receives.

Definition at line 39 of file NullOutputStream.hpp.

Constructor & Destructor Documentation

torc::common::NullOutputStream::NullOutputStream ( void  )
inline

Public constructor.

Constructs this output stream with a null stream buffer.

Definition at line 48 of file NullOutputStream.hpp.

48 : std::ios(&mNullStreamBuf), std::ostream(&mNullStreamBuf) {}
NullStreamBuffer mNullStreamBuf
The null stream buffer that supports our operations.

Field Documentation

NullStreamBuffer torc::common::NullOutputStream::mNullStreamBuf
protected

The null stream buffer that supports our operations.

Definition at line 43 of file NullOutputStream.hpp.


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