Ultra 0.9.4
Loading...
Searching...
No Matches
value.h File Reference
#include <iosfwd>
#include <string>
#include <variant>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  ultra

Typedefs

using ultra::D_VOID = std::monostate
using ultra::D_INT = int
using ultra::D_DOUBLE = double
using ultra::D_STRING = std::string
using ultra::D_NULLARY = nullary
using ultra::D_ADDRESS = param_address
using ultra::D_VARIABLE = src::variable
using ultra::D_IVECTOR = std::vector<int>
using ultra::value_t

Enumerations

enum  ultra::domain_t {
  d_void = 0 , d_int , d_double , d_string ,
  d_nullary , d_address , d_variable , d_ivector
}

Functions

constexpr param_address ultra::operator""_addr (unsigned long long a)
bool ultra::basic_data_type (domain_t d) noexcept
bool ultra::basic_data_type (const value_t &) noexcept
const D_NULLARY * ultra::get_if_nullary (const value_t &v) noexcept
bool ultra::has_value (const value_t &v) noexcept
bool ultra::numerical_data_type (domain_t d) noexcept
bool ultra::numerical_data_type (const value_t &) noexcept
std::ostream & ultra::operator<< (std::ostream &o, const value_t &v)
bool ultra::load (std::istream &in, const symbol_set &ss, value_t &v)
bool ultra::save (std::ostream &out, const value_t &v)

Detailed Description

Remarks
This file is part of ULTRA.
License

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/