storage for kwargs parameter pack
More...
#include <kwargs/kwargs.h>
|
template<uint64_t Tag> |
constexpr bool | Contains (const Key< Tag > &key) |
| returns true if the numeric tag is a member of the kwargs in Args... More...
|
|
bool | Contains (uint64_t tag) |
|
bool | Contains (const std::string &tag) |
|
template<uint64_t Tag, typename T > |
TypeOfTagDefault< Tag, T,
Args...>::Result | Get (const Key< Tag > &key, T default_value) |
| return the value associated with Tag, if it exists in the kwargs, otherwise return the default More...
|
|
template<typename ReturnType > |
ReturnType | GetAs (uint64_t tag, ReturnType default_value) |
|
template<typename ReturnType > |
ReturnType | GetAs (const std::string &tag, ReturnType default_value) |
|
template<typename... Args>
struct kw::ParamPack< Args >
storage for kwargs parameter pack
Definition at line 73 of file kwargs.h.
template<typename... Args>
template<uint64_t Tag>
returns true if the numeric tag is a member of the kwargs in Args...
Definition at line 115 of file kwargs.h.
template<typename... Args>
template<typename... Args>
template<typename... Args>
template<uint64_t Tag, typename T >
return the value associated with Tag, if it exists in the kwargs, otherwise return the default
Definition at line 122 of file kwargs.h.
template<typename... Args>
template<typename ReturnType >
ReturnType kw::ParamPack< Args >::GetAs |
( |
uint64_t |
tag, |
|
|
ReturnType |
default_value |
|
) |
| |
|
inline |
template<typename... Args>
template<typename ReturnType >
ReturnType kw::ParamPack< Args >::GetAs |
( |
const std::string & |
tag, |
|
|
ReturnType |
default_value |
|
) |
| |
|
inline |
The documentation for this struct was generated from the following file: