|
Public Member Functions |
| virtual | ~File () |
| void | setFilename (const std::string &filename) |
| std::string | getFilename () const |
| virtual bool | open ()=0 |
| virtual bool | open (const std::string &filename)=0 |
| virtual bool | open (const char *filename)=0 |
| bool | isAccessible () |
| void | close () |
| | operator void * () const |
| bool | operator! () const |
Protected Member Functions |
| | File (std::ios::openmode mode) |
| | File (std::ios::openmode mode, const std::string &filename) |
| std::fstream & | read (char *c, std::streamsize count) |
| std::string | getline () |
Protected Attributes |
| std::fstream | myFile |
| std::string | myFilename |
| std::string | myComment |
Private Member Functions |
| | File () |
Private Attributes |
| std::ios::openmode | myMode |