Hasty Badger
Small UI library (a branch of Turbo Badger)
|
TBFile is a portable interface for file access. More...
#include <tb_system.h>
Public Types | |
enum | TBFileMode { MODE_READ, MODE_WRITETRUNC } |
Public Member Functions | |
virtual long | Size ()=0 |
virtual size_t | Read (void *buf, size_t elemSize, size_t count)=0 |
virtual size_t | Write (const void *buf, size_t elemSize, size_t count)=0 |
virtual size_t | Write (const TBStr &str)=0 |
Static Public Member Functions | |
static TBFile * | Open (const TBStr &filename, TBFileMode mode) |
TBFile is a portable interface for file access.