Next: , Previous: , Up: The Double Ended Queue Library   [Index]


13.6.3 Data Type Specific Decq Back Functions

qb_e_<type-name>

void qb_e_<type-name>(<type> &d, decq q);

is the data in the last position in the q sequence, sets d as the same data (assumed of the <type> data type) and removes it from the sequence

qb_g_<type-name>

<type> qb_g_<type-name>(<type> &d, decq q);

is the data in the last position in the q sequence, sets d as the same (data is linked if allowed, copied otherwise, data assumed of the <type> data type)

qb_gs_<type-name>

<type> qb_gs_<type-name>(<type> &d, decq q);

is the data in the last position in the q sequence, sets d as the same (data is linked if allowed, copied otherwise, data assumed of the <type> data type). Moves the last element in the first position.

qb_j_<type-name>

integer qb_j_<type-name>}(<type> &d, decq q);

is 0 if the q sequence is empty or if the data in the last position is not of the <type> data type, non zero otherwise. Sets d as the data in the last position for the latter case (links data if the data type allows, copies it otherwise).

qb_js_<type-name>

integer qb_js_<type-name>}(<type> &d, decq q);

is 0 if the q sequence is empty or if the data in the last position is not of the <type> data type, non zero otherwise. Sets d as the data in the last position and moves it in the first position for the latter case (links data if the data type allows, copies it otherwise).

qb_l_<type-name>

void qb_l_<type-name>(decq q, <type> d);

inserts a reference to the d data in the last position in the q sequence (the function applies only to data types allowing for multiple references)

See Referable Objects.

qb_n_<type-name>

<type> qb_n_<type-name>(decq q);

is (new) data of the <type> data type and some <type> data type specific default value in the last position in the q sequence (data is created by the function call)

qb_o_<type-name>

integer qb_o_<type-name>}(<type> &d, decq q);

is 0 if the q sequence is empty or if the data in the last position is not of the <type> data type, non zero otherwise. Sets d as the data in the last position for the latter case and removes it from the sequence.

qb_p_<type-name>

void qb_p_<type-name>(decq q, <type> d);

inserts data of the <type> data type and d value in the last position in the q sequence

qb_q_<type-name>

<type> qb_q_<type-name>(decq q);

is the data in the last position in the q sequence (assumed of the <type> data type)

qb_qs_<type-name>

<type> qb_qs_<type-name>(decq q);

is the data in the last position in the q sequence (assumed of the <type> data type). Moves the last element in the first position.

qb_x_<type-name>

<type> qb_x_<type-name>(decq q);

is the data in the last position in the q sequence (assumed of the <type> data type), the data is removed from the sequence


Next: Data Type Generic Decq Front Functions, Previous: Data Type Specific Decq Front Functions, Up: The Double Ended Queue Library   [Index]