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
ola::web::JsonSection::JsonSection |
( |
bool |
allow_refresh = true | ) |
|
|
explicit |
Create a new section response
ola::web::JsonSection::~JsonSection |
( |
| ) |
|
Member Function Documentation
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: