sprint 1-alpha
Namespaces | Typedefs | Enumerations
sprint/io/type.h File Reference

io base types More...

Go to the source code of this file.

Namespaces

namespace  sprint
 

Sprint is a lightweight c++ library to handle different task with crossplatform attention (trying to compile both on MSVC and Mingw on WIn32 and GCC on Linux.


namespace  sprint::io
 

the sprint::io namespace, which contains API to read and write from various device


Typedefs

typedef int sprint::io::file_size_t
 32 bit file size: put here a 64 bit integer to switch to 64 bit version

Enumerations

enum  sprint::io::flag_t {
  def = 0, read = 1, write = 2, readwrite = 3,
  append = 4, create = 8
}
 Implement - Indipendent.
enum  sprint::io::state_t { unimplemented = 2, eof = -1, good = 0, error = 1 }
 return on state
enum  sprint::io::seek_t { start = 0, cur = 1, end = 2 }
 return on state
enum  sprint::io::caps_t { sprint::io::can_read = 1 << 0, sprint::io::can_write = 1 << 1, sprint::io::can_seek = 1 << 2, sprint::io::can_size = 1 << 3 }
 stream capabilities More...

Detailed Description

io base types

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines