PPL C Language Interface 2.0
ppl_Artificial_Parameter_Sequence_const_iterator_tag Interface Reference

Types and functions for iterating on PIP artificial parameters. More...

#include <ppl_c_header.h>

(Note that these are not member symbols.)

int ppl_new_Artificial_Parameter_Sequence_const_iterator (ppl_Artificial_Parameter_Sequence_const_iterator_t *papit)
 Builds a new const iterator and writes a handle to it at address papit.
int ppl_new_Artificial_Parameter_Sequence_const_iterator_from_Artificial_Parameter_Sequence_const_iterator (ppl_Artificial_Parameter_Sequence_const_iterator_t *papit, ppl_const_Artificial_Parameter_Sequence_const_iterator_t apit)
 Builds a const iterator that is a copy of apit; writes a handle for the newly created const iterator at address papit.
int ppl_assign_Artificial_Parameter_Sequence_const_iterator_from_Artificial_Parameter_Sequence_const_iterator (ppl_Artificial_Parameter_Sequence_const_iterator_t dst, ppl_const_Artificial_Parameter_Sequence_const_iterator_t src)
 Assigns a copy of the const iterator src to dst.
int ppl_delete_Artificial_Parameter_Sequence_const_iterator (ppl_const_Artificial_Parameter_Sequence_const_iterator_t apit)
 Invalidates the handle apit: this makes sure the corresponding resources will eventually be released.
int ppl_Artificial_Parameter_Sequence_const_iterator_dereference (ppl_const_Artificial_Parameter_Sequence_const_iterator_t apit, ppl_const_Artificial_Parameter_t *pap)
 Dereference apit writing a const handle to the resulting artificial parameter at address pap.
int ppl_Artificial_Parameter_Sequence_const_iterator_increment (ppl_Artificial_Parameter_Sequence_const_iterator_t apit)
 Increment apit so that it "points" to the next artificial parameter.
int ppl_Artificial_Parameter_Sequence_const_iterator_equal_test (ppl_const_Artificial_Parameter_Sequence_const_iterator_t x, ppl_const_Artificial_Parameter_Sequence_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 PIP artificial parameters.

◆ ppl_new_Artificial_Parameter_Sequence_const_iterator()

int ppl_new_Artificial_Parameter_Sequence_const_iterator ( ppl_Artificial_Parameter_Sequence_const_iterator_t * papit)
related

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

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

◆ ppl_new_Artificial_Parameter_Sequence_const_iterator_from_Artificial_Parameter_Sequence_const_iterator()

int ppl_new_Artificial_Parameter_Sequence_const_iterator_from_Artificial_Parameter_Sequence_const_iterator ( ppl_Artificial_Parameter_Sequence_const_iterator_t * papit,
ppl_const_Artificial_Parameter_Sequence_const_iterator_t apit )
related

Builds a const iterator that is a copy of apit; writes a handle for the newly created const iterator at address papit.

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

◆ ppl_assign_Artificial_Parameter_Sequence_const_iterator_from_Artificial_Parameter_Sequence_const_iterator()

int ppl_assign_Artificial_Parameter_Sequence_const_iterator_from_Artificial_Parameter_Sequence_const_iterator ( ppl_Artificial_Parameter_Sequence_const_iterator_t dst,
ppl_const_Artificial_Parameter_Sequence_const_iterator_t src )
related

Assigns a copy of the const iterator src to dst.

Parameters
dstThe destination object handle.
srcThe source object handle.
Returns
Zero on success; a negative error code on failure.

◆ ppl_delete_Artificial_Parameter_Sequence_const_iterator()

int ppl_delete_Artificial_Parameter_Sequence_const_iterator ( ppl_const_Artificial_Parameter_Sequence_const_iterator_t apit)
related

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

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

◆ ppl_Artificial_Parameter_Sequence_const_iterator_dereference()

int ppl_Artificial_Parameter_Sequence_const_iterator_dereference ( ppl_const_Artificial_Parameter_Sequence_const_iterator_t apit,
ppl_const_Artificial_Parameter_t * pap )
related

Dereference apit writing a const handle to the resulting artificial parameter at address pap.

The iterator must refer to an element, not the end of the sequence. The non-null result is borrowed from the node's artificial-parameter sequence and ultimately from its PIP problem; it must not be modified or deleted. Its lifetime does not depend on the iterator object; see Borrowed PIP Problem Data and Solution Trees and System Iterators and Elements. On failure, *pap is unchanged.

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

◆ ppl_Artificial_Parameter_Sequence_const_iterator_increment()

int ppl_Artificial_Parameter_Sequence_const_iterator_increment ( ppl_Artificial_Parameter_Sequence_const_iterator_t apit)
related

Increment apit so that it "points" to the next artificial parameter.

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

◆ ppl_Artificial_Parameter_Sequence_const_iterator_equal_test()

int ppl_Artificial_Parameter_Sequence_const_iterator_equal_test ( ppl_const_Artificial_Parameter_Sequence_const_iterator_t x,
ppl_const_Artificial_Parameter_Sequence_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: