util::FakeOStream< Derived > Class Template Reference

#include <fake_ostream.hh>

Inheritance diagram for util::FakeOStream< Derived >:

Inheritance graph
[legend]

List of all members.

Classes

struct  Coerce
struct  Coerce< From, 2, false, true >
struct  Coerce< From, 2, true, true >
struct  Coerce< From, 4, false, true >
struct  Coerce< From, 4, true, true >
struct  Coerce< From, 8, false, true >
struct  Coerce< From, 8, true, true >
struct  EnableIfKludge

Public Member Functions

 FakeOStream ()
Derived & operator<< (StringPiece str)
template<class From >
EnableIfKludge< typename
Coerce< From >::To >::type & 
operator<< (const From value)
Derived & operator<< (char val)
Derived & operator<< (signed char val)
Derived & operator<< (unsigned char val)
Derived & operator<< (bool val)
Derived & operator<< (int val)
Derived & operator<< (float val)
Derived & operator<< (double val)
Derived & operator<< (const void *value)
Derived & operator<< (const char *value)
Derived & operator<< (char *value)
Derived & put (char val)
char widen (char val) const


Detailed Description

template<class Derived>
class util::FakeOStream< Derived >

Definition at line 36 of file fake_ostream.hh.


Constructor & Destructor Documentation

template<class Derived>
util::FakeOStream< Derived >::FakeOStream (  )  [inline]

Definition at line 38 of file fake_ostream.hh.


Member Function Documentation

template<class Derived>
Derived& util::FakeOStream< Derived >::operator<< ( char *  value  )  [inline]

Definition at line 80 of file fake_ostream.hh.

template<class Derived>
Derived& util::FakeOStream< Derived >::operator<< ( const char *  value  )  [inline]

Definition at line 79 of file fake_ostream.hh.

template<class Derived>
Derived& util::FakeOStream< Derived >::operator<< ( const void *  value  )  [inline]

Definition at line 77 of file fake_ostream.hh.

template<class Derived>
Derived& util::FakeOStream< Derived >::operator<< ( double  val  )  [inline]

Definition at line 74 of file fake_ostream.hh.

template<class Derived>
Derived& util::FakeOStream< Derived >::operator<< ( float  val  )  [inline]

Definition at line 73 of file fake_ostream.hh.

template<class Derived>
Derived& util::FakeOStream< Derived >::operator<< ( int  val  )  [inline]

Definition at line 71 of file fake_ostream.hh.

template<class Derived>
Derived& util::FakeOStream< Derived >::operator<< ( bool  val  )  [inline]

Definition at line 69 of file fake_ostream.hh.

template<class Derived>
Derived& util::FakeOStream< Derived >::operator<< ( unsigned char  val  )  [inline]

Definition at line 67 of file fake_ostream.hh.

template<class Derived>
Derived& util::FakeOStream< Derived >::operator<< ( signed char  val  )  [inline]

Definition at line 66 of file fake_ostream.hh.

template<class Derived>
Derived& util::FakeOStream< Derived >::operator<< ( char  val  )  [inline]

Definition at line 65 of file fake_ostream.hh.

template<class Derived>
template<class From >
EnableIfKludge<typename Coerce<From>::To>::type& util::FakeOStream< Derived >::operator<< ( const From  value  )  [inline]

Definition at line 60 of file fake_ostream.hh.

template<class Derived>
Derived& util::FakeOStream< Derived >::operator<< ( StringPiece  str  )  [inline]

Definition at line 41 of file fake_ostream.hh.

template<class Derived>
Derived& util::FakeOStream< Derived >::put ( char  val  )  [inline]

Definition at line 82 of file fake_ostream.hh.

Referenced by util::FakeOStream< StringStream >::operator<<().

Here is the caller graph for this function:

template<class Derived>
char util::FakeOStream< Derived >::widen ( char  val  )  const [inline]

Definition at line 89 of file fake_ostream.hh.


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

Generated on Thu Jul 6 00:34:49 2017 for Moses by  doxygen 1.5.9