Otclient  14/8/2020
stdext::packed_storage< Key, SizeType > Class Template Reference

#include <packed_storage.h>

Public Member Functions

 packed_storage ()
 
 ~packed_storage ()
 
template<typename T >
void set (Key id, const T &value)
 
bool remove (Key id)
 
template<typename T >
get (Key id) const
 
bool has (Key id) const
 
void clear ()
 
std::size_t size ()
 

Detailed Description

template<typename Key, typename SizeType = uint8>
class stdext::packed_storage< Key, SizeType >

Definition at line 36 of file packed_storage.h.

Constructor & Destructor Documentation

◆ packed_storage()

template<typename Key , typename SizeType = uint8>
stdext::packed_storage< Key, SizeType >::packed_storage ( )
inline

Definition at line 43 of file packed_storage.h.

◆ ~packed_storage()

template<typename Key , typename SizeType = uint8>
stdext::packed_storage< Key, SizeType >::~packed_storage ( )
inline

Definition at line 44 of file packed_storage.h.

Member Function Documentation

◆ clear()

template<typename Key , typename SizeType = uint8>
void stdext::packed_storage< Key, SizeType >::clear ( )
inline

Definition at line 94 of file packed_storage.h.

◆ get()

template<typename Key , typename SizeType = uint8>
template<typename T >
T stdext::packed_storage< Key, SizeType >::get ( Key  id) const
inline

Definition at line 80 of file packed_storage.h.

Here is the caller graph for this function:

◆ has()

template<typename Key , typename SizeType = uint8>
bool stdext::packed_storage< Key, SizeType >::has ( Key  id) const
inline

Definition at line 87 of file packed_storage.h.

Here is the caller graph for this function:

◆ remove()

template<typename Key , typename SizeType = uint8>
bool stdext::packed_storage< Key, SizeType >::remove ( Key  id)
inline

Definition at line 63 of file packed_storage.h.

Here is the caller graph for this function:

◆ set()

template<typename Key , typename SizeType = uint8>
template<typename T >
void stdext::packed_storage< Key, SizeType >::set ( Key  id,
const T &  value 
)
inline

Definition at line 47 of file packed_storage.h.

Here is the caller graph for this function:

◆ size()

template<typename Key , typename SizeType = uint8>
std::size_t stdext::packed_storage< Key, SizeType >::size ( )
inline

Definition at line 101 of file packed_storage.h.


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