Evo implementation detail for system portability – this is included by most Evo headers, include this via: include <evo/type.h>.
More...
|
class | Exception |
| Evo base exception class. More...
|
|
class | ExceptionFileIn |
| File input stream exception for file read errors, see Exception. More...
|
|
class | ExceptionFileOpen |
| File open exception for errors opening a file, see Exception. More...
|
|
class | ExceptionFileOut |
| File output stream exception for file write errors, see Exception. More...
|
|
class | ExceptionStream |
| Base stream exception for all stream errors, see Exception. More...
|
|
class | ExceptionStreamIn |
| Input stream exception for stream read errors, see Exception. More...
|
|
class | ExceptionStreamOpen |
| Stream open exception for errors opening a stream, see Exception. More...
|
|
class | ExceptionStreamOut |
| Output stream exception for stream write errors, see Exception. More...
|
|
struct | ListBase< T, TSize > |
| Base for all Evo list types (used internally). More...
|
|
struct | NewlineDefault |
| Default newline type, implicitly converts to NL_SYS (system default newline). More...
|
|
class | NewlineValue |
| Holds a Newline value that can be null, which implicitly converts to NL_SYS (system default newline). More...
|
|
struct | Null |
| Null type. More...
|
|
struct | SysLinux |
|
class | WorkBuffer< T > |
| Working data buffer. More...
|
|
|
#define | EVO_64 1 |
| Defined when current architecture is 64-bit, if not then EVO_32 is defined for 32-bit instead. More...
|
|
#define | EVO_APPLE_CLANG_VER 901 |
| Apple clang compiler version as integer. More...
|
|
#define | EVO_ARCH_BITS 64 |
| Number of bits for current architecture. More...
|
|
#define | EVO_ATTRIB_UNUSED |
| Mark variable with "unused" attribute to suppress "unused variable" compiler warnings on it. More...
|
|
#define | EVO_CHAR_SIGNED 1 |
| Whether char is signed – usually true, but unsigned on some systems. More...
|
|
#define | EVO_CLANG_VER 301 |
| Clang compiler version as integer (LLVM or Apple). More...
|
|
#define | EVO_CNULL ((const char*)0) |
| Shortcut for NULL as const-char pointer. More...
|
|
#define | EVO_COMPILER "Unknown" |
| C++ compiler name. More...
|
|
#define | EVO_COMPILER_VER 0 |
| C++ compiler version integer. More...
|
|
#define | EVO_CPP11 |
| Defined when compiler C++11 supported is enabled. More...
|
|
#define | EVO_CPP14 |
| Defined when compiler C++14 supported is enabled. More...
|
|
#define | EVO_CPP14_FULL |
|
#define | EVO_CPP17 |
| Defined when compiler C++17 supported is enabled. More...
|
|
#define | EVO_CREATE_EXCEPTION(NAME, BASE) |
| Create an Evo exception from a base exception. More...
|
|
#define | EVO_CREATE_EXCEPTION_IMPL(NAME, BASE) EVO_CREATE_EXCEPTION_IMPL_2(NAME, BASE, evo::errormsg) |
| Create an Evo exception implementation. More...
|
|
#define | EVO_CREATE_EXCEPTION_IMPL_2(NAME, BASE, ERRMSG_FUNC) |
| Create an Evo exception implementation with custom errormsg() function. More...
|
|
#define | EVO_EXCEPTIONS_ENABLED 1 |
|
#define | EVO_GCC_VER 504 |
| GCC compiler version as integer. More...
|
|
#define | EVO_LLVM_CLANG_VER 308 |
| LLVM clang compiler version as integer. More...
|
|
#define | EVO_MSVC_NOWARN_END |
| Set end point for ignoring MSVC warnings. More...
|
|
#define | EVO_MSVC_NOWARN_START(CODES) |
| Set starting point to ignore MSVC warnings. More...
|
|
#define | EVO_MSVC_TOOLSET 141 |
| MSVC toolset version as integer (3 digits, 2 digits before MSVC 2010). More...
|
|
#define | EVO_MSVC_YEAR 2017 |
| MSVC compiler year (4 digits). More...
|
|
#define | EVO_NOEXCEPT noexcept |
| No-exceptions specification before and after C++11. More...
|
|
#define | EVO_ONCPP11(EXPR) EXPR |
| Compile EXPR only if C++11 support is detected, otherwise this is a no-op. More...
|
|
#define | EVO_ONCPP11_ELSE(EXPR1, EXPR2) EXPR1 |
| Compile to EXPR1 if C++11 support is detected, otherwise compile to EXPR2 . More...
|
|
#define | EVO_ONCPP14(EXPR) EXPR |
| Compile EXPR only if C++14 support is detected, otherwise this is a no-op. More...
|
|
#define | EVO_ONCPP14_FULL(EXPR) EXPR |
| Compile EXPR only if "full" C++14 support is detected, otherwise this is a no-op. More...
|
|
#define | EVO_ONCPP17(EXPR) EXPR |
| Compile EXPR only if C++17 support is detected, otherwise this is a no-op. More...
|
|
#define | EVO_PARAM_UNUSED(NAME) |
| Mark function parameter as unused to suppress "unreferenced parameter" compiler warnings on it. More...
|
|
#define | EVO_THREAD_LOCAL thread_local |
| Mark a variable for thread-local storage. More...
|
|
#define | EVO_THROW(TYPE, MSG) throw TYPE(__FILE__, __LINE__, MSG) |
| Throw an Evo exception. More...
|
|
#define | EVO_THROW_ERR(TYPE, MSG, ERROR) throw TYPE(__FILE__, __LINE__, MSG, ERROR) |
| Throw an Evo exception with error code. More...
|
|
#define | EVO_THROW_ERR_CHECK(TYPE, MSG, ERROR, COND) { if (COND) throw TYPE(__FILE__, __LINE__, MSG, ERROR); } |
| Throw an Evo exception with error code if COND is true. More...
|
|
#define | EVO_VNULL ((void*)0) |
| Shortcut for NULL as void-pointer. More...
|
|
#define | INCL_evo_impl_sys_h |
|
|
enum | Error {
ENone = 0,
EEnd,
EMoreOutput,
ENonBlock,
EUnknown,
ENotImpl,
EInvalOp,
EInval,
EFail,
ELoss,
ERetry,
EBufSize,
EOutOfBounds,
EClosed,
ETimeout,
ESignal,
EPtr,
ESpace,
EAccess,
EExist,
ENotFound,
ENotDir,
ESize,
ELimit,
ELength,
ERead,
EWrite,
EInput
} |
| General Evo error code stored in exceptions, or used directly when exceptions are disabled. More...
|
|
enum | Flush { fFLUSH =0
} |
| Signals an output stream to flush pending data. More...
|
|
enum | Newline { nLF =0,
nCR,
nCRLF,
nLFCR
} |
| Newline type. More...
|
|
enum | ValAlgReverse { vREVERSE =0
} |
| Special value type to reverse algorithm, pass as vREVERSE. More...
|
|
enum | ValEmpty { vEMPTY =0
} |
| Special empty value type, pass as vEMPTY. More...
|
|
enum | ValNull { vNULL =0
} |
| Unique null value type and value (vNULL). More...
|
|
|
const char * | errormsg (Error error) |
| Get general error message for error code. More...
|
|
template<class TOut > |
TOut & | errormsg_out (TOut &out, Error err) |
| Write error message with errno to output stream/string. More...
|
|
const char * | getnewline (Newline newline=NL) |
| Get newline string for given type. More...
|
|
uint | getnewlinesize (Newline newline=NL) |
| Get newline string size for given type. More...
|
|
bool | sleepms (ulong msec) |
| Sleep for number of milliseconds. More...
|
|
bool | sleepns (ulongl nsec) |
| Sleep for number of nanoseconds. More...
|
|
bool | sleepus (ulongl usec) |
| Sleep for number of microseconds. More...
|
|
template<class T > |
void | swap (T &a, T &b) |
| Swap contents of given objects. More...
|
|
Evo implementation detail for system portability – this is included by most Evo headers, include this via: include <evo/type.h>.