EHS
Loading...
Searching...
No Matches
JsonBool.h
Go to the documentation of this file.
1#pragma once
2
3#include "ehs/EHS.h"
4#include "ehs/Str.h"
5
6#include "JsonBase.h"
7
8namespace ehs
9{
10 class EHS_LIB_IO JsonBool final : public JsonBase
11 {
12 public:
13 bool value;
14
15 JsonBool();
16
17 JsonBool(bool value);
18
19 JsonBool(const JsonBool& jb) = default;
20
21 operator bool() const;
22
23 operator bool&();
24
25 Str_8 ToStr(UInt_64 level, bool compact) const override;
26 };
27}
JsonBase()
Definition JsonBase.cpp:5
JsonBool(const JsonBool &jb)=default
Str_8 ToStr(UInt_64 level, bool compact) const override
Definition JsonBool.cpp:25
JsonBool()
Definition JsonBool.cpp:5
bool value
Definition JsonBool.h:13
Definition Anchor.h:6
Str< Char_8, UInt_64 > Str_8
Definition Str.h:1902