My Project
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes
CxxTest::StdioFilePrinter::Adapter Class Reference

Public Member Functions

 Adapter (FILE *o)
 
void flush ()
 
OutputStreamoperator<< (unsigned i)
 
OutputStreamoperator<< (const char *s)
 
OutputStreamoperator<< (Manipulator m)
 
- Public Member Functions inherited from CxxTest::OutputStream
virtual ~OutputStream ()
 
virtual void flush ()
 
virtual OutputStreamoperator<< (unsigned)
 
virtual OutputStreamoperator<< (const char *)
 
virtual OutputStreamoperator<< (Manipulator m)
 

Private Member Functions

 Adapter (const Adapter &)
 
Adapteroperator= (const Adapter &)
 

Private Attributes

FILE * _o
 

Additional Inherited Members

- Public Types inherited from CxxTest::OutputStream
typedef void(* Manipulator) (OutputStream &)
 
- Static Public Member Functions inherited from CxxTest::OutputStream
static void endl (OutputStream &o)
 

Detailed Description

Definition at line 24 of file StdioFilePrinter.h.

Constructor & Destructor Documentation

◆ Adapter() [1/2]

CxxTest::StdioFilePrinter::Adapter::Adapter ( const Adapter )
private

◆ Adapter() [2/2]

CxxTest::StdioFilePrinter::Adapter::Adapter ( FILE *  o)
inline

Definition at line 32 of file StdioFilePrinter.h.

Member Function Documentation

◆ flush()

void CxxTest::StdioFilePrinter::Adapter::flush ( )
inlinevirtual

Reimplemented from CxxTest::OutputStream.

Definition at line 33 of file StdioFilePrinter.h.

33{ fflush( _o ); }

◆ operator<<() [1/3]

OutputStream & CxxTest::StdioFilePrinter::Adapter::operator<< ( const char *  s)
inlinevirtual

Reimplemented from CxxTest::OutputStream.

Definition at line 35 of file StdioFilePrinter.h.

35{ fputs( s, _o ); return *this; }
char * s
Definition: ValueTraits.h:143

◆ operator<<() [2/3]

OutputStream & CxxTest::StdioFilePrinter::Adapter::operator<< ( Manipulator  m)
inlinevirtual

Reimplemented from CxxTest::OutputStream.

Definition at line 36 of file StdioFilePrinter.h.

36{ return OutputStream::operator<<( m ); }
int m
Definition: cfEzgcd.cc:128
virtual OutputStream & operator<<(unsigned)

◆ operator<<() [3/3]

OutputStream & CxxTest::StdioFilePrinter::Adapter::operator<< ( unsigned  i)
inlinevirtual

Reimplemented from CxxTest::OutputStream.

Definition at line 34 of file StdioFilePrinter.h.

34{ fprintf( _o, "%u", i ); return *this; }
int i
Definition: cfEzgcd.cc:132

◆ operator=()

Adapter & CxxTest::StdioFilePrinter::Adapter::operator= ( const Adapter )
private

Field Documentation

◆ _o

FILE* CxxTest::StdioFilePrinter::Adapter::_o
private

Definition at line 29 of file StdioFilePrinter.h.


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