Compression.h File Reference
#include "Types.h"
Include dependency graph for Compression.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
| struct | IFS::Compression |
| A compression descriptor. More... | |
Namespaces | |
| IFS | |
Macros | |
| #define | IFS_COMPRESSION_TYPE_MAP(XX) |
| compression type More... | |
| #define | XX(_tag, _comment) _tag, |
Functions | |||||
| String | toString (IFS::Compression::Type type) | ||||
| Get the string representation for the given compression type. More... | |||||
Return compression corresponding to given string | |||||
| |||||
| Compression::Type | IFS::getCompressionType (const char *str, Compression::Type defaultValue=Compression::Type::None) | ||||
| Compression::Type | IFS::getCompressionType (const String &str, Compression::Type defaultValue=Compression::Type::None) | ||||
Return compression corresponding to given string | |||||
| |||||
| Compression::Type | IFS::getCompressionType (const char *str, Compression::Type defaultValue=Compression::Type::None) | ||||
| Compression::Type | IFS::getCompressionType (const String &str, Compression::Type defaultValue=Compression::Type::None) | ||||
Macro Definition Documentation
◆ IFS_COMPRESSION_TYPE_MAP
| #define IFS_COMPRESSION_TYPE_MAP | ( | XX | ) |
Value:
XX(None, "Normal file, no compression") \
XX(GZip, "GZIP compressed for serving via HTTP")
compression type
◆ XX
| #define XX | ( | _tag, | |
| _comment | |||
| ) | _tag, |
Function Documentation
◆ toString()
| String toString | ( | IFS::Compression::Type | type | ) |
Get the string representation for the given compression type.
- Return values
-
String
1.8.17