| 
    Jpp
    15.0.1
    
   the software that should make you happy 
   | 
 
Output file stream buffer. More...
#include <JFileStreamBuffer.hh>
  
 Public Types | |
| typedef traits_type::int_type | int_type | 
| typedef std::streamsize | streamsize | 
Public Member Functions | |
| JFileOutputStreamBuffer (const JAbstractFile &file, const std::size_t size=65536) | |
| Constructor.  More... | |
| virtual | ~JFileOutputStreamBuffer () | 
| Destructor.  More... | |
| virtual int_type | overflow (int_type c) override | 
| Check overflow.  More... | |
| virtual int | sync () override | 
| Synchronise buffer.  More... | |
| bool | out_avail (JTimeval timeout=JTimeval::min()) const | 
| Check availability of output.  More... | |
Protected Member Functions | |
| int | flush () | 
| Flush internal buffer.  More... | |
Protected Attributes | |
| JFile | out | 
Output file stream buffer.
Definition at line 108 of file JFileStreamBuffer.hh.
| typedef traits_type::int_type JLANG::JFileOutputStreamBuffer::int_type | 
Definition at line 115 of file JFileStreamBuffer.hh.
| typedef std::streamsize JLANG::JFileOutputStreamBuffer::streamsize | 
Definition at line 116 of file JFileStreamBuffer.hh.
      
  | 
  inline | 
Constructor.
| file | file | 
| size | size of internal buffer | 
Definition at line 125 of file JFileStreamBuffer.hh.
      
  | 
  inlinevirtual | 
Destructor.
Definition at line 140 of file JFileStreamBuffer.hh.
Check overflow.
This method writes one byte if possible.
| c | character | 
Definition at line 153 of file JFileStreamBuffer.hh.
      
  | 
  inlineoverridevirtual | 
Synchronise buffer.
Definition at line 173 of file JFileStreamBuffer.hh.
      
  | 
  inline | 
Check availability of output.
This method returns true if at least one byte can be written without blocking.
| timeout | timeout | 
Definition at line 189 of file JFileStreamBuffer.hh.
      
  | 
  inlineprotected | 
Flush internal buffer.
Definition at line 198 of file JFileStreamBuffer.hh.
      
  | 
  protected | 
Definition at line 215 of file JFileStreamBuffer.hh.
 1.8.5