Scid  4.6.5
Public Member Functions | List of all members
UI_List Class Reference

class UI_List - create a list of values to be sent to UI : 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 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

class UI_List - create a list of values to be sent to UI : 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

An heterogeneous container used to pass values from c++ to UI

Typical usage: UI_List uiList(2); uiList.push_back("string value"); uiList.push_back(5); UI_Result(ti, OK, uiList)

Definition at line 163 of file ui.h.

Constructor & Destructor Documentation

UI_List::UI_List ( size_t  max_size)
inlineexplicit

Definition at line 165 of file ui.h.


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