| 
    Jpp
    
   | 
 
Binary buffered file output. More...
#include <JFileStreamIO.hh>
  
Public Member Functions | |
| JFileStreamWriter () | |
| Default constructor.  More... | |
| JFileStreamWriter (const char *file_name, const int size=1048576) | |
| Constructor.  More... | |
| void | open (const char *file_name) | 
| Open file.  More... | |
| void | close () | 
| Close file.  More... | |
| bool | operator! () const | 
| Negated status of this object.  More... | |
| JWriter & | operator<< (const JSerialisable &object) | 
| Write serialisable data object.  More... | |
| JWriter & | operator<< (const bool &value) | 
| JWriter & | operator<< (const char &value) | 
| JWriter & | operator<< (const unsigned char &value) | 
| JWriter & | operator<< (const short &value) | 
| JWriter & | operator<< (const unsigned short &value) | 
| JWriter & | operator<< (const int &value) | 
| JWriter & | operator<< (const unsigned int &value) | 
| JWriter & | operator<< (const long int &value) | 
| JWriter & | operator<< (const long long int &value) | 
| JWriter & | operator<< (const unsigned long long int &value) | 
| JWriter & | operator<< (const float &value) | 
| JWriter & | operator<< (const double &value) | 
| JWriter & | operator<< (const long double &value) | 
| virtual bool | getStatus () const | 
| Status of writer.  More... | |
| virtual int | write (const char *zbuf, int n) | 
| Write byte array.  More... | |
| void | flush () | 
| Write internal data to output.  More... | |
| JWriter & | operator<< (const JSerialisable &object) | 
| Write serialisable data object.  More... | |
| JWriter & | operator<< (const bool &value) | 
| JWriter & | operator<< (const char &value) | 
| JWriter & | operator<< (const unsigned char &value) | 
| JWriter & | operator<< (const short &value) | 
| JWriter & | operator<< (const unsigned short &value) | 
| JWriter & | operator<< (const int &value) | 
| JWriter & | operator<< (const unsigned int &value) | 
| JWriter & | operator<< (const long int &value) | 
| JWriter & | operator<< (const long long int &value) | 
| JWriter & | operator<< (const unsigned long long int &value) | 
| JWriter & | operator<< (const float &value) | 
| JWriter & | operator<< (const double &value) | 
| JWriter & | operator<< (const long double &value) | 
| JWriter & | store (const JSerialisable &object) | 
| Write object.  More... | |
| template<class T > | |
| JWriter & | store (const T &object) | 
| Write object.  More... | |
| operator bool () const | |
| Type conversion operator.  More... | |
| bool | operator! () const | 
| Negated status of this object.  More... | |
Protected Attributes | |
| JLANG::JSinglePointer< JWriter > | out | 
| char * | buffer | 
| internal buffer  More... | |
| int | size | 
| size of internal buffer  More... | |
| int | pos | 
| pointer to end of buffered data  More... | |
Binary buffered file output.
Definition at line 72 of file JFileStreamIO.hh.
      
  | 
  inline | 
      
  | 
  inline | 
Constructor.
| file_name | file name | 
| size | size of internal buffer | 
Definition at line 98 of file JFileStreamIO.hh.
      
  | 
  inline | 
      
  | 
  inline | 
Close file.
Definition at line 121 of file JFileStreamIO.hh.
      
  | 
  inline | 
Negated status of this object.
Definition at line 44 of file JAbstractObjectStatus.hh.
      
  | 
  inline | 
Write serialisable data object.
| object | serialisable data object | 
Definition at line 141 of file JSerialisable.hh.
      
  | 
  inline | 
Definition at line 147 of file JSerialisable.hh.
      
  | 
  inline | 
Definition at line 148 of file JSerialisable.hh.
      
  | 
  inline | 
Definition at line 149 of file JSerialisable.hh.
      
  | 
  inline | 
Definition at line 150 of file JSerialisable.hh.
      
  | 
  inline | 
Definition at line 151 of file JSerialisable.hh.
      
  | 
  inline | 
Definition at line 152 of file JSerialisable.hh.
      
  | 
  inline | 
Definition at line 153 of file JSerialisable.hh.
      
  | 
  inline | 
Definition at line 154 of file JSerialisable.hh.
      
  | 
  inline | 
Definition at line 155 of file JSerialisable.hh.
      
  | 
  inline | 
Definition at line 156 of file JSerialisable.hh.
      
  | 
  inline | 
Definition at line 157 of file JSerialisable.hh.
      
  | 
  inline | 
Definition at line 158 of file JSerialisable.hh.
      
  | 
  inline | 
Definition at line 159 of file JSerialisable.hh.
      
  | 
  inlinevirtualinherited | 
Status of writer.
Implements JLANG::JAbstractObjectStatus.
Definition at line 175 of file JBufferedIO.hh.
      
  | 
  inlinevirtualinherited | 
Write byte array.
| zbuf | pointer to byte array | 
| n | number of bytes | 
Implements JLANG::JBinaryOutput.
Definition at line 188 of file JBufferedIO.hh.
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
Write serialisable data object.
| object | serialisable data object | 
Definition at line 141 of file JSerialisable.hh.
      
  | 
  inlineinherited | 
Definition at line 147 of file JSerialisable.hh.
      
  | 
  inlineinherited | 
Definition at line 148 of file JSerialisable.hh.
      
  | 
  inlineinherited | 
Definition at line 149 of file JSerialisable.hh.
      
  | 
  inlineinherited | 
Definition at line 150 of file JSerialisable.hh.
      
  | 
  inlineinherited | 
Definition at line 151 of file JSerialisable.hh.
      
  | 
  inlineinherited | 
Definition at line 152 of file JSerialisable.hh.
      
  | 
  inlineinherited | 
Definition at line 153 of file JSerialisable.hh.
      
  | 
  inlineinherited | 
Definition at line 154 of file JSerialisable.hh.
      
  | 
  inlineinherited | 
Definition at line 155 of file JSerialisable.hh.
      
  | 
  inlineinherited | 
Definition at line 156 of file JSerialisable.hh.
      
  | 
  inlineinherited | 
Definition at line 157 of file JSerialisable.hh.
      
  | 
  inlineinherited | 
Definition at line 158 of file JSerialisable.hh.
      
  | 
  inlineinherited | 
Definition at line 159 of file JSerialisable.hh.
      
  | 
  inlineinherited | 
Write object.
| object | object | 
Definition at line 168 of file JSerialisable.hh.
      
  | 
  inlineinherited | 
Write object.
| object | object | 
Definition at line 181 of file JSerialisable.hh.
      
  | 
  inlineinherited | 
Type conversion operator.
Definition at line 33 of file JAbstractObjectStatus.hh.
      
  | 
  inlineinherited | 
Negated status of this object.
Definition at line 44 of file JAbstractObjectStatus.hh.
      
  | 
  protectedinherited | 
Definition at line 223 of file JBufferedIO.hh.
      
  | 
  protectedinherited | 
internal buffer
Definition at line 225 of file JBufferedIO.hh.
      
  | 
  protectedinherited | 
size of internal buffer
Definition at line 226 of file JBufferedIO.hh.
      
  | 
  protectedinherited | 
pointer to end of buffered data
Definition at line 227 of file JBufferedIO.hh.
 1.8.16