Inkscape
Vector Graphics Editor
|
Simplified management of enumerations of svg items with UI labels. More...
#include <enums.h>
Public Types | |
typedef EnumData< E > | Data |
Public Member Functions | |
EnumDataConverter (const EnumData< E > *cd, const unsigned int length) | |
E | get_id_from_label (const Glib::ustring &label) const |
E | get_id_from_key (const Glib::ustring &key) const |
bool | is_valid_key (const Glib::ustring &key) const |
bool | is_valid_id (const E id) const |
const Glib::ustring & | get_label (const E id) const |
const Glib::ustring & | get_key (const E id) const |
const EnumData< E > & | data (const unsigned int i) const |
Public Attributes | |
const unsigned int | _length |
Private Attributes | |
const EnumData< E > * | _data |
Simplified management of enumerations of svg items with UI labels.
typedef EnumData<E> Inkscape::Util::EnumDataConverter< E >::Data |
|
inline |
|
inline |
Definition at line 109 of file enums.h.
References Inkscape::Util::EnumDataConverter< E >::_data.
Referenced by Inkscape::UI::Dialog::ObjectsPanel::ObjectsPanel().
|
inline |
Definition at line 60 of file enums.h.
References Inkscape::Util::EnumDataConverter< E >::_data, Inkscape::Util::EnumDataConverter< E >::_length, and key.
Referenced by Inkscape::LivePathEffect::LPETaperStroke::doBeforeEffect(), Inkscape::UI::Dialog::FilterEffectsDialog::PrimitiveList::update(), and Inkscape::UI::Dialog::FilterEffectsDialog::update_settings_view().
|
inline |
Definition at line 50 of file enums.h.
References Inkscape::Util::EnumDataConverter< E >::_data, Inkscape::Util::EnumDataConverter< E >::_length, and label.
|
inline |
Definition at line 99 of file enums.h.
References Inkscape::Util::EnumDataConverter< E >::_data, Inkscape::Util::EnumDataConverter< E >::_length, and Inkscape::Util::empty_string().
Referenced by filter_add_primitive().
|
inline |
Definition at line 89 of file enums.h.
References Inkscape::Util::EnumDataConverter< E >::_data, Inkscape::Util::EnumDataConverter< E >::_length, and Inkscape::Util::empty_string().
Referenced by Inkscape::UI::Dialog::FilterEffectsDialog::add_effects(), Inkscape::UI::Dialog::FilterEffectsDialog::PrimitiveList::update(), and Inkscape::UI::Dialog::FilterEffectsDialog::update_settings_view().
|
inline |
Definition at line 80 of file enums.h.
References Inkscape::Util::EnumDataConverter< E >::_data, and Inkscape::Util::EnumDataConverter< E >::_length.
|
inline |
Definition at line 70 of file enums.h.
References Inkscape::Util::EnumDataConverter< E >::_data, Inkscape::Util::EnumDataConverter< E >::_length, and key.
|
private |
Definition at line 116 of file enums.h.
Referenced by Inkscape::Util::EnumDataConverter< E >::data(), Inkscape::Util::EnumDataConverter< E >::get_id_from_key(), Inkscape::Util::EnumDataConverter< E >::get_id_from_label(), Inkscape::Util::EnumDataConverter< E >::get_key(), Inkscape::Util::EnumDataConverter< E >::get_label(), Inkscape::Util::EnumDataConverter< E >::is_valid_id(), and Inkscape::Util::EnumDataConverter< E >::is_valid_key().
const unsigned int Inkscape::Util::EnumDataConverter< E >::_length |
Definition at line 114 of file enums.h.
Referenced by Inkscape::Util::EnumDataConverter< E >::get_id_from_key(), Inkscape::Util::EnumDataConverter< E >::get_id_from_label(), Inkscape::Util::EnumDataConverter< E >::get_key(), Inkscape::Util::EnumDataConverter< E >::get_label(), Inkscape::Util::EnumDataConverter< E >::is_valid_id(), Inkscape::Util::EnumDataConverter< E >::is_valid_key(), and Inkscape::UI::Dialog::ObjectsPanel::ObjectsPanel().