|
RawSpeed
fast raw decoding library
|
#include "bitstreams/BitStreamerJPEG.h"
Public Member Functions | |
| PosOrUnknown ()=default | |
| bool | has_value () const RAWSPEED_READONLY |
| template<typename U> requires std::same_as<U, T> | |
| PosOrUnknown & | operator= (U newValue) |
| template<typename U> requires std::same_as<U, T> | |
| T | value_or (U fallback) const |
Private Attributes | |
| T | val = -1 |
Definition at line 42 of file BitStreamerJPEG.h.
|
default |
|
inlinenodiscard |
Definition at line 48 of file BitStreamerJPEG.h.
References val.
Referenced by operator=(), and value_or().
|
inline |
Definition at line 52 of file BitStreamerJPEG.h.
References PosOrUnknown(), has_value(), invariant, and val.
|
inlinenodiscard |
Definition at line 61 of file BitStreamerJPEG.h.
References has_value(), rawspeed::T(), and val.
|
private |
Definition at line 43 of file BitStreamerJPEG.h.
Referenced by has_value(), operator=(), and value_or().