MLIR-AIE
Public Member Functions | List of all members
cxxopts::KeyValue Class Reference

#include "/home/runner/work/mlir-aie/mlir-aie/runtime_lib/test_lib/cxxopts.hpp"

Public Member Functions

 KeyValue (std::string key_, std::string value_) noexcept
 
CXXOPTS_NODISCARD const std::string & key () const
 
CXXOPTS_NODISCARD const std::string & value () const
 
template<typename T >
as () const
 

Detailed Description

Definition at line 1192 of file cxxopts.hpp.

Constructor & Destructor Documentation

◆ KeyValue()

cxxopts::KeyValue::KeyValue ( std::string  key_,
std::string  value_ 
)
inlinenoexcept

Definition at line 1194 of file cxxopts.hpp.

Member Function Documentation

◆ as()

template<typename T >
T cxxopts::KeyValue::as ( ) const
inline

Definition at line 1204 of file cxxopts.hpp.

References cxxopts::values::parse_value().

◆ key()

CXXOPTS_NODISCARD const std::string & cxxopts::KeyValue::key ( ) const
inline

Definition at line 1198 of file cxxopts.hpp.

◆ value()

CXXOPTS_NODISCARD const std::string & cxxopts::KeyValue::value ( ) const
inline

Definition at line 1201 of file cxxopts.hpp.


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