Next: Data Type Generic Decq Front Functions, Previous: Data Type Specific Decq Front Functions, Up: The Double Ended Queue Library [Index]
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
<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)
<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.
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).
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).
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.
<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)
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.
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
<type> qb_q_<type-name>(decq q);
is the data in the last position in the q sequence (assumed of the <type> data type)
<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.
<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