Provides a streamer which discards all inputs. Similar in effect to a redirection to /dev/null. Used if logging is disabled. More...
#include <iosfwd>#include <memory>Go to the source code of this file.
Classes | |
| struct | viennashe::log::nullstream | 
| Streaming class which only provides operator<< discarding the right hand side.  More... | |
Namespaces | |
| namespace | viennashe | 
| The main ViennaSHE namespace. All functionality resides inside this namespace.  | |
| namespace | viennashe::log | 
| Namespace holding the logging facility.  | |
Functions | |
| nullstream & | viennashe::log::get_nullstream () | 
| Singleton factory for nullstream.  More... | |
| template<typename T > | |
| nullstream & | viennashe::log::operator<< (nullstream &s, T const &) | 
| Generic shift left operator. Throws anything it gets away.  More... | |
| nullstream & | viennashe::log::operator<< (nullstream &s, const std::string &) | 
| Specialization of the generic template function. Returns same as get_nullstream(). Does nothing.  More... | |
| nullstream & | viennashe::log::operator<< (nullstream &s, const char *) | 
| Specialization of the generic template function. Returns same as get_nullstream(). Does nothing.  More... | |
| nullstream & | viennashe::log::operator<< (nullstream &s, std::ostream &(std::ostream &)) | 
| Specialization of the generic template function for std::endl. Returns same as get_nullstream(). Does nothing.  More... | |
Provides a streamer which discards all inputs. Similar in effect to a redirection to /dev/null. Used if logging is disabled.
Definition in file nullstream.hpp.