|
PPL C Language Interface 2.0
|
Types and functions for iterating on constraint systems. More...
#include <ppl_c_header.h>
Related Symbols | |
(Note that these are not member symbols.) | |
Constructors, Assignment and Destructor | |
| int | ppl_new_Constraint_System_const_iterator (ppl_Constraint_System_const_iterator_t *pcit) |
Builds a new const iterator and writes a handle to it at address pcit. | |
| int | ppl_new_Constraint_System_const_iterator_from_Constraint_System_const_iterator (ppl_Constraint_System_const_iterator_t *pcit, ppl_const_Constraint_System_const_iterator_t cit) |
Builds a const iterator that is a copy of cit; writes a handle for the newly created const iterator at address pcit. | |
| int | ppl_assign_Constraint_System_const_iterator_from_Constraint_System_const_iterator (ppl_Constraint_System_const_iterator_t dst, ppl_const_Constraint_System_const_iterator_t src) |
Assigns a copy of the const iterator src to dst. | |
| int | ppl_delete_Constraint_System_const_iterator (ppl_const_Constraint_System_const_iterator_t cit) |
Invalidates the handle cit: this makes sure the corresponding resources will eventually be released. | |
Dereferencing, Incrementing and Equality Testing | |
| int | ppl_Constraint_System_const_iterator_dereference (ppl_const_Constraint_System_const_iterator_t cit, ppl_const_Constraint_t *pc) |
Dereference cit writing a const handle to the resulting constraint at address pc. | |
| int | ppl_Constraint_System_const_iterator_increment (ppl_Constraint_System_const_iterator_t cit) |
Increment cit so that it "points" to the next constraint. | |
| int | ppl_Constraint_System_const_iterator_equal_test (ppl_const_Constraint_System_const_iterator_t x, ppl_const_Constraint_System_const_iterator_t y) |
Returns a positive integer if the iterators corresponding to x and y are equal; returns 0 if they are different. | |
Types and functions for iterating on constraint systems.
The types and functions for constraint systems iterators provide read-only access to the elements of a constraint system by interfacing Constraint_System::const_iterator.
|
Builds a new const iterator and writes a handle to it at address pcit.
| pcit | Receives the newly allocated object handle; release it with the matching deletion function. |
|
Builds a const iterator that is a copy of cit; writes a handle for the newly created const iterator at address pcit.
| pcit | Receives the newly allocated object handle; release it with the matching deletion function. |
| cit | The borrowed handle to the input object. |
|
Assigns a copy of the const iterator src to dst.
| dst | The destination object handle. |
| src | The source object handle. |
|
Invalidates the handle cit: this makes sure the corresponding resources will eventually be released.
| cit | The borrowed handle to the input object. |
|
Dereference cit writing a const handle to the resulting constraint at address pc.
The iterator must refer to an element, not the end of the system. The result is borrowed from the system, is non-null on success and must not be modified or deleted. Its lifetime follows the system and its owners, not the iterator object; see System Iterators and Elements. On failure, the output handle is unchanged.
| cit | The borrowed handle to the input object. |
| pc | The borrowed handle to the input object. |
|
Increment cit so that it "points" to the next constraint.
| cit | The iterator handle selecting the current element. |
|
Returns a positive integer if the iterators corresponding to x and y are equal; returns 0 if they are different.
| x | The borrowed handle to the input object. |
| y | The borrowed handle to the input object. |
x and y are equal; returns 0 if they are different.