43 static bool haveGzipSupport();
45 static bool haveBzip2Support();
67 virtual int read(
void *buffer,
int size) = 0;
78 virtual char *gets(
char *buffer,
int size) = 0;
89 virtual int read(
void *buffer,
int size);
91 virtual char *gets(
char *buffer,
int size);
109 static bool compressionSupported(
Compression compression);
135 virtual int write(
const void *buffer,
int size) = 0;
144 virtual bool puts(
const char *s);
147 inline bool puts(
const std::string &s)
149 return puts(s.c_str());
160 bool fileAbsPath(
const std::string &path);
180 bool fileCoinReadable(std::string &name,
181 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.
std::string getReadType() const
Return the method of reading being used.
Abstract base class for file output classes.
Compression
The compression method.
const char * getFileName() const
Return the name of the file used by this object.
~CoinFileIOBase()
Destructor.