Open Lighting Architecture: ola::JsonSection Class Reference

| Open Lighting Architecture 0.10.9

Loading...
Searching...
No Matches
Public Member Functions | List of all members
ola::JsonSection Class Reference

## Public Member Functions
| JsonSection (bool allow_refresh=true)
| ~JsonSection ()
void | SetSaveButton (const std::string &text)
void | SetError (const std::string &error)
void | AddItem (const GenericItem *item)
std::string | AsString () const

## Constructor & Destructor Documentation

## ◆ JsonSection()

ola::web::JsonSection::JsonSection | ( | bool | allow_refresh = true | ) |
| explicit

Create a new section response

## ◆ ~JsonSection()

ola::web::JsonSection::~JsonSection | ( |  | ) |

Cleanup

## Member Function Documentation

## ◆ AddItem()

void ola::web::JsonSection::AddItem | ( | const GenericItem * | item | ) |

Add an item to this section, ownership is transferred.

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

- include/ola/web/JsonSections.h
- common/web/JsonSections.cpp