wex v25.04.0
|
Offers a class to keep several objects into a templatized container. More...
#include <wex/common/tocontainer.h>
Public Member Functions | |
to_container (const std::vector< std::string > &in) | |
Constructor, using std::vector of std::string as input. | |
to_container (const wxArrayString &in) | |
Constructor, using array string as input. | |
to_container (const wxFileDialog &in) | |
Constructor, using file dialog as input. | |
to_container (const wxGenericDirCtrl &in) | |
Constructor, using generic dirctrl as input. | |
to_container (const std::string &in, const std::string &delims=" \t\r\n") | |
Constructor, using string as input, each word results in a container element. | |
to_container (const wxComboBox *cb, size_t max_items=UINT_MAX) | |
Constructor, using a combobox as input. | |
const auto & | get () const |
Returns the container. | |
Offers a class to keep several objects into a templatized container.
|
inlineexplicit |
Constructor, using file dialog as input.
Fills the container with the full paths of the files chosen.
|
inlineexplicit |
Constructor, using generic dirctrl as input.
Fills the container with the currently-selected directory or filename.
|
explicit |
Constructor, using string as input, each word results in a container element.
in | string containing elements |
delims | delimiter for elements |
|
explicit |
Constructor, using a combobox as input.
The current value in the comboxbox is used as first item in the container, the other items are appended.