BioCMAMC-ST
ApiResult Struct Reference

#include <results.hpp>

Inheritance diagram for ApiResult:
[legend]
Collaboration diagram for ApiResult:
[legend]

Public Member Functions

 ApiResult (std::string_view t) noexcept
constexpr ApiResult () noexcept=default
constexpr int to_c_ret_code ()
Public Member Functions inherited from Result< Success, std::string >
constexpr Result () noexcept
constexpr operator bool () const noexcept
constexpr bool valid () const noexcept
constexpr bool invalid () const noexcept
constexpr auto get () const noexcept -> std::string
auto gets () const -> Success
auto match (Func &&f, Err &&r) noexcept

Constructor & Destructor Documentation

◆ ApiResult() [1/2]

ApiResult::ApiResult ( std::string_view t)
inlineexplicitnoexcept
Here is the call graph for this function:

◆ ApiResult() [2/2]

ApiResult::ApiResult ( )
explicitconstexprdefaultnoexcept

Member Function Documentation

◆ to_c_ret_code()

int ApiResult::to_c_ret_code ( )
inlineconstexpr
Here is the call graph for this function:
Here is the caller graph for this function:

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