My Project
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions
CxxTest::OutputStream Class Reference

#include <ErrorFormatter.h>

Public Types

typedef void(* Manipulator) (OutputStream &)
 

Public Member Functions

virtual ~OutputStream ()
 
virtual void flush ()
 
virtual OutputStreamoperator<< (unsigned)
 
virtual OutputStreamoperator<< (const char *)
 
virtual OutputStreamoperator<< (Manipulator m)
 

Static Public Member Functions

static void endl (OutputStream &o)
 

Detailed Description

Definition at line 19 of file ErrorFormatter.h.

Member Typedef Documentation

◆ Manipulator

typedef void(* CxxTest::OutputStream::Manipulator) (OutputStream &)

Definition at line 27 of file ErrorFormatter.h.

Constructor & Destructor Documentation

◆ ~OutputStream()

virtual CxxTest::OutputStream::~OutputStream ( )
inlinevirtual

Definition at line 22 of file ErrorFormatter.h.

22{}

Member Function Documentation

◆ endl()

static void CxxTest::OutputStream::endl ( OutputStream o)
inlinestatic

Definition at line 30 of file ErrorFormatter.h.

30{ (o << "\n").flush(); }
virtual void flush()

◆ flush()

virtual void CxxTest::OutputStream::flush ( )
inlinevirtual

Reimplemented in CxxTest::ErrorPrinter::Adapter, and CxxTest::StdioFilePrinter::Adapter.

Definition at line 23 of file ErrorFormatter.h.

23{};

◆ operator<<() [1/3]

virtual OutputStream & CxxTest::OutputStream::operator<< ( const char *  )
inlinevirtual

Reimplemented in CxxTest::ErrorPrinter::Adapter, and CxxTest::StdioFilePrinter::Adapter.

Definition at line 25 of file ErrorFormatter.h.

25{ return *this; }

◆ operator<<() [2/3]

virtual OutputStream & CxxTest::OutputStream::operator<< ( Manipulator  m)
inlinevirtual

Reimplemented in CxxTest::ErrorPrinter::Adapter, and CxxTest::StdioFilePrinter::Adapter.

Definition at line 29 of file ErrorFormatter.h.

29{ m( *this ); return *this; }
int m
Definition: cfEzgcd.cc:128

◆ operator<<() [3/3]

virtual OutputStream & CxxTest::OutputStream::operator<< ( unsigned  )
inlinevirtual

Reimplemented in CxxTest::ErrorPrinter::Adapter, and CxxTest::StdioFilePrinter::Adapter.

Definition at line 24 of file ErrorFormatter.h.

24{ return *this; }

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