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::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

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

Create a new section response

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

Cleanup

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: