Electroneum
OStreamWrapper Class Reference

Public Types

typedef char Ch
 
typedef char Ch
 

Public Member Functions

 OStreamWrapper (std::ostream &os)
 
Ch Peek () const
 
Ch Take ()
 
size_t Tell () const
 
ChPutBegin ()
 
void Put (Ch c)
 
void Flush ()
 
size_t PutEnd (Ch *)
 
 OStreamWrapper (std::ostream &os)
 
Ch Peek () const
 
Ch Take ()
 
size_t Tell () const
 
ChPutBegin ()
 
void Put (Ch c)
 
void Flush ()
 
size_t PutEnd (Ch *)
 

Detailed Description

Definition at line 128 of file prettywritertest.cpp.

Member Typedef Documentation

◆ Ch [1/2]

typedef char OStreamWrapper::Ch

Definition at line 130 of file prettywritertest.cpp.

◆ Ch [2/2]

typedef char OStreamWrapper::Ch

Definition at line 201 of file writertest.cpp.

Constructor & Destructor Documentation

◆ OStreamWrapper() [1/2]

OStreamWrapper::OStreamWrapper ( std::ostream &  os)
inline

Definition at line 132 of file prettywritertest.cpp.

132 : os_(os) {}

◆ OStreamWrapper() [2/2]

OStreamWrapper::OStreamWrapper ( std::ostream &  os)
inline

Definition at line 203 of file writertest.cpp.

203 : os_(os) {}

Member Function Documentation

◆ Flush() [1/2]

void OStreamWrapper::Flush ( )
inline

Definition at line 140 of file prettywritertest.cpp.

140 { os_.flush(); }
Here is the caller graph for this function:

◆ Flush() [2/2]

void OStreamWrapper::Flush ( )
inline

Definition at line 211 of file writertest.cpp.

211 { os_.flush(); }

◆ Peek() [1/2]

Ch OStreamWrapper::Peek ( ) const
inline

Definition at line 134 of file prettywritertest.cpp.

134 { assert(false); return '\0'; }

◆ Peek() [2/2]

Ch OStreamWrapper::Peek ( ) const
inline

Definition at line 205 of file writertest.cpp.

205 { assert(false); return '\0'; }

◆ Put() [1/2]

void OStreamWrapper::Put ( Ch  c)
inline

Definition at line 139 of file prettywritertest.cpp.

139 { os_.put(c); }
Here is the caller graph for this function:

◆ Put() [2/2]

void OStreamWrapper::Put ( Ch  c)
inline

Definition at line 210 of file writertest.cpp.

210 { os_.put(c); }

◆ PutBegin() [1/2]

Ch* OStreamWrapper::PutBegin ( )
inline

Definition at line 138 of file prettywritertest.cpp.

138 { assert(false); return 0; }

◆ PutBegin() [2/2]

Ch* OStreamWrapper::PutBegin ( )
inline

Definition at line 209 of file writertest.cpp.

209 { assert(false); return 0; }

◆ PutEnd() [1/2]

size_t OStreamWrapper::PutEnd ( Ch )
inline

Definition at line 141 of file prettywritertest.cpp.

141 { assert(false); return 0; }

◆ PutEnd() [2/2]

size_t OStreamWrapper::PutEnd ( Ch )
inline

Definition at line 212 of file writertest.cpp.

212 { assert(false); return 0; }

◆ Take() [1/2]

Ch OStreamWrapper::Take ( )
inline

Definition at line 135 of file prettywritertest.cpp.

135 { assert(false); return '\0'; }

◆ Take() [2/2]

Ch OStreamWrapper::Take ( )
inline

Definition at line 206 of file writertest.cpp.

206 { assert(false); return '\0'; }

◆ Tell() [1/2]

size_t OStreamWrapper::Tell ( ) const
inline

Definition at line 136 of file prettywritertest.cpp.

136 { return 0; }

◆ Tell() [2/2]

size_t OStreamWrapper::Tell ( ) const
inline

Definition at line 207 of file writertest.cpp.

207 { return 0; }

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