semilimes mcu sdk 0.1
semilimes Software Development Kit for microcontrollers
Loading...
Searching...
No Matches
FcSingleChoice Class Reference

Public Member Functions

 FcSingleChoice (char *json, char *jsonArray)
 
void setObj (char *refname, char *title, bool reqSel, char *value)
 
void addOptions (char *name, char *value)
 
void appendOptions ()
 

Constructor & Destructor Documentation

◆ FcSingleChoice()

FcSingleChoice::FcSingleChoice ( char * json,
char * jsonArray )
inline
Parameters
json- it is the char array that will contain the whole json script
jsonArray- it is a temporary char array that will contain the Options
Returns
void

Member Function Documentation

◆ addOptions()

void FcSingleChoice::addOptions ( char * name,
char * value )
Parameters
name- is the option identifier
value- text displayed to the user
Returns
void

◆ appendOptions()

void FcSingleChoice::appendOptions ( )
Returns
void

◆ setObj()

void FcSingleChoice::setObj ( char * refname,
char * title,
bool reqSel,
char * value )
Parameters
refname- it is the reference name of the object
title- is the global label displayed at the beginning of the component
reqSel- indicates if the selection is required to submit the form
value- points to one of the choices name and determines which option is selected on submission
Returns
void

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