41 static bool haveGzipSupport();
43 static bool haveBzip2Support();
65 virtual int read (
void *buffer,
int size) = 0;
76 virtual char *gets (
char *buffer,
int size) = 0;
93 static bool compressionSupported (
Compression compression);
119 virtual int write (
const void * buffer,
int size) = 0;
128 virtual bool puts (
const char *s);
131 inline bool puts (
const std::string &s)
133 return puts (s.c_str ());
144 bool fileAbsPath (
const std::string &path) ;
164 bool fileCoinReadable(std::string &name,
165 const std::string &dfltPrefix = std::string(
""));
bool puts(const std::string &s)
Convenience method: just a 'puts(s.c_str())'.
Base class for FileIO classes.
const char * getFileName() const
Return the name of the file used by this object.
Abstract base class for file output classes.
Compression
The compression method.
~CoinFileIOBase()
Destructor.
std::string getReadType() const
Return the method of reading being used.