23template <
typename TBase>
24class MissingOnInvalid :
public TBase
26 using BaseImpl = TBase;
29 template <
typename TIter>
33 auto es = BaseImpl::read(iterTmp, len);
38 if (!BaseImpl::valid()) {
47 static constexpr bool hasReadNoStatus()
52 template <
typename TIter>
53 void readNoStatus(TIter& iter) =
delete;
55 static constexpr bool hasNonDefaultRefresh()
62 bool updated = BaseImpl::refresh();
63 auto mode = BaseImpl::getMode();
64 if (!BaseImpl::valid()) {
68 if (mode == BaseImpl::getMode()) {
72 BaseImpl::setMode(mode);
Contains definition of various casts.
@ Missing
Field doesn't exist.
Main namespace for all classes / functions of COMMS library.
ErrorStatus
Error statuses reported by the Communication module.
Definition ErrorStatus.h:17
@ Success
Used to indicate successful outcome of the operation.