Open Lighting Architecture  0.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
ola::web::JsonBoolValue Class Reference

Detailed Description

A Bool value.

Inheritance diagram for ola::web::JsonBoolValue:
ola::web::JsonValue

Public Member Functions

 JsonBoolValue (bool value)
 Create a new JsonBoolValue.
void ToString (std::ostream *output, unsigned int) const
 Output the string representation of this value to an ostream.

Additional Inherited Members

- Protected Member Functions inherited from ola::web::JsonValue
void Indent (std::ostream *output, unsigned int indent) const
 Append the give number of spaces to the output stream.
- Static Protected Attributes inherited from ola::web::JsonValue
static const unsigned int DEFAULT_INDENT = 2
 the default indent level

Constructor & Destructor Documentation

ola::web::JsonBoolValue::JsonBoolValue ( bool  value)
inlineexplicit

Create a new JsonBoolValue.

Parameters
valuethe bool to use.

Member Function Documentation

void ola::web::JsonBoolValue::ToString ( std::ostream *  output,
unsigned  indent 
) const
inlinevirtual

Output the string representation of this value to an ostream.

Parameters
outputthe ostream to output to.
indentthe number of spaces to prepend.

Implements ola::web::JsonValue.


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