PPL C Language Interface 2.0
ppl_Pointset_Powerset_C_Polyhedron_const_iterator_tag Interface Reference

Types and functions for iterating on the disjuncts of a const ppl_Pointset_Powerset_C_Polyhedron_tag. More...

#include <C_interface.dox.h>

(Note that these are not member symbols.)

int ppl_new_Pointset_Powerset_C_Polyhedron_const_iterator (ppl_Pointset_Powerset_C_Polyhedron_const_iterator_t *pit)
 Builds a new const iterator and writes a handle to it at address pit.
int ppl_new_Pointset_Powerset_C_Polyhedron_const_iterator_from_const_iterator (ppl_Pointset_Powerset_C_Polyhedron_const_iterator_t *pit, ppl_const_Pointset_Powerset_C_Polyhedron_const_iterator_t y)
 Builds a copy of y and writes a handle to it at address pit.
int ppl_Pointset_Powerset_C_Polyhedron_const_iterator_begin (ppl_const_Pointset_Powerset_C_Polyhedron_t ps, ppl_Pointset_Powerset_C_Polyhedron_const_iterator_t psit)
 Assigns to psit a const iterator "pointing" to the beginning of the sequence of disjuncts of ps.
int ppl_Pointset_Powerset_C_Polyhedron_const_iterator_end (ppl_const_Pointset_Powerset_C_Polyhedron_t ps, ppl_Pointset_Powerset_C_Polyhedron_const_iterator_t psit)
 Assigns to psit a const iterator "pointing" past the end of the sequence of disjuncts of ps.
int ppl_delete_Pointset_Powerset_C_Polyhedron_const_iterator (ppl_const_Pointset_Powerset_C_Polyhedron_const_iterator_t it)
 Invalidates the handle it: this makes sure the corresponding resources will eventually be released.
int ppl_Pointset_Powerset_C_Polyhedron_const_iterator_dereference (ppl_const_Pointset_Powerset_C_Polyhedron_const_iterator_t it, ppl_const_Polyhedron_t *d)
 Dereferences it writing a const handle to the resulting disjunct at address d.
int ppl_Pointset_Powerset_C_Polyhedron_const_iterator_increment (ppl_Pointset_Powerset_C_Polyhedron_const_iterator_t it)
 Increments it so that it "points" to the next disjunct.
int ppl_Pointset_Powerset_C_Polyhedron_const_iterator_decrement (ppl_Pointset_Powerset_C_Polyhedron_const_iterator_t it)
 Decrements it so that it "points" to the previous disjunct.
int ppl_Pointset_Powerset_C_Polyhedron_const_iterator_equal_test (ppl_const_Pointset_Powerset_C_Polyhedron_const_iterator_t x, ppl_const_Pointset_Powerset_C_Polyhedron_const_iterator_t y)
 Returns a positive integer if the iterators corresponding to x and y are equal; returns 0 if they are different.

Detailed Description

Types and functions for iterating on the disjuncts of a const ppl_Pointset_Powerset_C_Polyhedron_tag.

◆ ppl_new_Pointset_Powerset_C_Polyhedron_const_iterator()

int ppl_new_Pointset_Powerset_C_Polyhedron_const_iterator ( ppl_Pointset_Powerset_C_Polyhedron_const_iterator_t * pit)
related

Builds a new const iterator and writes a handle to it at address pit.

Parameters
pitReceives the newly allocated object handle; release it with the matching deletion function.
Returns
Zero on success; a negative error code on failure.

◆ ppl_new_Pointset_Powerset_C_Polyhedron_const_iterator_from_const_iterator()

int ppl_new_Pointset_Powerset_C_Polyhedron_const_iterator_from_const_iterator ( ppl_Pointset_Powerset_C_Polyhedron_const_iterator_t * pit,
ppl_const_Pointset_Powerset_C_Polyhedron_const_iterator_t y )
related

Builds a copy of y and writes a handle to it at address pit.

Parameters
pitReceives the newly allocated object handle; release it with the matching deletion function.
yThe borrowed handle to the input object.
Returns
Zero on success; a negative error code on failure.

◆ ppl_Pointset_Powerset_C_Polyhedron_const_iterator_begin()

