WebCFace 2.5.2
Web-based Communication Framework & Dashboard-like UI
|
#include <string>
#include <vector>
#include <tuple>
#include <cstdint>
#include <ostream>
#include <variant>
#include "encoding.h"
#include "webcface-config.h"
Go to the source code of this file.
Classes | |
class | ValAdaptor |
数値、文字列などの値を相互変換するクラス More... | |
Namespaces | |
namespace | webcface |
namespace | webcface::encoding |
Typedefs | |
using | ValType = webcface::ValType |
using | ValAdaptor = webcface::ValAdaptor |
Enumerations | |
enum class | ValType { none_ = 0 , string_ = 1 , bool_ = 2 , int_ = 3 , float_ = 4 , double_ = 4 } |
引数や戻り値の型を表すenum More... | |
Functions | |
template<typename T > | |
ValType | valTypeOf () |
TのValTypeを得る | |
std::string | valTypeStr (ValType a) |
型名を文字列で取得 | |
std::ostream & | operator<< (std::ostream &os, ValType a) |
型名を出力する。 | |
template<typename T , typename std::enable_if_t< std::is_constructible_v< ValAdaptor, T > &&!std::is_same_v< ValAdaptor, T >, std::nullptr_t > = nullptr> | |
bool | operator== (const T &other, const ValAdaptor &val) |
template<typename T , typename std::enable_if_t< std::is_constructible_v< ValAdaptor, T > &&!std::is_same_v< ValAdaptor, T >, std::nullptr_t > = nullptr> | |
bool | operator!= (const T &other, const ValAdaptor &val) |
std::ostream & | operator<< (std::ostream &os, const ValAdaptor &a) |
template<int n = 0, typename T > | |
void | argToTuple (const std::vector< ValAdaptor > &args, T &tuple) |
ValAdaptorのリストから任意の型のタプルに変換する | |
template<typename T > | |
webcface::ValType | valTypeOf () |
std::string | valTypeStr (webcface::ValType a) |
template<int n = 0, typename T > | |
void | argToTuple (const std::vector< webcface::ValAdaptor > &args, T &tuple) |