Luanti 5.11.0-dev
 
Loading...
Searching...
No Matches
UniqueQueue< Value > Class Template Reference

#include <container.h>

+ Collaboration diagram for UniqueQueue< Value >:

Public Member Functions

bool push_back (const Value &value)
 
void pop_front ()
 
const Value & front () const
 
u32 size () const
 

Private Attributes

std::set< Value > m_set
 
std::queue< Value > m_queue
 

Member Function Documentation

◆ front()

template<typename Value >
const Value & UniqueQueue< Value >::front ( ) const
inline

References UniqueQueue< Value >::m_queue.

Referenced by ServerMap::finishBlockMake(), and ServerMap::transformLiquids().

+ Here is the caller graph for this function:

◆ pop_front()

template<typename Value >
void UniqueQueue< Value >::pop_front ( )
inline

References UniqueQueue< Value >::m_queue, and UniqueQueue< Value >::m_set.

Referenced by ServerMap::finishBlockMake(), and ServerMap::transformLiquids().

+ Here is the caller graph for this function:

◆ push_back()

template<typename Value >
bool UniqueQueue< Value >::push_back ( const Value & value)
inline

References UniqueQueue< Value >::m_queue, and UniqueQueue< Value >::m_set.

Referenced by ServerMap::addNodeAndUpdate(), ServerMap::finishBlockMake(), ReflowScan::scanColumn(), ServerMap::transforming_liquid_add(), ServerMap::transformLiquids(), and Mapgen::updateLiquid().

+ Here is the caller graph for this function:

◆ size()

template<typename Value >
u32 UniqueQueue< Value >::size ( ) const
inline

References UniqueQueue< Value >::m_queue.

Referenced by ServerMap::finishBlockMake(), and ServerMap::transformLiquids().

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_queue

template<typename Value >
std::queue<Value> UniqueQueue< Value >::m_queue
private

◆ m_set

template<typename Value >
std::set<Value> UniqueQueue< Value >::m_set
private

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