int ppl_Pointset_Powerset_C_Polyhedron_const_iterator_begin ( ppl_const_Pointset_Powerset_C_Polyhedron_t ps,
ppl_Pointset_Powerset_C_Polyhedron_const_iterator_t psit )
related

Assigns to psit a const iterator "pointing" to the beginning of the sequence of disjuncts of ps.

Parameters
psThe borrowed handle to the input object.
psitThe iterator handle selecting the current element.
Returns
Zero on success; a negative error code on failure.

◆ ppl_Pointset_Powerset_C_Polyhedron_const_iterator_end()

int ppl_Pointset_Powerset_C_Polyhedron_const_iterator_end ( ppl_const_Pointset_Powerset_C_Polyhedron_t ps,
ppl_Pointset_Powerset_C_Polyhedron_const_iterator_t psit )
related

Assigns to psit a const iterator "pointing" past the end of the sequence of disjuncts of ps.

Parameters
psThe borrowed handle to the input object.
psitThe iterator handle selecting the current element.
Returns
Zero on success; a negative error code on failure.

◆ ppl_delete_Pointset_Powerset_C_Polyhedron_const_iterator()

int ppl_delete_Pointset_Powerset_C_Polyhedron_const_iterator ( ppl_const_Pointset_Powerset_C_Polyhedron_const_iterator_t it)
related

Invalidates the handle it: this makes sure the corresponding resources will eventually be released.

Parameters
itThe borrowed handle to the input object.
Returns
Zero on success; a negative error code on failure.

◆ ppl_Pointset_Powerset_C_Polyhedron_const_iterator_dereference()

int ppl_Pointset_Powerset_C_Polyhedron_const_iterator_dereference ( ppl_const_Pointset_Powerset_C_Polyhedron_const_iterator_t it,
ppl_const_Polyhedron_t * d )
related

Dereferences it writing a const handle to the resulting disjunct at address d.

Warning
The iterator must refer to a disjunct, not the end of the powerset. The non-null result is borrowed from the powerset and must not be modified or deleted. It remains valid only while the powerset and its owners are alive and until another operation on an owning object, including const operations, may invalidate it. Obtaining begin/end iterators and ordinary iterator traversal do not invalidate it. Read-only inspection of the disjunct is permitted, subject to the lifetime rules of any handles borrowed in turn from that disjunct; see Borrowed Domain Systems. Copy the disjunct with the matching ppl_new_C_Polyhedron_from_C_Polyhedron constructor if an independent lifetime is needed. On failure, *d is unchanged.
Parameters
itThe borrowed handle to the input object.
dThe borrowed handle to the input object.
Returns
Zero on success; a negative error code on failure.

◆ ppl_Pointset_Powerset_C_Polyhedron_const_iterator_increment()

int ppl_Pointset_Powerset_C_Polyhedron_const_iterator_increment ( ppl_Pointset_Powerset_C_Polyhedron_const_iterator_t it)
related

Increments it so that it "points" to the next disjunct.

Parameters
itThe iterator handle selecting the current element.
Returns
Zero on success; a negative error code on failure.

◆ ppl_Pointset_Powerset_C_Polyhedron_const_iterator_decrement()

int ppl_Pointset_Powerset_C_Polyhedron_const_iterator_decrement ( ppl_Pointset_Powerset_C_Polyhedron_const_iterator_t it)
related

Decrements it so that it "points" to the previous disjunct.

Parameters
itThe iterator handle selecting the current element.
Returns
Zero on success; a negative error code on failure.

◆ ppl_Pointset_Powerset_C_Polyhedron_const_iterator_equal_test()

int ppl_Pointset_Powerset_C_Polyhedron_const_iterator_equal_test ( ppl_const_Pointset_Powerset_C_Polyhedron_const_iterator_t x,
ppl_const_Pointset_Powerset_C_Polyhedron_const_iterator_t y )
related

Returns a positive integer if the iterators corresponding to x and y are equal; returns 0 if they are different.

Parameters
xThe borrowed handle to the input object.
yThe borrowed handle to the input object.
Returns
A positive integer if the iterators corresponding to x and y are equal; returns 0 if they are different.

The documentation for this interface was generated from the following file:
  • C_interface.dox.h