2 #define _CSDBG_FILEBUF 1
54 virtual const i8*
path()
const;
virtual ~filebuf()
Object destructor.
This abstract class is the base for all buffered output stream types (for files, sockets, serial interfaces e.t.c)
virtual filebuf & flush()
Flush the buffered data to the file.
char i8
8-bit signed integer
virtual filebuf & seek_to(i32, bool=false)
Seek the file pointer to a new position.
virtual filebuf & operator=(const filebuf &)
Assignment operator.
Class csdbg::streambuf definition.
virtual filebuf * clone() const
Object virtual copy constructor.
virtual filebuf & open()
Open the file for output.
virtual filebuf & resize(u32)
Resize the file.
virtual filebuf & sync() const
Commit cached data to the file.
virtual const i8 * path() const
Get the output file path.
unsigned int u32
32-bit unsigned integer
int i32
32-bit signed integer
A buffered file output stream.
i8 * m_path
Output file path.
filebuf(const i8 *)
Object constructor.
static string * unique_id(const i8 *)
Create a unique ID based on process identifiers arranged as indicated by a printf-style format string...