VOX
A little voxel engine
Loading...
Searching...
No Matches
IdGenerator< IdType > Class Template Reference

#include <List.hpp>

Collaboration diagram for IdGenerator< IdType >:
Collaboration graph

Public Member Functions

 IdGenerator ()
 
 ~IdGenerator ()
 
 IdGenerator (IdGenerator &other)=delete
 
 IdGenerator (IdGenerator &&other)=delete
 
IdGeneratoroperator= (IdGenerator &other)=delete
 
IdGeneratoroperator= (IdGenerator &&other)=delete
 
IdType nextId ()
 

Static Public Attributes

static const IdType invalid_id = 0
 

Constructor & Destructor Documentation

◆ IdGenerator() [1/3]

template<typename IdType >
IdGenerator< IdType >::IdGenerator ( )
inline

◆ ~IdGenerator()

template<typename IdType >
IdGenerator< IdType >::~IdGenerator ( )
inline

◆ IdGenerator() [2/3]

template<typename IdType >
IdGenerator< IdType >::IdGenerator ( IdGenerator< IdType > &  other)
delete

◆ IdGenerator() [3/3]

template<typename IdType >
IdGenerator< IdType >::IdGenerator ( IdGenerator< IdType > &&  other)
delete

Member Function Documentation

◆ nextId()

template<typename IdType >
IdType IdGenerator< IdType >::nextId ( )
inline

◆ operator=() [1/2]

template<typename IdType >
IdGenerator & IdGenerator< IdType >::operator= ( IdGenerator< IdType > &&  other)
delete

◆ operator=() [2/2]

template<typename IdType >
IdGenerator & IdGenerator< IdType >::operator= ( IdGenerator< IdType > &  other)
delete

Member Data Documentation

◆ invalid_id

template<typename IdType >
const IdType IdGenerator< IdType >::invalid_id = 0
inlinestatic

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