namespace Gambit::Backends

[No description available]

Namespaces

Name
Gambit::Backends::AlterBBN_2_2
Gambit::Backends::gm2calc_1_2_0
Gambit::Backends::gm2calc_1_3_0
Gambit::Backends::HepLike_2_0
Gambit::Backends::obscura_1_1_0
Gambit::Backends::Pythia_8_212
Gambit::Backends::Rivet_3_1_5
Gambit::Backends::vevacious_1_0

Classes

Name
structGambit::Backends::backend_info
Structure providing some basic info on backend libraries.
classGambit::Backends::instance_helper
classGambit::Backends::instance_helper< void >
classGambit::Backends::mathematica_function
Holds the info about a Mathematica backend function, and defines conversion functions.
classGambit::Backends::python_function
Holds the info about a python backend function, and defines conversion functions.
unionGambit::Backends::void_voidFptr

Types

Name
typedef void(*)()voidFptr
Simplify pointers to void functions.

Functions

Name
intWSGetVariable(WSLINK WSlink, int * val)
intWSGetVariable(WSLINK WSlink, float * val)
intWSGetVariable(WSLINK WSlink, double * val)
intWSGetVariable(WSLINK WSlink, bool * val)
intWSGetVariable(WSLINK WSlink, char * val)
intWSGetVariable(WSLINK WSlink, str * val)
template <typename T >
int
WSGetVariable(WSLINK WSlink, std::vector< T > * val)
intWSPutVariable(WSLINK WSlink, int val)
intWSPutVariable(WSLINK WSlink, float val)
intWSPutVariable(WSLINK WSlink, double val)
intWSPutVariable(WSLINK WSlink, bool val)
intWSPutVariable(WSLINK WSlink, char val)
intWSPutVariable(WSLINK WSlink, str val)
template <typename T >
int
WSPutVariable(WSLINK WSlink, std::vector< T > val)
intWSPutVariables(WSLINK )
template <typename T >
int
WSPutVariables(WSLINK WSlink, T last)
template <typename T1 ,typename T2 ,typename… Others>
int
WSPutVariables(WSLINK WSlink, T1 first, T2 second, Others… args)
backend_info &backendInfo()
Backend info accessor function.
namespaceCAT_3(BACKENDNAME , _ , SAFE_VERSION )
template <typename T >
T
load_backend_symbol(const std::vector< str > & symbol_names, str be, str ver)
Get the pointer to the backend function.
template <typename T >
T
handover_factory_pointer(str be, str ver, str name, str barename, str args, const std::vector< str > & symbol_names, T factory, T missing_backend, T missing_factory)
Provide the factory pointer to a BOSSed type’s wrapper constructor.
voidmath_error(WSLINK , const str & , const str & )
Helper function to raise an appropriate warning or error in case of problems.
template <typename T >
bool
is_numeric()
Helper function that indicates if a type is numerical or not.

Types Documentation

typedef voidFptr

typedef void(* Gambit::Backends::voidFptr) ();

Simplify pointers to void functions.

Functions Documentation

function WSGetVariable

int WSGetVariable(
    WSLINK WSlink,
    int * val
)

Overloaded functions to get data through WSTP

function WSGetVariable

int WSGetVariable(
    WSLINK WSlink,
    float * val
)

function WSGetVariable

int WSGetVariable(
    WSLINK WSlink,
    double * val
)

function WSGetVariable

int WSGetVariable(
    WSLINK WSlink,
    bool * val
)

function WSGetVariable

int WSGetVariable(
    WSLINK WSlink,
    char * val
)

function WSGetVariable

int WSGetVariable(
    WSLINK WSlink,
    str * val
)

function WSGetVariable

template <typename T >
int WSGetVariable(
    WSLINK WSlink,
    std::vector< T > * val
)

function WSPutVariable

int WSPutVariable(
    WSLINK WSlink,
    int val
)

Overloaded functions to put data through WSTP

function WSPutVariable

int WSPutVariable(
    WSLINK WSlink,
    float val
)

function WSPutVariable

int WSPutVariable(
    WSLINK WSlink,
    double val
)

function WSPutVariable

int WSPutVariable(
    WSLINK WSlink,
    bool val
)

function WSPutVariable

int WSPutVariable(
    WSLINK WSlink,
    char val
)

function WSPutVariable

int WSPutVariable(
    WSLINK WSlink,
    str val
)

function WSPutVariable

template <typename T >
int WSPutVariable(
    WSLINK WSlink,
    std::vector< T > val
)

function WSPutVariables

int WSPutVariables(
    WSLINK 
)

function WSPutVariables

template <typename T >
int WSPutVariables(
    WSLINK WSlink,
    T last
)

function WSPutVariables

template <typename T1 ,
typename T2 ,
typename... Others>
int WSPutVariables(
    WSLINK WSlink,
    T1 first,
    T2 second,
    Others... args
)

function backendInfo

backend_info & backendInfo()

Backend info accessor function.

function CAT_3

namespace CAT_3(
    BACKENDNAME ,
    _ ,
    SAFE_VERSION 
)

function load_backend_symbol

template <typename T >
T load_backend_symbol(
    const std::vector< str > & symbol_names,
    str be,
    str ver
)

Get the pointer to the backend function.

function handover_factory_pointer

template <typename T >
T handover_factory_pointer(
    str be,
    str ver,
    str name,
    str barename,
    str args,
    const std::vector< str > & symbol_names,
    T factory,
    T missing_backend,
    T missing_factory
)

Provide the factory pointer to a BOSSed type’s wrapper constructor.

function math_error

void math_error(
    WSLINK ,
    const str & ,
    const str & 
)

Helper function to raise an appropriate warning or error in case of problems.

function is_numeric

template <typename T >
bool is_numeric()

Helper function that indicates if a type is numerical or not.


Updated on 2024-07-18 at 13:53:30 +0000