#include <DecompressorContainer.hpp>
◆ DecompressorContainer()
tson::DecompressorContainer::DecompressorContainer |
( |
| ) |
|
|
inlinedefault |
◆ add()
template<typename T , typename... Args>
void tson::DecompressorContainer::add |
( |
Args &&... |
args | ) |
|
|
inline |
◆ clear()
void tson::DecompressorContainer::clear |
( |
| ) |
|
|
inline |
◆ contains()
bool tson::DecompressorContainer::contains |
( |
std::string_view |
name | ) |
const |
|
inline |
- Parameters
-
name | The name of the decompressor to check whether exists. |
- Returns
- Whether a decompressor with the given name exists or not.
◆ empty()
bool tson::DecompressorContainer::empty |
( |
| ) |
const |
|
inline |
Check if container is empty
- Returns
- Whether or not the container is empty
◆ get()
IDecompressor< std::string_view, std::string > * tson::DecompressorContainer::get |
( |
std::string_view |
name | ) |
|
|
inline |
- Parameters
-
name | The name of the container |
- Returns
- An ICompressor pointer if it exists. nullptr otherwise.
◆ remove()
void tson::DecompressorContainer::remove |
( |
std::string_view |
name | ) |
|
|
inline |
Removed an element with the given name.
- Parameters
-
name | The name of the decompressor |
◆ size()
size_t tson::DecompressorContainer::size |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: