27 lines
371 B
C++
27 lines
371 B
C++
#pragma once
|
|
|
|
#include "ehs/EHS.h"
|
|
#include "ehs/Str.h"
|
|
|
|
#include "JsonBase.h"
|
|
|
|
namespace ehs
|
|
{
|
|
class EHS_LIB_IO JsonBool : public JsonBase
|
|
{
|
|
public:
|
|
bool value;
|
|
|
|
JsonBool();
|
|
|
|
JsonBool(const bool value);
|
|
|
|
JsonBool(const JsonBool& jb) = default;
|
|
|
|
operator bool() const;
|
|
|
|
operator bool&();
|
|
|
|
Str_8 ToStr(const UInt_64 level, const bool compact) const;
|
|
};
|
|
} |