NeoPZ
TPZGeneralFStream.h
Go to the documentation of this file.
1 #ifndef TPZGENERALFSTREAM_H
2 #define TPZGENERALFSTREAM_H
3 
4 #include "TPZStream.h"
5 
6 class TPZGeneralFStream : public TPZStream{
7  public:
8  virtual void OpenRead(const std::string &fileName) = 0;
9  virtual void OpenWrite(const std::string &fileName) = 0;
10 
11  virtual bool AmIOpenForRead() = 0;
12  virtual bool AmIOpenForWrite() = 0;
13 
14  virtual void CloseRead() = 0;
15  virtual void CloseWrite() = 0;
16 };
17 #endif//TPZGENERALFSTREAM_H
virtual bool AmIOpenForWrite()=0
virtual void OpenRead(const std::string &fileName)=0
virtual void OpenWrite(const std::string &fileName)=0
virtual bool AmIOpenForRead()=0
Contains declaration of the abstract TPZStream class. TPZStream defines the interface for saving and ...
virtual void CloseWrite()=0
Defines the interface for saving and reading data. Persistency.
Definition: TPZStream.h:50
virtual void CloseRead()=0