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::JsonRawValue Class Reference

Detailed Description

A raw value, useful if you want to cheat.

Inheritance diagram for ola::web::JsonRawValue:
ola::web::JsonValue

Public Member Functions

 JsonRawValue (const std::string &value)
 Create a new JsonRawValue.
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::JsonRawValue::JsonRawValue ( const std::string &  value)
inlineexplicit

Create a new JsonRawValue.

Parameters
valuethe raw data to insert.

Member Function Documentation

void ola::web::JsonRawValue::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: