|
template<typename T , typename... Args> |
void | add (Args &&...args) |
|
void | clear () |
|
bool | contains (std::string_view name) const |
|
bool | empty () const |
|
IDecompressor< std::string_view, std::string > * | get (std::string_view name) |
|
void | remove (std::string_view name) |
|
size_t | size () const |
|
|
std::vector< std::unique_ptr< IDecompressor< std::string_view, std::string > > > | m_decompressors |
|
◆ 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 |
The documentation for this class was generated from the following file: