paludis  Version 2.6.0
List of all members
paludis::SafeOFStream Class Reference

#include <safe_ofstream.hh>

+ Inheritance diagram for paludis::SafeOFStream:

Basic operations

 SafeOFStream (const int fd, const bool buffer)
 
 SafeOFStream (const FSPath &, const int open_flags, const bool buffer)
 
 ~SafeOFStream () noexcept(false)
 

Additional Inherited Members

- Public Member Functions inherited from paludis::StreamHolder< std::ostream >
 StreamHolder (Args_ &&...args)
 
StreamHolder< std::ostream > & operator<< (T_ &&rhs)
 
ostream_type & operator<< (ostream_type &(*rhs)(ostream_type &))
 
ostream_type & operator<< (ios_type &(*rhs)(ios_type &))
 
ostream_type & operator<< (std::ios_base &(*rhs)(std::ios_base &))
 
bool operator! () const
 
 operator bool () const
 
 operator std::ostream & ()
 
 operator std::ostream * ()
 
- Protected Member Functions inherited from paludis::SafeOFStreamBase
 SafeOFStreamBase (const int fd, const bool buffer)
 
- Protected Member Functions inherited from paludis::StreamHolder< std::ostream >
 StreamHolder (Args_ &&...args)
 
StreamHolder< std::ostream > & operator<< (T_ &&rhs)
 
ostream_type & operator<< (ostream_type &(*rhs)(ostream_type &))
 
ostream_type & operator<< (ios_type &(*rhs)(ios_type &))
 
ostream_type & operator<< (std::ios_base &(*rhs)(std::ios_base &))
 
bool operator! () const
 
 operator bool () const
 
 operator std::ostream & ()
 
 operator std::ostream * ()
 
- Protected Attributes inherited from paludis::SafeOFStreamBase
SafeOFStreamBuf buf
 Our buffer.
 

Detailed Description

Output stream buffer class that can be opened via an FD, and that doesn't do retarded things when given a non-file.

Since
0.34.3

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