Boolean.hpp
Go to the documentation of this file.
1 
6 #pragma once
7 
8 #include <etk/types.hpp>
9 #include <ejson/Value.hpp>
10 
11 namespace ejson {
15  class Boolean : public ejson::Value {
16  public:
26  Boolean(const ejson::Boolean& _obj);
31  Boolean(bool _value=false);
38  public:
43  void set(bool _value);
49  bool get(bool _errorValue=false) const;
50  };
51 }
52 
ejson::Boolean & operator=(const ejson::Boolean &_obj)
Copy constructor.
ejson namespace containing all function for JSON interpretor
Definition: Array.hpp:12
ejson Boolean interface: true/false.
Definition: Boolean.hpp:15
Boolean(ememory::SharedPtr< ejson::internal::Value > _internalValue)
Constructor.
Basic main object of all json elements.
Definition: Value.hpp:31