Lines Matching refs:element

28  * element will not be able to be pushed in.
58 * Obtains the front element of the array queue. It is illegal to access the
59 * front element when the array queue is empty. The user of the API must check
60 * the size() or empty() function prior to accessing the front element to
63 * @return The front element.
68 * Obtains the front element of the array queue. It is illegal to access the
69 * front element when the array queue is empty. The user of the API must check
70 * the size() or empty() function prior to accessing the front element to
73 * @return The front element.
78 * Obtains an element of the array queue given an index. It is illegal to
84 * @return The element.
89 * Obtains an element of the array queue given an index. It is illegal to
95 * @return The element.
100 * Pushes an element onto the back of the array queue via copy or move
104 * @param element The element to push onto the array queue.
105 * @return true if the element is pushed successfully.
107 bool push(const ElementType& element);
108 bool push(ElementType&& element);
111 * Removes the front element from the array queue if the array queue is not
118 * Removes an element from the array queue given an index. It returns false if
121 * and references to the removed element or any elements after it are
125 * @return true if the indexed element has been removed successfully.
130 * Constructs an element onto the back of the array queue. All iterators and
134 * @return true if the element is constructed successfully.
196 * Forward iterator that points to some element in the container.
224 * Initialize mTail to be (kCapacity-1). When an element is pushed in,
228 //! Index of the front element
231 //! Index of the back element
261 * Pulls mHead to the next element in the array queue and decrements mSize