namespace Gambit::Backends
[No description available]
Namespaces
Classes
Name | |
---|---|
struct | Gambit::Backends::backend_info Structure providing some basic info on backend libraries. |
class | Gambit::Backends::instance_helper |
class | Gambit::Backends::instance_helper< void > |
class | Gambit::Backends::mathematica_function Holds the info about a Mathematica backend function, and defines conversion functions. |
class | Gambit::Backends::python_function Holds the info about a python backend function, and defines conversion functions. |
union | Gambit::Backends::void_voidFptr |
Types
Name | |
---|---|
typedef void(*)() | voidFptr Simplify pointers to void functions. |
Functions
Name | |
---|---|
int | WSGetVariable(WSLINK WSlink, int * val) |
int | WSGetVariable(WSLINK WSlink, float * val) |
int | WSGetVariable(WSLINK WSlink, double * val) |
int | WSGetVariable(WSLINK WSlink, bool * val) |
int | WSGetVariable(WSLINK WSlink, char * val) |
int | WSGetVariable(WSLINK WSlink, str * val) |
template <typename T > int | WSGetVariable(WSLINK WSlink, std::vector< T > * val) |
int | WSPutVariable(WSLINK WSlink, int val) |
int | WSPutVariable(WSLINK WSlink, float val) |
int | WSPutVariable(WSLINK WSlink, double val) |
int | WSPutVariable(WSLINK WSlink, bool val) |
int | WSPutVariable(WSLINK WSlink, char val) |
int | WSPutVariable(WSLINK WSlink, str val) |
template <typename T > int | WSPutVariable(WSLINK WSlink, std::vector< T > val) |
int | WSPutVariables(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. |
namespace | CAT_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. |
void | math_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