Scid
4.7.0
|
An heterogeneous container used to pass a list of values from c++ to UI. More...
#include <ui.h>
Public Member Functions | |
UI_List (size_t max_size) | |
![]() | |
List (size_t max_size) | |
~List () | |
void | clear () |
void | push_back (Tcl_Obj *value) |
template<typename T > | |
void | push_back (const T &value) |
An heterogeneous container used to pass a list of values from c++ to UI.
max_size | currently there is no automatic reallocation in push_back() so the constructor must know the max number of values that will be stored in the list. |
Typical usage: UI_List uiList(2); uiList.push_back("string value"); uiList.push_back(5); UI_Result(ti, OK, uiList)