paludis Version 3.0.2
The one true package mangler
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)

Additional Inherited Members

 StreamHolder (Args_ &&... args)
StreamHolder< std::ostream > & operator<< (T_ &&rhs)
bool operator! () const
 operator bool () const
 operator std::ostream & ()
 operator std::ostream * ()
 SafeOFStreamBase (const int fd, const bool buffer)
 StreamHolder (Args_ &&... args)
StreamHolder< std::ostream > & operator<< (T_ &&rhs)
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: