Vita
Namespaces | Typedefs | Enumerations | Functions
value.h File Reference

Go to the source code of this file.

Namespaces

namespace  vita
 The main namespace for the project.
 

Typedefs

using vita::D_DOUBLE = double
 
using vita::D_INT = int
 
using vita::D_STRING = std::string
 
using vita::D_VOID = std::monostate
 
using vita::value_t = std::variant< D_VOID, D_INT, D_DOUBLE, D_STRING >
 A variant containing the data types used by the interpreter for internal calculations / output value and for storing examples. More...
 

Enumerations

enum  vita::domain_t { d_void = 0 , d_int , d_double , d_string }
 In an environment where a symbol such as '+' may have many different meanings, it's useful to specify a "domain of computation" to restrict attention to specific meanings of interest (e.g. More...
 

Functions

bool vita::has_value (const value_t &v)
 
std::ostream & vita::operator<< (std::ostream &o, const value_t &v)
 Streams a value_t object. More...
 

Detailed Description

Remarks
This file is part of VITA.
License\n
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/

Definition in file value.h.