|
CeresEngine 0.2.0
A game development framework
|
An enumeration that describes how the URLProtocol implementation should handle caching of this request.
More...
#include <CeresEngine/Foundation/IO/URLSession.hpp>
Public Types | |
| enum | : UnderlyingType { None = 0 , Default = None } |
| using | RawType = decltype(raw) |
Public Types inherited from CeresEngine::StructEnum< CachePolicy > | |
| using | UnderlyingType = UInt32 |
| using | Self = CachePolicy |
Public Member Functions | |
| constexpr | CachePolicy ()=default |
| constexpr | CachePolicy (RawType raw) |
| constexpr | CachePolicy (UnderlyingType raw) |
| StringView | toString () const noexcept |
Gets a string representation of CachePolicy. | |
Public Member Functions inherited from CeresEngine::StructEnum< CachePolicy > | |
| operator UnderlyingType () const noexcept | |
| Converts the enum into it's underlying type. | |
| void | toString (std::ostream &stream) const noexcept |
Writes a string representation of the ShaderType to the given stream. | |
Static Public Member Functions | |
| static Optional< CachePolicy > | fromString (StringView string) noexcept |
Creates a new CachePolicy from a string representation. | |
Static Public Member Functions inherited from CeresEngine::StructEnum< CachePolicy > | |
| static Self | fromRawUnderlying (UnderlyingType underlying) noexcept |
Creates a new Self from it's underlying numeric representation. | |
Public Attributes | |
| enum CeresEngine::IURLRequest::CachePolicy:: { ... } | raw |
An enumeration that describes how the URLProtocol implementation should handle caching of this request.
|
constexprdefault |
|
inlineexplicitconstexpr |
|
staticnoexcept |
Creates a new CachePolicy from a string representation.
If the string value is invalid, an empty optional is returned.
|
noexcept |
Gets a string representation of CachePolicy.
| enum { ... } CeresEngine::IURLRequest::CachePolicy::raw |