Scid  4.7.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | List of all members
UI_List Class Reference

An heterogeneous container used to pass a list of values from c++ to UI. More...

#include <ui.h>

Inheritance diagram for UI_List:
Inheritance graph
[legend]
Collaboration diagram for UI_List:
Collaboration graph
[legend]

Public Member Functions

 UI_List (size_t max_size)
 
- Public Member Functions inherited from UI_impl::List
 List (size_t max_size)
 
 ~List ()
 
void clear ()
 
void push_back (Tcl_Obj *value)
 
template<typename T >
void push_back (const T &value)
 

Detailed Description

An heterogeneous container used to pass a list of values from c++ to UI.

Parameters
max_sizecurrently 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)

Definition at line 162 of file ui.h.

Constructor & Destructor Documentation

◆ UI_List()

UI_List::UI_List ( size_t  max_size)
inlineexplicit

Definition at line 164 of file ui.h.


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