

This class provides common functionality for the handling of FILE*.
Definition at line 62 of file cdrfile.h.
| OSB_LIB::FileBase::FileBase | ( | ) |
Default constructor.
| virtual OSB_LIB::FileBase::~FileBase | ( | ) | [virtual] |
Destructor: closes file_ if open.
| OSB_LIB::FileBase::FileBase | ( | const FileBase & | ) | [private] |
Prevent copying: not implemented.
| virtual int OSB_LIB::FileBase::close | ( | ) | [virtual] |
Close the file.
Reimplemented in OSB_LIB::CdrOutputFile.
| const std::string& OSB_LIB::FileBase::dir | ( | ) | const |
Directory of file.
| bool OSB_LIB::FileBase::eof | ( | ) |
| bool OSB_LIB::FileBase::error | ( | ) |
| FILE* OSB_LIB::FileBase::file | ( | ) |
Access to the FILE* pointer.
| bool OSB_LIB::FileBase::isOpen | ( | ) | const |
Input file open?
| const std::string& OSB_LIB::FileBase::name | ( | ) | const |
Name of file.
| int OSB_LIB::FileBase::open | ( | const std::string & | dir, | |
| const std::string & | name, | |||
| const char * | mode | |||
| ) | [protected] |
Prevent assignment: not implemented.
| const std::string OSB_LIB::FileBase::path | ( | ) | const |
| int OSB_LIB::FileBase::remove | ( | ) |
| int OSB_LIB::FileBase::rename | ( | const std::string & | newName | ) |
Rename the file.
| newName | New name of the output file. |
std::string OSB_LIB::FileBase::dir_ [protected] |
FILE* OSB_LIB::FileBase::file_ [protected] |
std::string OSB_LIB::FileBase::name_ [protected] |
1.4.7