Evo C++ Library v0.5.1
Classes | Namespaces | Macros | Enumerations | Functions
sysio.h File Reference

Evo system I/O implementation. More...

#include "rawbuffer.h"
#include "../string.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>

Go to the source code of this file.

Classes

class  IoDevice
 I/O device base class for streams. More...
 
struct  IoFile
 File I/O device (used internally). More...
 
struct  IoReader
 Buffered reader for IoDevice (used internally). More...
 
struct  IoWriter
 Buffered writer for IoDevice (used internally). More...
 
struct  SysLinuxIo
 

Namespaces

 evo
 Evo C++ Library namespace.
 

Macros

#define INCL_evo_impl_sysio_h
 

Enumerations

enum  Open {
  oREAD = O_RDONLY, oREAD_WRITE = O_RDWR, oREAD_WRITE_NEW = O_RDWR | O_CREAT | O_TRUNC, oREAD_APPEND = O_RDWR | O_APPEND,
  oREAD_APPEND_NEW = O_RDWR | O_APPEND | O_CREAT | O_TRUNC, oWRITE = O_WRONLY, oWRITE_NEW = O_WRONLY | O_CREAT | O_TRUNC, oAPPEND = O_WRONLY | O_CREAT | O_APPEND,
  oAPPEND_NEW = O_WRONLY | O_APPEND | O_CREAT | O_TRUNC
}
 Open mode for files and streams. More...
 
enum  Seek { sBegin = SEEK_SET, sCurrent = SEEK_CUR, sEnd = SEEK_END }
 Seek starting position. More...
 

Functions

bool open_readable (Open open)
 Check whether open mode is readable. More...
 
bool open_writable (Open open)
 Check whether open mode is writable. More...
 

Detailed Description

Evo system I/O implementation.

Macro Definition Documentation

◆ INCL_evo_impl_sysio_h

#define INCL_evo_impl_sysio_h