| APRONXX 0.9.15
    | 
Array of generators (ap_generator0_array_t wrapper). More...
#include <apxx_generator0.hh>
Inherits apron::use_malloc.
| Public Member Functions | |
| Constructors | |
| generator0_array (size_t size) | |
| Creates a new array of the given size containing uninitialized generators. | |
| generator0_array (const generator0_array &x) | |
| (Deep) copy. | |
| generator0_array (const generator0_array &x, const dimchange &d) | |
| Makes a (deep) copy of the array and applies add_dimensions to all generators. | |
| generator0_array (const generator0_array &x, const dimperm &d) | |
| Makes a (deep) copy of the array and applies permute_dimensions to all generators. | |
| generator0_array (size_t size, const generator0 x[]) | |
| Creates a generator0_array from an array of generators of the given size (copied). | |
| generator0_array (const std::vector< generator0 > &x) | |
| Creates a generator0_array from a vector of generators (copied). | |
| Destructor | |
| ~generator0_array () | |
| Frees the space used by the array and all its generators. | |
| Assignments | |
| generator0_array & | operator= (const generator0_array &x) | 
| (Deep) copy. | |
| generator0_array & | operator= (const generator0 x[]) | 
| Copies the generators from the array into *this. | |
| generator0_array & | operator= (const std::vector< generator0 > &x) | 
| Copies the generators from the vector into the array, changing its size if needed. | |
| Dimension operations | |
| void | resize (size_t size) | 
| Resizes the array. | |
| void | add_dimensions (const dimchange &d) | 
| Applies add_dimensions to all generators in the array. | |
| void | permute_dimensions (const dimperm &d) | 
| Applies permute_dimensions to all generators in the array. | |
| Access | |
| size_t | size () const | 
| Returns the size of the array. | |
| generator0 * | contents () | 
| Returns a pointer to the start of the internal array holding the generators. | |
| const generator0 * | contents () const | 
| Returns a pointer to the start of the internal array holding the generators. | |
| generator0 & | operator[] (size_t i) | 
| Returns a (modifiable) reference to an element, no bound checking. | |
| const generator0 & | operator[] (size_t i) const | 
| Returns a reference to an element, no bound checking. | |
| generator0 & | get (size_t i) | 
| Returns a (modifiable) reference to an element (bound-checked). | |
| const generator0 & | get (size_t i) const | 
| Returns a reference to an element (bound-checked). | |
| Conversion | |
| operator std::vector< generator0 > () const | |
| Returns a copy of the generators in the form of a vector. | |
| C API compatibility | |
| const ap_generator0_array_t * | get_ap_generator0_array_t () const | 
| Returns a pointer to the internal APRON object stored in *this. | |
| ap_generator0_array_t * | get_ap_generator0_array_t () | 
| Returns a pointer to the internal APRON object stored in *this. | |
|  Public Member Functions inherited from apron::use_malloc | |
| void * | operator new (size_t sz) | 
| void * | operator new[] (size_t sz) | 
| void | operator delete (void *p) | 
| void | operator delete[] (void *p) | 
| Protected Member Functions | |
| generator0_array (ap_generator0_array_t &a) | |
| Internal use only. Performs a shallow copy and takes ownership of the contents. | |
| Protected Attributes | |
| ap_generator0_array_t | a | 
| Structure managed by APRON. | |
| Printing | |
| void | print (char **name_of_dim=NULL, FILE *stream=stdout) const | 
| Prints to a C stream. | |
Array of generators (ap_generator0_array_t wrapper).
A generator0_array represents an array of generator(s).
| 
 | inlineprotected | 
Internal use only. Performs a shallow copy and takes ownership of the contents.
| 
 | inline | 
Creates a new array of the given size containing uninitialized generators.
has_linexpr will return false on all elements of the array.
| 
 | inline | 
(Deep) copy.
| 
 | inline | 
Makes a (deep) copy of the array and applies add_dimensions to all generators.
| 
 | inline | 
Makes a (deep) copy of the array and applies permute_dimensions to all generators.
| 
 | inline | 
Creates a generator0_array from an array of generators of the given size (copied).
| 
 | inline | 
Creates a generator0_array from a vector of generators (copied).
| 
 | inline | 
Frees the space used by the array and all its generators.
| 
 | inline | 
Applies add_dimensions to all generators in the array.
| 
 | inline | 
Returns a pointer to the start of the internal array holding the generators.
| 
 | inline | 
Returns a pointer to the start of the internal array holding the generators.
| 
 | inline | 
Returns a (modifiable) reference to an element (bound-checked).
| std::out_of_range | if the index is invalid. | 
| 
 | inline | 
Returns a reference to an element (bound-checked).
| std::out_of_range | if the index is invalid. | 
| 
 | inline | 
Returns a pointer to the internal APRON object stored in *this.
| 
 | inline | 
Returns a pointer to the internal APRON object stored in *this.
| 
 | inline | 
Returns a copy of the generators in the form of a vector.
| 
 | inline | 
Copies the generators from the array into *this.
| 
 | inline | 
(Deep) copy.
| 
 | inline | 
Copies the generators from the vector into the array, changing its size if needed.
| 
 | inline | 
Returns a (modifiable) reference to an element, no bound checking.
| 
 | inline | 
Returns a reference to an element, no bound checking.
| 
 | inline | 
Applies permute_dimensions to all generators in the array.
| 
 | inline | 
Prints to a C stream.
| 
 | inline | 
Resizes the array.
| 
 | inline | 
Returns the size of the array.
| 
 | protected | 
Structure managed by APRON.