Open Lighting Architecture  Latest Git
Public Member Functions | List of all members
ola::web::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: