ReactOS 0.4.16-dev-136-g52192f1
queue< _Tp, _Sequence > Class Template Reference

#include <_queue.h>

Collaboration diagram for queue< _Tp, _Sequence >:

Public Types

typedef _Sequence::value_type value_type
 
typedef _Sequence::size_type size_type
 
typedef _Sequence container_type
 
typedef _Sequence::reference reference
 
typedef _Sequence::const_reference const_reference
 

Public Member Functions

 queue ()
 
 queue (const _Sequence &__c)
 
 queue (__move_source< _Self > src)
 
bool empty () const
 
size_type size () const
 
reference front ()
 
const_reference front () const
 
reference back ()
 
const_reference back () const
 
void push (const value_type &__x)
 
void pop ()
 
const _Sequence & _Get_s () const
 

Protected Attributes

_Sequence c
 

Private Types

typedef queue< _Tp, _Sequence > _Self
 

Detailed Description

template<class _Tp, class _Sequence = deque<_Tp>>
class queue< _Tp, _Sequence >

Definition at line 59 of file _queue.h.

Member Typedef Documentation

◆ _Self

template<class _Tp , class _Sequence = deque<_Tp>>
typedef queue<_Tp, _Sequence> queue< _Tp, _Sequence >::_Self
private

Definition at line 72 of file _queue.h.

◆ const_reference

template<class _Tp , class _Sequence = deque<_Tp>>
typedef _Sequence::const_reference queue< _Tp, _Sequence >::const_reference

Definition at line 80 of file _queue.h.

◆ container_type

template<class _Tp , class _Sequence = deque<_Tp>>
typedef _Sequence queue< _Tp, _Sequence >::container_type

Definition at line 77 of file _queue.h.

◆ reference

template<class _Tp , class _Sequence = deque<_Tp>>
typedef _Sequence::reference queue< _Tp, _Sequence >::reference

Definition at line 79 of file _queue.h.

◆ size_type

template<class _Tp , class _Sequence = deque<_Tp>>
typedef _Sequence::size_type queue< _Tp, _Sequence >::size_type

Definition at line 76 of file _queue.h.

◆ value_type

template<class _Tp , class _Sequence = deque<_Tp>>
typedef _Sequence::value_type queue< _Tp, _Sequence >::value_type

Definition at line 75 of file _queue.h.

Constructor & Destructor Documentation

◆ queue() [1/3]

template<class _Tp , class _Sequence = deque<_Tp>>
queue< _Tp, _Sequence >::queue ( )
inline

Definition at line 86 of file _queue.h.

86: c() {}
_Sequence c
Definition: _queue.h:84

◆ queue() [2/3]

template<class _Tp , class _Sequence = deque<_Tp>>
queue< _Tp, _Sequence >::queue ( const _Sequence &  __c)
inlineexplicit

Definition at line 87 of file _queue.h.

87: c(__c) {}
#define __c
Definition: schilyio.h:209

◆ queue() [3/3]

template<class _Tp , class _Sequence = deque<_Tp>>
queue< _Tp, _Sequence >::queue ( __move_source< _Self src)
inline

Definition at line 90 of file _queue.h.

91 : c(_STLP_PRIV _AsMoveSource(src.get().c)) {}
#define _STLP_PRIV
Definition: _dm.h:70
_STLP_TYPENAME_ON_RETURN_TYPE _MoveSourceTraits< _Tp >::_Type _AsMoveSource(_Tp &src)
GLenum src
Definition: glext.h:6340

Member Function Documentation

◆ _Get_s()

template<class _Tp , class _Sequence = deque<_Tp>>
const _Sequence & queue< _Tp, _Sequence >::_Get_s ( ) const
inline

Definition at line 102 of file _queue.h.

102{ return c; }

Referenced by operator<(), and operator==().

◆ back() [1/2]

template<class _Tp , class _Sequence = deque<_Tp>>
reference queue< _Tp, _Sequence >::back ( )
inline

Definition at line 98 of file _queue.h.

98{ return c.back(); }
const GLubyte * c
Definition: glext.h:8905

◆ back() [2/2]

template<class _Tp , class _Sequence = deque<_Tp>>
const_reference queue< _Tp, _Sequence >::back ( ) const
inline

Definition at line 99 of file _queue.h.

99{ return c.back(); }

◆ empty()

template<class _Tp , class _Sequence = deque<_Tp>>
bool queue< _Tp, _Sequence >::empty ( ) const
inline

Definition at line 94 of file _queue.h.

94{ return c.empty(); }

◆ front() [1/2]

template<class _Tp , class _Sequence = deque<_Tp>>
reference queue< _Tp, _Sequence >::front ( )
inline

Definition at line 96 of file _queue.h.

96{ return c.front(); }

◆ front() [2/2]

template<class _Tp , class _Sequence = deque<_Tp>>
const_reference queue< _Tp, _Sequence >::front ( ) const
inline

Definition at line 97 of file _queue.h.

97{ return c.front(); }

◆ pop()

template<class _Tp , class _Sequence = deque<_Tp>>
void queue< _Tp, _Sequence >::pop ( )
inline

Definition at line 101 of file _queue.h.

101{ c.pop_front(); }

◆ push()

template<class _Tp , class _Sequence = deque<_Tp>>
void queue< _Tp, _Sequence >::push ( const value_type __x)
inline

Definition at line 100 of file _queue.h.

100{ c.push_back(__x); }

◆ size()

template<class _Tp , class _Sequence = deque<_Tp>>
size_type queue< _Tp, _Sequence >::size ( ) const
inline

Definition at line 95 of file _queue.h.

95{ return c.size(); }

Member Data Documentation

◆ c

template<class _Tp , class _Sequence = deque<_Tp>>
_Sequence queue< _Tp, _Sequence >::c
protected

Definition at line 84 of file _queue.h.

Referenced by queue< _Tp, _Sequence >::_Get_s().


The documentation for this class was generated from the following file: