HoviTron Video Pipeline
Public Member Functions | Data Fields
json::Bool Struct Reference
Inheritance diagram for json::Bool:
json::Value

Public Member Functions

 Bool (std::istream &stream)
 
- Public Member Functions inherited from json::Value
 Value (Node::Type type)
 

Data Fields

bool value
 
- Data Fields inherited from json::Value
Node::Type type
 

Detailed Description

Definition at line 181 of file JsonParser.cpp.

Constructor & Destructor Documentation

◆ Bool()

json::Bool::Bool ( std::istream &  stream)
inline

Definition at line 184 of file JsonParser.cpp.

184 : Value(Node::Type::boolean)
185 {
186 value = stream.peek() == 't';
187 matchText(stream, value ? "true" : "false");
188 }

Field Documentation

◆ value

bool json::Bool::value

Definition at line 190 of file JsonParser.cpp.


The documentation for this struct was generated from the following file: