This struct holds static sample values for the built-in supported types of module ALib Expressions.
These boxes are mainly used by built-in compiler plug-ins to denote the corresponding type. Customized plug-ins are proposed to use these boxes to denote internal types as well and besides that to define static sample boxes for each custom type that they introduce in a similar fashion.
Definition at line 219 of file expressionscamp.hpp.
#include <expressionscamp.hpp>
Public Static Field Index: | |
static ALIB_API Box | Boolean = false |
Sample type-box for C++ type bool . | |
static ALIB_API Box | DateTime = time::DateTime::FromRaw(0) |
Sample type-box for date and time values of type DateTime). | |
static ALIB_API Box | Duration = time::DateTime::Duration::FromNanoseconds(0) |
Sample type-box for values of type DateTime::Duration). | |
static ALIB_API Box | Float = static_cast<double >(0.0) |
Sample type-box for C++ type double . | |
static ALIB_API Box | Integer = static_cast<integer>(0) |
Sample type-box for integer types. (Precisely for type integer.) | |
static ALIB_API Box | String = A_CHAR("") |
static ALIB_API Box | Void = nullptr |
Sample type-box for C++ type void . | |
|
static |
Sample type-box for C++ type bool
.
Definition at line 225 of file expressionscamp.hpp.
|
static |
Sample type-box for date and time values of type DateTime).
Definition at line 239 of file expressionscamp.hpp.
|
static |
Sample type-box for values of type DateTime::Duration).
Definition at line 242 of file expressionscamp.hpp.
|
static |
Sample type-box for C++ type double
.
Definition at line 231 of file expressionscamp.hpp.
Sample type-box for integer types. (Precisely for type integer.)
Definition at line 228 of file expressionscamp.hpp.
Sample type-box for string types. While internally, ALib class String is used, due to the magic of module ALib Boxing, almost any custom string type is compatible, including of course std::string
.
Definition at line 236 of file expressionscamp.hpp.
|
static |
Sample type-box for C++ type void
.
Definition at line 222 of file expressionscamp.hpp.