1 #ifndef __JIO__JFILESTREAMIO__ 
    2 #define __JIO__JFILESTREAMIO__ 
   15 namespace JPP { 
using namespace JIO; }
 
   28     using JAbstractObjectStatus::operator bool;
 
   29     using JAbstractObjectStatus::operator!;
 
   30     using JReader::operator>>;
 
   49                       const int   size = 1048576) :
 
   62     void open(
const char* file_name)
 
   64       static_cast<std::ifstream*
>(
this)->
open(file_name, std::ios::binary);
 
   78     using JAbstractObjectStatus::operator bool;
 
   79     using JAbstractObjectStatus::operator!;
 
   80     using JWriter::operator<<;
 
   99                       const int   size = 1048576) :
 
  112     void open(
const char* file_name)
 
  114       static_cast<std::ofstream*
>(
this)->
open(file_name, std::ios::binary);
 
  124       static_cast<std::ofstream*
>  (
this)->
close();
 
JFileStreamWriter()
Default constructor. 
 
void open(const char *file_name)
Open file. 
 
Binary input based on std::istream. 
 
JFileStreamReader()
Default constructor. 
 
void open(const char *file_name)
Open file. 
 
JFileStreamReader(const char *file_name, const int size=1048576)
Constructor. 
 
int size
size of internal buffer 
 
int size
size of internal buffer 
 
JFileStreamWriter(const char *file_name, const int size=1048576)
Constructor. 
 
Binary buffered file output. 
 
Binary buffered file input. 
 
Binary output based on std::ostream. 
 
void flush()
Write internal data to output.