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);
tbool(bool a)
Converts true to tbool_true and false to tbool_false.
Definition: apxx_manager.hh:24
static void fpu_init()
Sets the FPU rounding-mode towards +oo.
Definition: apxx_manager.hh:217
Definition: apxx_abstract0.hh:27
not_implemented(const std::string &x)
Definition: apxx_manager.hh:97
Exception raised when a function is not implemented.
Definition: apxx_manager.hh:93
timeout(const std::string &x)
Definition: apxx_manager.hh:88
std::string get_library() const
Returns the name of the library the manager comes from.
Definition: apxx_manager.hh:174
ap_manager_t * get_ap_manager_t()
Returns a pointer to the internal APRON object stored in *this.
Definition: apxx_manager.hh:207
bool exception_raised()
Internal use only. Whether APRON has raised an exception.
Definition: apxx_manager.hh:83
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
bool get_flag_exact()
Returns the 'is exact' flag associated to the last computed abstract function.
Definition: apxx_manager.hh:196
Level 0 abstract value (ap_abstract0_t* wrapper).
Definition: apxx_abstract0.hh:78
friend tbool operator &&(tbool a, tbool b)
3-valued logical and.
Definition: apxx_manager.hh:47
Library manager (ap_manager_t wrapper).
Definition: apxx_manager.hh:137
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
ap_manager_t * m
Pointer managed by APRON.
Definition: apxx_manager.hh:141
friend tbool operator||(tbool a, tbool b)
3-valued logical or.
Definition: apxx_manager.hh:42
friend std::ostream & operator<<(std::ostream &os, tbool x)
Printing.
Definition: apxx_manager.hh:57
manager & operator=(const manager &x)
Assignment (actually performs some reference counter management).
Definition: apxx_manager.hh:166
Level 1 abstract value (ap_abstract1_t wrapper).
Definition: apxx_abstract1.hh:42
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
Inherited by most wrappers to map new and delete to malloc and free.
Definition: apxx_scalar.hh:69
3-valued boolean (tbool_t wrapper).
Definition: apxx_manager.hh:44
friend std::ostream & operator<<(std::ostream &os, const manager &s)
Prints the library name and version.
Definition: apxx_manager.hh:223
virtual ~manager()
Decrements the reference counter and, when reaching 0, frees the manager.
Definition: apxx_manager.hh:161
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
std::string get_version() const
Returns the version name of the library the manager comes from.
Definition: apxx_manager.hh:179
Exception raised when a timeout occurs.
Definition: apxx_manager.hh:84