chrono::ChStream Class Reference

Description

This is a base class for input/output (streaming)

#include <ChStream.h>

Inheritance diagram for chrono::ChStream:

Public Types

enum  eChMode { CHFILE_NORMAL = 0, CHFILE_NOWRITE, CHFILE_SAFEWRITE, CHFILE_OPENLATER }
 Modes for chrono files (the ch-modes) - obsolete -. More...
 
enum  eChStreamError { CHSTREAM_OK = 0, CHSTREAM_EOF, CHSTREAM_FAIL }
 Errors for chrono files (the ch-modes) More...
 

Member Enumeration Documentation

Modes for chrono files (the ch-modes) - obsolete -.

Enumerator
CHFILE_NORMAL 

writes/reads as a normal file

CHFILE_NOWRITE 

force do not write even if in w or wb (write mode)

CHFILE_SAFEWRITE 

safe writing (obsolete)

CHFILE_OPENLATER 

creates the file only as soon as first writing is attempted

Errors for chrono files (the ch-modes)

Enumerator
CHSTREAM_OK 

write/read operation successfull

CHSTREAM_EOF 

end of file

CHSTREAM_FAIL 

operation failed