151# pragma GCC diagnostic push
152# pragma GCC diagnostic ignored "-Wtautological-compare"
161 static_assert(Ty != Ty,
"No value getter for the selected type");
164# pragma GCC diagnostic pop
Represents a global store to be shared amongst ink runners.
Definition globals.h:22
Interface for accessing a Ink list.
Definition list.h:43
A runner to execute ink script from a story.
Definition runner.h:37
Container for an InkCPP runtime snapshot, which can be migrated.
Definition snapshot.h:59
Pointer wrapper to an object whose lifetime is tied to a story object.
Definition story_ptr.h:85
#define inkAssert(condition, text,...)
Compile argument agnostic assert macro.
Definition system.h:58
Contaning all modules and classes used for the inkles ink runtime.
Definition choice.h:13
story_ptr< globals_interface > globals
alias for an managed ink::runtime::globals_interface pointer
Definition types.h:20
list_interface * list
alias for ink::runtime::list_interface pointer
Definition types.h:24
story_ptr< runner_interface > runner
alias for an managed ink::runtime::runner_interface pointer
Definition types.h:22
whitespace_mode
How runs of whitespace inside a line are treated.
Definition types.h:31
@ collapse
Collapse a run of spaces and tabs inside a line to a single space.
Definition types.h:35
@ keep_runs
Keep runs of spaces and tabs inside a line, for text laid out for a fixed width display.
Definition types.h:41
unsigned int uint32_t
define basic numeric type
Definition system.h:71
A Ink variable.
Definition types.h:54
value(const value &v)
Construct value from corresponding type.
Definition types.h:120
value(bool v)
Construct value from corresponding type.
Definition types.h:84
value(uint32_t v)
Construct value from corresponding type.
Definition types.h:90
Type
Type labels for ink::runtime::value.
Definition types.h:67
@ Float
containing a float
Definition types.h:72
@ String
contaning a const char*
Definition types.h:71
@ Uint32
containing uint32_t
Definition types.h:69
@ List
containing a list_interface
Definition types.h:73
@ Int32
containing int32_t
Definition types.h:70
@ Bool
containing bool
Definition types.h:68
value(list_interface *list)
Construct value from corresponding type.
Definition types.h:114
enum ink::runtime::value::Type type
Label of type currently contained in value.
value(const char *v)
Construct value from corresponding type.
Definition types.h:102
const auto & get() const
Get value to corresponding type.
Definition types.h:159
value(int32_t v)
Construct value from corresponding type.
Definition types.h:96
constexpr value & operator=(const value &v)
Construct value from corresponding type.
Definition types.h:134
value(float v)
Construct value from corresponding type.
Definition types.h:108