PixelBullet  0.0.1
A C++ game engine
Loading...
Searching...
No Matches
PixelBullet::SparseSet< T, Index > Class Template Reference

Classes

struct  Entry
 

Public Member Functions

bool Has (Index id) const
 
void Insert (Index id, const T &value)
 
void Erase (Index id)
 
T & Get (Index id)
 
const T & Get (Index id) const
 
std::vector< T > Values () const
 
std::vector< Index > Keys () const
 
void Clear ()
 
size_t Size () const
 
bool Empty () const
 
auto begin ()
 
auto end ()
 
auto begin () const
 
auto end () const
 

Static Public Attributes

static constexpr Index INVALID_INDEX = std::numeric_limits<Index>::max()
 

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