COOPY » Guide
version 0.6.5
|
#include <FileIO.h>
Public Member Functions | |
FileIO () | |
virtual | ~FileIO () |
bool | open (const char *src, const Property &config) |
bool | openForWrite (const char *dest, const Property &config) |
bool | close () |
size_t | fread (void *ptr, size_t size, size_t nmemb) |
bool | isPiped () |
bool | isValid () |
bool | openAndWrite (const std::string &txt, const Property &config) |
FILE * | get () |
virtual coopy::store::FileIO::~FileIO | ( | ) | [inline, virtual] |
bool FileIO::close | ( | ) |
size_t FileIO::fread | ( | void * | ptr, |
size_t | size, | ||
size_t | nmemb | ||
) |
Definition at line 80 of file FileIO.cpp.
References NULL.
Referenced by coopy::format::FormatSniffer::wrap().
FILE* coopy::store::FileIO::get | ( | ) | [inline] |
bool coopy::store::FileIO::isValid | ( | ) | [inline] |
bool FileIO::open | ( | const char * | src, |
const Property & | config | ||
) |
Definition at line 22 of file FileIO.cpp.
References coopy::store::Value::asString(), dbg_printf, coopy::store::Property::get(), and NULL.
bool FileIO::openAndWrite | ( | const std::string & | txt, |
const Property & | config | ||
) |
Definition at line 97 of file FileIO.cpp.
References coopy::store::Value::asString(), coopy::store::Property::get(), and NULL.
Referenced by coopy::store::socialcalc::SocialCalcTextBook::write().
bool FileIO::openForWrite | ( | const char * | dest, |
const Property & | config | ||
) |