Next: Data Type Specific Decq Back Functions, Previous: Non Data Type Specific Decq Functions, Up: The Double Ended Queue Library [Index]
void qf_e_<type-name>}(<type> &d, decq q);
is the data in the first position in the q sequence, sets d as the same data (assumed of the <type> data type) and removes it from the sequence
<type> qf_g_<type-name>(<type> &d, decq q);
is the data in the first 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> qf_gs_<type-name>(<type> &d, decq q);
is the data in the first 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 first element in the last position.
integer qf_j_<type-name>}(<type> &d, decq q);
is 0 if the q sequence is empty or if the data in the first position is not of the <type> data type, non zero otherwise. Sets d as the data in the first position for the latter case (links data if the data type allows, copies it otherwise).
integer qf_js_<type-name>}(<type> &d, decq q);
is 0 if the q sequence is empty or if the data in the first position is not of the <type> data type, non zero otherwise. Sets d as the data in the first position and moves it in the last position for the latter case (links data if the data type allows, copies it otherwise).
void qf_l_<type-name>(decq q, <type> d);
inserts a reference to the d data in the first position in the q sequence (the function applies only to data types allowing for multiple references)
See Referable Objects.
<type> qf_n_<type-name>(decq q);
is (new) data of the <type> data type and some <type> data type specific default value in the first position in the q sequence (data is created by the function call)
integer qf_o_<type-name>}(<type> &d, decq q);
is 0 if the q sequence is empty or if the data in the first position is not of the <type> data type, non zero otherwise. Sets d as the data in the first position for the latter case and removes it from the sequence.
void qf_p_<type-name>(decq q, <type> d);
inserts data of the <type> data type and d value in the first position in the q sequence
<type> qf_q_<type-name>(decq q);
is the data in the first position in the q sequence (assumed of the <type> data type)
<type> qf_qs_<type-name>(decq q);
is the data in the first position in the q sequence (assumed of the <type> data type). Moves the first element in the last position.
<type> qf_x_<type-name>(decq q);
is the data in the first position in the q sequence (assumed of the <type> data type), the data is removed from the sequence