| 784 | //@{ |
| 785 | |
| 786 | bool GetBool() const { RAPIDJSON_ASSERT(IsBool()); return flags_ == kTrueFlag; } |
| 787 | //!< Set boolean value |
| 788 | /*! \post IsBool() == true */ |
| 789 | GenericValue& SetBool(bool b) { this->~GenericValue(); new (this) GenericValue(b); return *this; } |