Variable content type used with boolean type "B"
. When this type is imported, the value is tried to be parsed with the tokens in Configuration::BooleanTokens. If successful, the index of the pair of true/false
-tokens is stored in field TokenIndex. When exported back to a configuration file or otherwise serialized or printed, then the right human-readable term, corresponding to the potentially now different Value is used.
#include <vmeta.hpp>
Public Field Index: | |
int8_t | TokenIndex = -1 |
bool | Value = false |
The boolean value. Defaults to false . | |
Public Method Index: | |
operator bool () const | |
bool | operator= (bool newValue) |
int8_t TokenIndex = -1 |
The index in the list of tokens found when imported from a string. Can also be set programmatically to force a certain output "format". Defaults to -1
which indicates that the value was not parsed. On exporting, when -1
, index 0
is used.
|
inline |
|
inline |