Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Queue< E > Class Template Reference

#include <JETSCAPE/blob/main/external_packages/googletest/googletest/samples/sample3-inl.h>

Public Member Functions

 Queue ()
 
 ~Queue ()
 
void Clear ()
 
size_t Size () const
 
QueueNode< E > * Head ()
 
const QueueNode< E > * Head () const
 
QueueNode< E > * Last ()
 
const QueueNode< E > * Last () const
 
void Enqueue (const E &element)
 
EDequeue ()
 
template<typename F >
QueueMap (F function) const
 

Private Member Functions

 Queue (const Queue &)
 
const Queueoperator= (const Queue &)
 

Private Attributes

QueueNode< E > * head_
 
QueueNode< E > * last_
 
size_t size_
 

Detailed Description

template<typename E>
class Queue< E >

Definition at line 44 of file sample3-inl.h.

View newest version in sPHENIX GitHub at line 44 of file sample3-inl.h

Constructor & Destructor Documentation

template<typename E>
Queue< E >::Queue ( )
inline

Definition at line 77 of file sample3-inl.h.

View newest version in sPHENIX GitHub at line 77 of file sample3-inl.h

Referenced by Queue< int >::Map().

+ Here is the caller graph for this function:

template<typename E>
Queue< E >::~Queue ( )
inline

Definition at line 80 of file sample3-inl.h.

View newest version in sPHENIX GitHub at line 80 of file sample3-inl.h

template<typename E>
Queue< E >::Queue ( const Queue< E > &  )
private

Member Function Documentation

template<typename E>
void Queue< E >::Clear ( void  )
inline

Definition at line 83 of file sample3-inl.h.

View newest version in sPHENIX GitHub at line 83 of file sample3-inl.h

Referenced by Queue< int >::~Queue().

+ Here is the caller graph for this function:

template<typename E>
E* Queue< E >::Dequeue ( )
inline

Definition at line 131 of file sample3-inl.h.

View newest version in sPHENIX GitHub at line 131 of file sample3-inl.h

template<typename E>
void Queue< E >::Enqueue ( const E element)
inline

Definition at line 116 of file sample3-inl.h.

View newest version in sPHENIX GitHub at line 116 of file sample3-inl.h

Referenced by Queue< int >::Map(), and QueueTest::SetUp().

+ Here is the caller graph for this function:

template<typename E>
QueueNode<E>* Queue< E >::Head ( )
inline

Definition at line 105 of file sample3-inl.h.

View newest version in sPHENIX GitHub at line 105 of file sample3-inl.h

Referenced by QueueTest::MapTester().

+ Here is the caller graph for this function:

template<typename E>
const QueueNode<E>* Queue< E >::Head ( ) const
inline

Definition at line 106 of file sample3-inl.h.

View newest version in sPHENIX GitHub at line 106 of file sample3-inl.h

template<typename E>
QueueNode<E>* Queue< E >::Last ( )
inline

Definition at line 109 of file sample3-inl.h.

View newest version in sPHENIX GitHub at line 109 of file sample3-inl.h

template<typename E>
const QueueNode<E>* Queue< E >::Last ( ) const
inline

Definition at line 110 of file sample3-inl.h.

View newest version in sPHENIX GitHub at line 110 of file sample3-inl.h

template<typename E>
template<typename F >
Queue* Queue< E >::Map ( F  function) const
inline

Definition at line 153 of file sample3-inl.h.

View newest version in sPHENIX GitHub at line 153 of file sample3-inl.h

Referenced by QueueTest::MapTester().

+ Here is the caller graph for this function:

template<typename E>
const Queue& Queue< E >::operator= ( const Queue< E > &  )
private
template<typename E>
size_t Queue< E >::Size ( ) const
inline

Definition at line 102 of file sample3-inl.h.

View newest version in sPHENIX GitHub at line 102 of file sample3-inl.h

Referenced by QueueTest::MapTester().

+ Here is the caller graph for this function:

Member Data Documentation

template<typename E>
QueueNode<E>* Queue< E >::head_
private

Definition at line 163 of file sample3-inl.h.

View newest version in sPHENIX GitHub at line 163 of file sample3-inl.h

Referenced by Queue< int >::Clear(), Queue< int >::Dequeue(), Queue< int >::Enqueue(), Queue< int >::Head(), and Queue< int >::Map().

template<typename E>
QueueNode<E>* Queue< E >::last_
private

Definition at line 164 of file sample3-inl.h.

View newest version in sPHENIX GitHub at line 164 of file sample3-inl.h

Referenced by Queue< int >::Clear(), Queue< int >::Dequeue(), Queue< int >::Enqueue(), and Queue< int >::Last().

template<typename E>
size_t Queue< E >::size_
private

Definition at line 165 of file sample3-inl.h.

View newest version in sPHENIX GitHub at line 165 of file sample3-inl.h

Referenced by Queue< int >::Clear(), Queue< int >::Dequeue(), Queue< int >::Enqueue(), and Queue< int >::Size().


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