|
|
|
| | var (const void *x) |
| | Makes a variable name from a pointer (copied with ap_var_operations->copy).
|
| |
| | var (const std::string &x) |
| | Makes a variable name from a string (copied with ap_var_operations->copy).
|
| |
| | var (const var &x) |
| | Copies the variable name (calls ap_var_operations->copy).
|
| |
|
| | ~var () |
| | Frees the variable name (calls ap_var_operations->free).
|
| |
|
| var & | operator= (const var &x) |
| | Assigns the variable name (calls ap_var_operations->copy, ->free).
|
| |
| var & | operator= (const std::string &x) |
| | Assigns the variable name (calls ap_var_operations->copy, ->free).
|
| |
| var & | operator= (const void *x) |
| | Assigns the variable name (calls ap_var_operations->copy, ->free).
|
| |
|
| | operator char * () const |
| | Converts to a C string (calls ap_var_operations->to_string).
|
| |
| | operator std::string () const |
| | Converts to a C++ string (calls ap_var_operations->to_string).
|
| |
|
| const ap_var_t & | get_ap_var_t () const |
| | Returns a reference to the APRON object wrapped (no copy).
|
| |
| ap_var_t & | get_ap_var_t () |
| | Returns a (modifiable) reference to the APRON object wrapped (no copy).
|
| |
Variable name (ap_var_t wrapper).
A var object designates a variable name, using a void* pointer (i.e., ap_var_t). Variable names replace dimensions in all level 1 operations. Variable names can be copied, freed, compared, and converted to string. The actual implementation of these operators is defined using the global pointer ap_var_operations. By default, ap_var_operations implements dynamically allocated C-style NULL-terminated strings.