14 #ifndef ITEM_SEL_LIST_H
15 #define ITEM_SEL_LIST_H
23 #ifndef _GLIBCXX_STRING
27 #define PSEUDO_FIELD_ANY_FIELD "[any field]"
28 #define PSEUDO_FIELD_ALL_FIELDS "[all fields]"
29 #define PSEUDO_FIELD_ANY_FIELD_REC "[any recursive]"
30 #define PSEUDO_FIELD_ALL_FIELDS_REC "[all recursive]"
60 bool shall_display_type(
GB_TYPES key_type)
const {
return type_filter & (1 << key_type); }
93 : awar_name(awar_name_),
97 type_filter(type_filter_),
98 field_filter(field_filter_)
149 #error item_sel_list.h included twice
150 #endif // ITEM_SEL_LIST_H
const std::string & get_described_field() const
Itemfield_Selection * build_sel(AW_selection_list *from_sellist) const
CONSTEXPR long FIELD_FILTER_FLOAT_WRITEABLE
return string(buffer, length)
bool new_fields_allowed() const
void create_itemfield_selection_button(AW_window *aws, const FieldSelDef &selDef, const char *at)
long get_type_filter() const
Itemfield_Selection * create_itemfield_selection_list(AW_window *aws, const FieldSelDef &selDef, const char *at)
GBDATA * get_gb_main() const
void gene_field_selection_list_unhide_all_cb(AW_window *, GBDATA *gb_main)
void species_field_selection_list_update_cb(AW_window *, GBDATA *gb_main)
const std::string & get_awarname() const
ItemSelector & get_itemtype() const
CONSTEXPR long FIELD_FILTER_NDS
const char * get_itemfield_type_awarname(const char *itemfield_awarname)
FieldSelDef(const char *awar_name_, GBDATA *gb_main_, ItemSelector &selector_, long type_filter_, const char *purpose_="field", SelectableFields field_filter_=SF_STANDARD)
void experiment_field_selection_list_update_cb(AW_window *, GBDATA *gb_main)
const char * prepare_and_get_selected_itemfield(AW_root *awr, const char *awar_name, GBDATA *gb_main, const ItemSelector &itemtype, FailIfField failIf=FIF_STANDARD)
void experiment_field_selection_list_unhide_all_cb(AW_window *, GBDATA *gb_main)
void species_field_selection_list_rescan(GBDATA *gb_main, RescanMode mode)
Itemfield_Selection(AW_selection_list *sellist_, GBDATA *gb_key_data, long type_filter_, SelectableFields field_filter_, ItemSelector &selector_)
CONSTEXPR long FIELD_FILTER_STRING_WRITEABLE
CONSTEXPR long FIELD_FILTER_ANY_FIELD
SelectableFields get_field_filter() const
void species_field_selection_list_unhide_all_cb(AW_window *, GBDATA *gb_main)
void gene_field_selection_list_rescan(GBDATA *gb_main, RescanMode mode)
bool matches4reuse(const FieldSelDef &other) const
void gene_field_selection_list_update_cb(AW_window *, GBDATA *gb_main)
ItemSelector & get_selector() const
long get_type_filter() const
CONSTEXPR long FIELD_FILTER_INT_WRITEABLE
CONSTEXPR long FIELD_FILTER_STRING
CONSTEXPR long FIELD_FILTER_BYTE_WRITEABLE
CONSTEXPR long FIELD_FILTER_STRING_READABLE
CONSTEXPR long FIELD_UNFILTERED