neoGFX
Cross-platform C++ app/game engine
|
#include <item_model.hpp>
Public Types | |
typedef ContainerTraits | container_traits |
typedef container_traits::value_type | value_type |
typedef container_traits::allocator_type | allocator_type |
typedef container_traits::row_cell_array | row_cell_array |
typedef container_traits::container_type | container_type |
typedef container_type::value_type | row_type |
typedef container_traits::cell_type | cell_type |
typedef container_type::iterator | iterator |
typedef container_type::const_iterator | const_iterator |
typedef neolib::specialized_generic_iterator< iterator > | base_iterator |
typedef neolib::specialized_generic_iterator< const_iterator > | const_base_iterator |
typedef container_traits::sibling_iterator | sibling_iterator |
typedef container_traits::const_sibling_iterator | const_sibling_iterator |
typedef row_cell_array::iterator | column_iterator |
typedef row_cell_array::const_iterator | const_column_iterator |
Public Types inherited from neolib::lifetime< Base > | |
typedef neolib::destroyed_flag | destroyed_flag |
Public Member Functions | |
define_declared_event (ColumnInfoChanged, column_info_changed, item_model_index::column_type) define_declared_event(ItemAdded | |
const item_model_index & | define_declared_event (ItemChanged, item_changed, const item_model_index &) define_declared_event(ItemRemoving |
const item_model_index const item_model_index & | define_declared_event (ItemRemoved, item_removed, const item_model_index &) define_declared_event(Cleared |
basic_item_model () | |
~basic_item_model () | |
bool | is_tree () const override |
uint32_t | rows () const override |
uint32_t | columns () const override |
uint32_t | columns (item_model_index const &aIndex) const override |
std::string const & | column_name (item_model_index::value_type aColumnIndex) const override |
void | set_column_name (item_model_index::value_type aColumnIndex, std::string const &aName) override |
item_data_type | column_data_type (item_model_index::column_type aColumnIndex) const override |
void | set_column_data_type (item_model_index::column_type aColumnIndex, item_data_type aType) override |
item_cell_data const & | column_min_value (item_model_index::column_type aColumnIndex) const override |
void | set_column_min_value (item_model_index::column_type aColumnIndex, item_cell_data const &aValue) override |
item_cell_data const & | column_max_value (item_model_index::column_type aColumnIndex) const override |
void | set_column_max_value (item_model_index::column_type aColumnIndex, item_cell_data const &aValue) override |
item_cell_data const & | column_step_value (item_model_index::column_type aColumnIndex) const override |
void | set_column_step_value (item_model_index::column_type aColumnIndex, item_cell_data const &aValue) override |
i_item_model::iterator | index_to_iterator (item_model_index const &aIndex) override |
i_item_model::const_iterator | index_to_iterator (item_model_index const &aIndex) const override |
item_model_index | iterator_to_index (i_item_model::const_iterator aPosition) const override |
i_item_model::iterator | begin () override |
i_item_model::const_iterator | begin () const override |
i_item_model::iterator | end () override |
i_item_model::const_iterator | end () const override |
i_item_model::iterator | sbegin () override |
i_item_model::const_iterator | sbegin () const override |
i_item_model::iterator | send () override |
i_item_model::const_iterator | send () const override |
bool | has_children (i_item_model::const_iterator aParent) const override |
bool | has_children (const item_model_index &aParentIndex) const override |
bool | has_parent (i_item_model::const_iterator aChild) const override |
bool | has_parent (const item_model_index &aChildIndex) const override |
i_item_model::iterator | parent (i_item_model::iterator aChild) override |
i_item_model::const_iterator | parent (i_item_model::const_iterator aChild) const override |
item_model_index | parent (const item_model_index &aChildIndex) const override |
i_item_model::iterator | sbegin (i_item_model::iterator aParent) override |
i_item_model::const_iterator | sbegin (i_item_model::const_iterator aParent) const override |
i_item_model::iterator | send (i_item_model::iterator aParent) override |
i_item_model::const_iterator | send (i_item_model::const_iterator aParent) const override |
item_cell_data const & | cell_data (item_model_index const &aIndex) const override |
const item_cell_info & | cell_info (item_model_index const &aIndex) const override |
bool | empty () const override |
void | reserve (uint32_t aItemCount) override |
uint32_t | capacity () const override |
i_item_model::iterator | insert_item (i_item_model::const_iterator aPosition, value_type const &aValue) override |
i_item_model::iterator | insert_item (i_item_model::const_iterator aPosition, value_type const &aValue, item_cell_data const &aCellData) override |
i_item_model::iterator | insert_item (i_item_model::const_iterator aPosition, item_cell_data const &aCellData) override |
i_item_model::iterator | insert_item (item_model_index const &aIndex, value_type const &aValue) override |
i_item_model::iterator | insert_item (item_model_index const &aIndex, value_type const &aValue, item_cell_data const &aCellData) override |
i_item_model::iterator | insert_item (item_model_index const &aIndex, item_cell_data const &aCellData) override |
i_item_model::iterator | append_item (value_type const &aValue) override |
i_item_model::iterator | append_item (value_type const &aValue, item_cell_data const &aCellData) override |
i_item_model::iterator | append_item (i_item_model::const_iterator aParent, value_type const &aValue) override |
i_item_model::iterator | append_item (i_item_model::const_iterator aParent, value_type const &aValue, item_cell_data const &aCellData) override |
i_item_model::iterator | append_item (i_item_model::const_iterator aParent, item_cell_data const &aCellData) override |
i_item_model::iterator | append_item (item_model_index const &aIndex, value_type const &aValue) override |
i_item_model::iterator | append_item (item_model_index const &aIndex, value_type const &aValue, item_cell_data const &aCellData) override |
i_item_model::iterator | append_item (item_model_index const &aIndex, item_cell_data const &aCellData) override |
void | clear () override |
i_item_model::iterator | erase (i_item_model::const_iterator aPosition) override |
i_item_model::iterator | erase (item_model_index const &aIndex) override |
void | insert_cell_data (i_item_model::iterator aItem, item_model_index::value_type aColumnIndex, item_cell_data const &aCellData) override |
void | insert_cell_data (item_model_index const &aIndex, item_cell_data const &aCellData) override |
void | update_cell_data (i_item_model::const_iterator aPosition, item_model_index::value_type aColumnIndex, item_cell_data const &aCellData) override |
void | update_cell_data (item_model_index const &aIndex, item_cell_data const &aCellData) override |
value_type & | item (item_model_index const &aIndex) override |
value_type const & | item (item_model_index const &aIndex) const override |
container_type const & | items () const |
Public Member Functions inherited from neogfx::object< reference_counted< i_basic_item_model< T > > > | |
i_object & | as_object () override |
void | class_name (neolib::i_string &aClassName) const override |
neogfx::object_type | object_type () const override |
void | property_changed (i_property &) override |
const i_properties & | properties () const override |
i_properties & | properties () override |
void | register_property (i_property &aProperty) override |
const neogfx::property_map & | property_map () const override |
Public Member Functions inherited from neolib::object< Base > | |
define_declared_event (Destroying, destroying) | |
define_declared_event (Destroyed, destroyed) | |
object (lifetime_state aState=lifetime_state::Creating) | |
~object () | |
void | set_destroying () override |
void | set_destroyed () override |
bool | is_alive () const final |
bool | is_destroyed () const final |
Public Member Functions inherited from neolib::lifetime< Base > | |
lifetime (lifetime_state aState=lifetime_state::Alive) | |
virtual | ~lifetime () |
lifetime_state | object_state () const final |
std::shared_ptr< std::atomic< lifetime_state > > | object_state_ptr () const final |
bool | is_creating () const final |
bool | is_destroying () const final |
void | set_alive () override |
Public Member Functions inherited from neolib::i_lifetime | |
virtual | ~i_lifetime ()=default |
Public Member Functions inherited from neogfx::i_properties | |
uint32_t | count () const |
std::string | name (uint32_t aIndex) const |
const i_property & | property (uint32_t aIndex) const |
i_property & | property (uint32_t aIndex) |
Public Attributes | |
item_added | |
const item_model_index | item_removing |
Additional Inherited Members | |
Protected Member Functions inherited from neogfx::i_properties | |
neogfx::property_map & | property_map () |
Definition at line 208 of file item_model.hpp.
typedef container_traits::allocator_type neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::allocator_type |
Definition at line 221 of file item_model.hpp.
typedef neolib::specialized_generic_iterator<iterator> neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::base_iterator |
Definition at line 228 of file item_model.hpp.
typedef container_traits::cell_type neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::cell_type |
Definition at line 225 of file item_model.hpp.
typedef row_cell_array::iterator neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::column_iterator |
Definition at line 232 of file item_model.hpp.
typedef neolib::specialized_generic_iterator<const_iterator> neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::const_base_iterator |
Definition at line 229 of file item_model.hpp.
typedef row_cell_array::const_iterator neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::const_column_iterator |
Definition at line 233 of file item_model.hpp.
typedef container_type::const_iterator neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::const_iterator |
Definition at line 227 of file item_model.hpp.
typedef container_traits::const_sibling_iterator neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::const_sibling_iterator |
Definition at line 231 of file item_model.hpp.
typedef ContainerTraits neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::container_traits |
Definition at line 219 of file item_model.hpp.
typedef container_traits::container_type neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::container_type |
Definition at line 223 of file item_model.hpp.
typedef container_type::iterator neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::iterator |
Definition at line 226 of file item_model.hpp.
typedef container_traits::row_cell_array neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::row_cell_array |
Definition at line 222 of file item_model.hpp.
typedef container_type::value_type neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::row_type |
Definition at line 224 of file item_model.hpp.
typedef container_traits::sibling_iterator neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::sibling_iterator |
Definition at line 230 of file item_model.hpp.
typedef container_traits::value_type neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::value_type |
Definition at line 220 of file item_model.hpp.
|
inline |
Definition at line 242 of file item_model.hpp.
|
inline |
Definition at line 246 of file item_model.hpp.
|
inlineoverride |
Definition at line 536 of file item_model.hpp.
|
inlineoverride |
Definition at line 519 of file item_model.hpp.
|
inlineoverride |
Definition at line 530 of file item_model.hpp.
|
inlineoverride |
Definition at line 548 of file item_model.hpp.
|
inlineoverride |
Definition at line 540 of file item_model.hpp.
|
inlineoverride |
Definition at line 544 of file item_model.hpp.
|
inlineoverride |
Definition at line 511 of file item_model.hpp.
|
inlineoverride |
Definition at line 515 of file item_model.hpp.
|
inlineoverride |
Definition at line 333 of file item_model.hpp.
|
inlineoverride |
Definition at line 329 of file item_model.hpp.
|
inlineoverride |
Definition at line 474 of file item_model.hpp.
|
inlineoverride |
Definition at line 451 of file item_model.hpp.
|
inlineoverride |
Definition at line 458 of file item_model.hpp.
|
inlineoverride |
Definition at line 552 of file item_model.hpp.
|
inlineoverride |
Definition at line 280 of file item_model.hpp.
|
inlineoverride |
Definition at line 298 of file item_model.hpp.
|
inlineoverride |
Definition at line 289 of file item_model.hpp.
|
inlineoverride |
Definition at line 267 of file item_model.hpp.
|
inlineoverride |
Definition at line 307 of file item_model.hpp.
|
inlineoverride |
Definition at line 259 of file item_model.hpp.
|
inlineoverride |
Definition at line 263 of file item_model.hpp.
neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::define_declared_event | ( | ColumnInfoChanged | , |
column_info_changed | , | ||
item_model_index::column_type | |||
) |
const item_model_index & neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::define_declared_event | ( | ItemChanged | , |
item_changed | , | ||
const item_model_index & | |||
) |
const item_model_index const item_model_index & neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::define_declared_event | ( | ItemRemoved | , |
item_removed | , | ||
const item_model_index & | |||
) |
|
inlineoverride |
Definition at line 463 of file item_model.hpp.
|
inlineoverride |
Definition at line 341 of file item_model.hpp.
|
inlineoverride |
Definition at line 337 of file item_model.hpp.
|
inlineoverride |
Definition at line 557 of file item_model.hpp.
|
inlineoverride |
Definition at line 569 of file item_model.hpp.
|
inlineoverride |
Definition at line 380 of file item_model.hpp.
|
inlineoverride |
Definition at line 373 of file item_model.hpp.
|
inlineoverride |
Definition at line 394 of file item_model.hpp.
|
inlineoverride |
Definition at line 387 of file item_model.hpp.
|
inlineoverride |
Definition at line 321 of file item_model.hpp.
|
inlineoverride |
Definition at line 317 of file item_model.hpp.
|
inlineoverride |
Definition at line 573 of file item_model.hpp.
|
inlineoverride |
Definition at line 582 of file item_model.hpp.
|
inlineoverride |
Definition at line 495 of file item_model.hpp.
|
inlineoverride |
Definition at line 481 of file item_model.hpp.
|
inlineoverride |
Definition at line 487 of file item_model.hpp.
|
inlineoverride |
Definition at line 507 of file item_model.hpp.
|
inlineoverride |
Definition at line 499 of file item_model.hpp.
|
inlineoverride |
Definition at line 503 of file item_model.hpp.
|
inlineoverride |
Definition at line 251 of file item_model.hpp.
|
inlineoverride |
Definition at line 612 of file item_model.hpp.
|
inlineoverride |
Definition at line 608 of file item_model.hpp.
|
inline |
Definition at line 617 of file item_model.hpp.
|
inlineoverride |
Definition at line 325 of file item_model.hpp.
|
inlineoverride |
Definition at line 415 of file item_model.hpp.
|
inlineoverride |
Definition at line 408 of file item_model.hpp.
|
inlineoverride |
Definition at line 401 of file item_model.hpp.
|
inlineoverride |
Definition at line 467 of file item_model.hpp.
|
inlineoverride |
Definition at line 255 of file item_model.hpp.
|
inlineoverride |
Definition at line 352 of file item_model.hpp.
|
inlineoverride |
Definition at line 345 of file item_model.hpp.
|
inlineoverride |
Definition at line 429 of file item_model.hpp.
|
inlineoverride |
Definition at line 422 of file item_model.hpp.
|
inlineoverride |
Definition at line 366 of file item_model.hpp.
|
inlineoverride |
Definition at line 359 of file item_model.hpp.
|
inlineoverride |
Definition at line 443 of file item_model.hpp.
|
inlineoverride |
Definition at line 436 of file item_model.hpp.
|
inlineoverride |
Definition at line 284 of file item_model.hpp.
|
inlineoverride |
Definition at line 302 of file item_model.hpp.
|
inlineoverride |
Definition at line 293 of file item_model.hpp.
|
inlineoverride |
Definition at line 273 of file item_model.hpp.
|
inlineoverride |
Definition at line 311 of file item_model.hpp.
|
inlineoverride |
Definition at line 586 of file item_model.hpp.
|
inlineoverride |
Definition at line 590 of file item_model.hpp.
neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::item_added |
Definition at line 213 of file item_model.hpp.
const item_model_index neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::item_removing |
Definition at line 215 of file item_model.hpp.