16#ifndef __APXX_MANAGER_HH
17#define __APXX_MANAGER_HH
21#include "ap_manager.h"
22#include "ap_abstract0.h"
23#include "ap_abstract1.h"
88 timeout(
const std::string& x) : logic_error(x) {}
152 static void raise(ap_manager_t*
m,
const char* msg, ap_abstract0_t* a = NULL);
155 static void raise(ap_manager_t*
m,
const char* msg, ap_abstract1_t a);
158 void raise(
const char* msg, ap_abstract0_t* a = NULL);
161 void raise(
const char* msg, ap_abstract1_t a);
ap_funopt_t & get_funopt(ap_funid_t funid)
Returns a (modifiable) reference to the options associated to some abstract function.
Definition apxx_manager.hh:184
bool exception_raised()
Internal use only. Whether APRON has raised an exception.
Definition apxx_manager.hh:83
bool get_flag_exact()
Returns the 'is exact' flag associated to the last computed abstract function.
Definition apxx_manager.hh:196
friend class abstract0
Definition apxx_manager.hh:146
ap_manager_t * get_ap_manager_t()
Returns a pointer to the internal APRON object stored in *this.
Definition apxx_manager.hh:207
static void fpu_init()
Sets the FPU rounding-mode towards +oo.
Definition apxx_manager.hh:217
ap_scalar_discr_t & get_scalar_discr()
Returns a (modifiable) reference to the user's preferred scalar type.
Definition apxx_manager.hh:191
bool get_flag_best()
Returns the 'is best' flag associated to the last computed abstract function.
Definition apxx_manager.hh:201
std::string get_version() const
Returns the version name of the library the manager comes from.
Definition apxx_manager.hh:179
std::string get_library() const
Returns the name of the library the manager comes from.
Definition apxx_manager.hh:174
friend class abstract1
Definition apxx_manager.hh:147
virtual ~manager()
Decrements the reference counter and, when reaching 0, frees the manager.
Definition apxx_manager.hh:161
ap_manager_t * m
Pointer managed by APRON.
Definition apxx_manager.hh:141
manager(ap_manager_t *m)
Internal use only (by subclasses). Initialise from a ap_manager_t* and take ownership (no copy).
Definition apxx_manager.hh:75
friend std::ostream & operator<<(std::ostream &os, const manager &s)
Prints the library name and version.
Definition apxx_manager.hh:223
static void raise(ap_manager_t *m, const char *msg, ap_abstract0_t *a=NULL)
Internal use only. Translates APRON exceptions to C++ ones.
Definition apxx_manager.hh:89
manager & operator=(const manager &x)
Assignment (actually performs some reference counter management).
Definition apxx_manager.hh:166
not_implemented(const std::string &x)
Definition apxx_manager.hh:97
timeout(const std::string &x)
Definition apxx_manager.hh:88
Definition apxx_abstract0.hh:27
tbool_t x
Either tbool_false, tbool_true, or tbool_top.
Definition apxx_manager.hh:48
friend tbool operator!(tbool a)
3-valued logical not.
Definition apxx_manager.hh:52
friend tbool operator&&(tbool a, tbool b)
3-valued logical and.
Definition apxx_manager.hh:47
friend std::ostream & operator<<(std::ostream &os, tbool x)
Printing.
Definition apxx_manager.hh:57
tbool(bool a)
Converts true to tbool_true and false to tbool_false.
Definition apxx_manager.hh:24
friend tbool operator||(tbool a, tbool b)
3-valued logical or.
Definition apxx_manager.hh:42
Inherited by most wrappers to map new and delete to malloc and free.
Definition apxx_scalar.hh:69