SFM Flow Meter Driver 1.0.0
API reference
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
sfm::DriverResult< void > Struct Reference

#include <sfm_types.hpp>

Public Member Functions

constexpr bool ok () const noexcept
 
constexpr operator bool () const noexcept
 

Static Public Member Functions

static constexpr DriverResult success () noexcept
 
static constexpr DriverResult failure (DriverError e) noexcept
 

Public Attributes

DriverError error {DriverError::None}
 

Member Function Documentation

◆ failure()

static constexpr DriverResult sfm::DriverResult< void >::failure ( DriverError  e)
inlinestaticconstexprnoexcept

◆ ok()

constexpr bool sfm::DriverResult< void >::ok ( ) const
inlineconstexprnoexcept

◆ operator bool()

constexpr sfm::DriverResult< void >::operator bool ( ) const
inlineexplicitconstexprnoexcept

◆ success()

static constexpr DriverResult sfm::DriverResult< void >::success ( )
inlinestaticconstexprnoexcept

Member Data Documentation

◆ error


The documentation for this struct was generated from the following file: