ARB
|
#include <ed4_flags.hxx>
Public Member Functions | |
SpeciesFlag (const std::string &shortname_, const std::string &fieldname_, int awar_idx) | |
const std::string & | get_shortname () const |
const std::string & | get_fieldname () const |
void | set_dimension (int xpos_, int width_) |
int | get_xpos () const |
int | get_width () const |
double | center_xpos () const |
const char * | prepare_itemfield () const |
Definition at line 24 of file ed4_flags.hxx.
|
inline |
Definition at line 34 of file ed4_flags.hxx.
References e4_assert.
|
inline |
Definition at line 44 of file ed4_flags.hxx.
Referenced by SpeciesFlags::calculate_header_dimensions().
|
inline |
Definition at line 45 of file ed4_flags.hxx.
Definition at line 47 of file ed4_flags.hxx.
Referenced by SpeciesFlags::calculate_header_dimensions().
|
inline |
|
inline |
|
inline |
Definition at line 60 of file ed4_flags.hxx.
References get_width(), and get_xpos().
Referenced by SpeciesFlags::calculate_header_dimensions().
const char * SpeciesFlag::prepare_itemfield | ( | ) | const |
setup DB field for flag (create changekey)
Definition at line 74 of file ED4_flags.cxx.
References AW_root::awar(), AWAR_FLAG_FIELD_TEMPLATE, awarname(), MutableItemSelector::change_key_path, e4_assert, ED4_ROOT, error(), FIF_STANDARD, GB_export_errorf(), GB_incur_error_if(), GB_INT, gb_main, GB_NONE, GBT_add_new_changekey_to_keypath(), GBT_get_type_of_changekey(), ED4_root::get_gb_main(), get_itemfield_type_awarname(), NULp, prepare_and_get_selected_itemfield(), AW_awar::read_char_pntr(), AW_root::SINGLETON, SPECIES_get_selector(), and type.