Overview   API Reference  

file Struct Reference

Interface defining routines for generic file input/output. More...

#include <file.hpp>

Inheritance diagram for file:

Inheritance graph
[legend]

List of all members.

Public Types

typedef int32_t offset_t
 Type specifying an offset into files and their sizes.

Public Member Functions

 static_assert (is_signed< offset_t >::conforms,"offset_t must be a signed integer")
virtual ~file (void)
 Empty virtual destructor to enforce derived virtual destructors.
virtual int open (const std::string &filename, bool readonly=false)=0
virtual int close (void)=0
virtual const char * name (void) const =0
virtual bool is_open (void) const =0
virtual bool is_readonly (void) const =0
virtual offset_t size (void) const =0
virtual offset_t read (uint8_t *buffer, offset_t offset, offset_t number)=0
virtual offset_t write (uint8_t *buffer, offset_t offset, offset_t number)=0
virtual int flush (void)=0


Detailed Description

Interface defining routines for generic file input/output.
The documentation for this struct was generated from the following file:

L4vmm Reference Manual, written by Mario Schwalbe  © 2006-2008