neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neogfx::basic_item_model< T, Columns, CellType, ContainerTraits > Class Template Reference

#include <item_model.hpp>

Inheritance diagram for neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >:
neogfx::object< reference_counted< i_basic_item_model< T > > > neolib::object< Base > neogfx::i_properties neolib::lifetime< Base > neolib::i_lifetime neogfx::DesignStudio::widget_property_model

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< iteratorbase_iterator
 
typedef neolib::specialized_generic_iterator< const_iteratorconst_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_indexdefine_declared_event (ItemChanged, item_changed, const item_model_index &) define_declared_event(ItemRemoving
 
const item_model_index const item_model_indexdefine_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_typeitem (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_objectas_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_propertiesproperties () const override
 
i_propertiesproperties () override
 
void register_property (i_property &aProperty) override
 
const neogfx::property_mapproperty_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_propertyproperty (uint32_t aIndex) const
 
i_propertyproperty (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_mapproperty_map ()
 

Detailed Description

template<typename T, uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
class neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >

Definition at line 208 of file item_model.hpp.

Member Typedef Documentation

◆ allocator_type

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
typedef container_traits::allocator_type neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::allocator_type

Definition at line 221 of file item_model.hpp.

◆ base_iterator

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
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.

◆ cell_type

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
typedef container_traits::cell_type neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::cell_type

Definition at line 225 of file item_model.hpp.

◆ column_iterator

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
typedef row_cell_array::iterator neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::column_iterator

Definition at line 232 of file item_model.hpp.

◆ const_base_iterator

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
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.

◆ const_column_iterator

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
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.

◆ const_iterator

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
typedef container_type::const_iterator neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::const_iterator

Definition at line 227 of file item_model.hpp.

◆ const_sibling_iterator

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
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.

◆ container_traits

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
typedef ContainerTraits neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::container_traits

Definition at line 219 of file item_model.hpp.

◆ container_type

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
typedef container_traits::container_type neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::container_type

Definition at line 223 of file item_model.hpp.

◆ iterator

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
typedef container_type::iterator neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::iterator

Definition at line 226 of file item_model.hpp.

◆ row_cell_array

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
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.

◆ row_type

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
typedef container_type::value_type neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::row_type

Definition at line 224 of file item_model.hpp.

◆ sibling_iterator

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
typedef container_traits::sibling_iterator neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::sibling_iterator

Definition at line 230 of file item_model.hpp.

◆ value_type

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
typedef container_traits::value_type neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::value_type

Definition at line 220 of file item_model.hpp.

Constructor & Destructor Documentation

◆ basic_item_model()

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::basic_item_model ( )
inline

Definition at line 242 of file item_model.hpp.

◆ ~basic_item_model()

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::~basic_item_model ( )
inline

Definition at line 246 of file item_model.hpp.

Member Function Documentation

◆ append_item() [1/8]

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
i_item_model::iterator neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::append_item ( i_item_model::const_iterator  aParent,
item_cell_data const &  aCellData 
)
inlineoverride

Definition at line 536 of file item_model.hpp.

◆ append_item() [2/8]

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
i_item_model::iterator neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::append_item ( i_item_model::const_iterator  aParent,
value_type const &  aValue 
)
inlineoverride

Definition at line 519 of file item_model.hpp.

◆ append_item() [3/8]

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
i_item_model::iterator neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::append_item ( i_item_model::const_iterator  aParent,
value_type const &  aValue,
item_cell_data const &  aCellData 
)
inlineoverride

Definition at line 530 of file item_model.hpp.

◆ append_item() [4/8]

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
i_item_model::iterator neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::append_item ( item_model_index const &  aIndex,
item_cell_data const &  aCellData 
)
inlineoverride

Definition at line 548 of file item_model.hpp.

◆ append_item() [5/8]

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
i_item_model::iterator neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::append_item ( item_model_index const &  aIndex,
value_type const &  aValue 
)
inlineoverride

Definition at line 540 of file item_model.hpp.

◆ append_item() [6/8]

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
i_item_model::iterator neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::append_item ( item_model_index const &  aIndex,
value_type const &  aValue,
item_cell_data const &  aCellData 
)
inlineoverride

Definition at line 544 of file item_model.hpp.

◆ append_item() [7/8]

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
i_item_model::iterator neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::append_item ( value_type const &  aValue)
inlineoverride

Definition at line 511 of file item_model.hpp.

◆ append_item() [8/8]

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
i_item_model::iterator neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::append_item ( value_type const &  aValue,
item_cell_data const &  aCellData 
)
inlineoverride

Definition at line 515 of file item_model.hpp.

◆ begin() [1/2]

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
i_item_model::const_iterator neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::begin ( ) const
inlineoverride

Definition at line 333 of file item_model.hpp.

◆ begin() [2/2]

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
i_item_model::iterator neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::begin ( )
inlineoverride

Definition at line 329 of file item_model.hpp.

◆ capacity()

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
uint32_t neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::capacity ( ) const
inlineoverride

Definition at line 474 of file item_model.hpp.

◆ cell_data()

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
item_cell_data const & neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::cell_data ( item_model_index const &  aIndex) const
inlineoverride

Definition at line 451 of file item_model.hpp.

◆ cell_info()

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
const item_cell_info & neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::cell_info ( item_model_index const &  aIndex) const
inlineoverride

Definition at line 458 of file item_model.hpp.

◆ clear()

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
void neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::clear ( )
inlineoverride

Definition at line 552 of file item_model.hpp.

◆ column_data_type()

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
item_data_type neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::column_data_type ( item_model_index::column_type  aColumnIndex) const
inlineoverride

Definition at line 280 of file item_model.hpp.

◆ column_max_value()

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
item_cell_data const & neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::column_max_value ( item_model_index::column_type  aColumnIndex) const
inlineoverride

Definition at line 298 of file item_model.hpp.

◆ column_min_value()

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
item_cell_data const & neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::column_min_value ( item_model_index::column_type  aColumnIndex) const
inlineoverride

Definition at line 289 of file item_model.hpp.

◆ column_name()

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
std::string const & neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::column_name ( item_model_index::value_type  aColumnIndex) const
inlineoverride

Definition at line 267 of file item_model.hpp.

◆ column_step_value()

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
item_cell_data const & neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::column_step_value ( item_model_index::column_type  aColumnIndex) const
inlineoverride

Definition at line 307 of file item_model.hpp.

◆ columns() [1/2]

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
uint32_t neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::columns ( ) const
inlineoverride

Definition at line 259 of file item_model.hpp.

◆ columns() [2/2]

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
uint32_t neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::columns ( item_model_index const &  aIndex) const
inlineoverride

Definition at line 263 of file item_model.hpp.

◆ define_declared_event() [1/3]

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::define_declared_event ( ColumnInfoChanged  ,
column_info_changed  ,
item_model_index::column_type   
)

◆ define_declared_event() [2/3]

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
const item_model_index & neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::define_declared_event ( ItemChanged  ,
item_changed  ,
const item_model_index  
)

◆ define_declared_event() [3/3]

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
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  
)

◆ empty()

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
bool neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::empty ( ) const
inlineoverride

Definition at line 463 of file item_model.hpp.

◆ end() [1/2]

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
i_item_model::const_iterator neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::end ( ) const
inlineoverride

Definition at line 341 of file item_model.hpp.

◆ end() [2/2]

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
i_item_model::iterator neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::end ( )
inlineoverride

Definition at line 337 of file item_model.hpp.

◆ erase() [1/2]

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
i_item_model::iterator neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::erase ( i_item_model::const_iterator  aPosition)
inlineoverride

Definition at line 557 of file item_model.hpp.

◆ erase() [2/2]

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
i_item_model::iterator neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::erase ( item_model_index const &  aIndex)
inlineoverride

Definition at line 569 of file item_model.hpp.

◆ has_children() [1/2]

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
bool neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::has_children ( const item_model_index aParentIndex) const
inlineoverride

Definition at line 380 of file item_model.hpp.

◆ has_children() [2/2]

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
bool neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::has_children ( i_item_model::const_iterator  aParent) const
inlineoverride

Definition at line 373 of file item_model.hpp.

◆ has_parent() [1/2]

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
bool neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::has_parent ( const item_model_index aChildIndex) const
inlineoverride

Definition at line 394 of file item_model.hpp.

◆ has_parent() [2/2]

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
bool neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::has_parent ( i_item_model::const_iterator  aChild) const
inlineoverride

Definition at line 387 of file item_model.hpp.

◆ index_to_iterator() [1/2]

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
i_item_model::const_iterator neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::index_to_iterator ( item_model_index const &  aIndex) const
inlineoverride

Definition at line 321 of file item_model.hpp.

◆ index_to_iterator() [2/2]

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
i_item_model::iterator neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::index_to_iterator ( item_model_index const &  aIndex)
inlineoverride

Definition at line 317 of file item_model.hpp.

◆ insert_cell_data() [1/2]

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
void neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::insert_cell_data ( i_item_model::iterator  aItem,
item_model_index::value_type  aColumnIndex,
item_cell_data const &  aCellData 
)
inlineoverride

Definition at line 573 of file item_model.hpp.

◆ insert_cell_data() [2/2]

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
void neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::insert_cell_data ( item_model_index const &  aIndex,
item_cell_data const &  aCellData 
)
inlineoverride

Definition at line 582 of file item_model.hpp.

◆ insert_item() [1/6]

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
i_item_model::iterator neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::insert_item ( i_item_model::const_iterator  aPosition,
item_cell_data const &  aCellData 
)
inlineoverride

Definition at line 495 of file item_model.hpp.

◆ insert_item() [2/6]

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
i_item_model::iterator neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::insert_item ( i_item_model::const_iterator  aPosition,
value_type const &  aValue 
)
inlineoverride

Definition at line 481 of file item_model.hpp.

◆ insert_item() [3/6]

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
i_item_model::iterator neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::insert_item ( i_item_model::const_iterator  aPosition,
value_type const &  aValue,
item_cell_data const &  aCellData 
)
inlineoverride

Definition at line 487 of file item_model.hpp.

◆ insert_item() [4/6]

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
i_item_model::iterator neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::insert_item ( item_model_index const &  aIndex,
item_cell_data const &  aCellData 
)
inlineoverride

Definition at line 507 of file item_model.hpp.

◆ insert_item() [5/6]

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
i_item_model::iterator neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::insert_item ( item_model_index const &  aIndex,
value_type const &  aValue 
)
inlineoverride

Definition at line 499 of file item_model.hpp.

◆ insert_item() [6/6]

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
i_item_model::iterator neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::insert_item ( item_model_index const &  aIndex,
value_type const &  aValue,
item_cell_data const &  aCellData 
)
inlineoverride

Definition at line 503 of file item_model.hpp.

◆ is_tree()

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
bool neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::is_tree ( ) const
inlineoverride

Definition at line 251 of file item_model.hpp.

◆ item() [1/2]

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
value_type const & neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::item ( item_model_index const &  aIndex) const
inlineoverride

Definition at line 612 of file item_model.hpp.

◆ item() [2/2]

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
value_type & neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::item ( item_model_index const &  aIndex)
inlineoverride

Definition at line 608 of file item_model.hpp.

◆ items()

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
container_type const & neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::items ( ) const
inline

Definition at line 617 of file item_model.hpp.

◆ iterator_to_index()

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
item_model_index neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::iterator_to_index ( i_item_model::const_iterator  aPosition) const
inlineoverride

Definition at line 325 of file item_model.hpp.

◆ parent() [1/3]

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
item_model_index neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::parent ( const item_model_index aChildIndex) const
inlineoverride

Definition at line 415 of file item_model.hpp.

◆ parent() [2/3]

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
i_item_model::const_iterator neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::parent ( i_item_model::const_iterator  aChild) const
inlineoverride

Definition at line 408 of file item_model.hpp.

◆ parent() [3/3]

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
i_item_model::iterator neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::parent ( i_item_model::iterator  aChild)
inlineoverride

Definition at line 401 of file item_model.hpp.

◆ reserve()

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
void neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::reserve ( uint32_t  aItemCount)
inlineoverride

Definition at line 467 of file item_model.hpp.

◆ rows()

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
uint32_t neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::rows ( ) const
inlineoverride

Definition at line 255 of file item_model.hpp.

◆ sbegin() [1/4]

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
i_item_model::const_iterator neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::sbegin ( ) const
inlineoverride

Definition at line 352 of file item_model.hpp.

◆ sbegin() [2/4]

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
i_item_model::iterator neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::sbegin ( )
inlineoverride

Definition at line 345 of file item_model.hpp.

◆ sbegin() [3/4]

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
i_item_model::const_iterator neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::sbegin ( i_item_model::const_iterator  aParent) const
inlineoverride

Definition at line 429 of file item_model.hpp.

◆ sbegin() [4/4]

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
i_item_model::iterator neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::sbegin ( i_item_model::iterator  aParent)
inlineoverride

Definition at line 422 of file item_model.hpp.

◆ send() [1/4]

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
i_item_model::const_iterator neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::send ( ) const
inlineoverride

Definition at line 366 of file item_model.hpp.

◆ send() [2/4]

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
i_item_model::iterator neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::send ( )
inlineoverride

Definition at line 359 of file item_model.hpp.

◆ send() [3/4]

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
i_item_model::const_iterator neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::send ( i_item_model::const_iterator  aParent) const
inlineoverride

Definition at line 443 of file item_model.hpp.

◆ send() [4/4]

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
i_item_model::iterator neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::send ( i_item_model::iterator  aParent)
inlineoverride

Definition at line 436 of file item_model.hpp.

◆ set_column_data_type()

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
void neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::set_column_data_type ( item_model_index::column_type  aColumnIndex,
item_data_type  aType 
)
inlineoverride

Definition at line 284 of file item_model.hpp.

◆ set_column_max_value()

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
void neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::set_column_max_value ( item_model_index::column_type  aColumnIndex,
item_cell_data const &  aValue 
)
inlineoverride

Definition at line 302 of file item_model.hpp.

◆ set_column_min_value()

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
void neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::set_column_min_value ( item_model_index::column_type  aColumnIndex,
item_cell_data const &  aValue 
)
inlineoverride

Definition at line 293 of file item_model.hpp.

◆ set_column_name()

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
void neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::set_column_name ( item_model_index::value_type  aColumnIndex,
std::string const &  aName 
)
inlineoverride

Definition at line 273 of file item_model.hpp.

◆ set_column_step_value()

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
void neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::set_column_step_value ( item_model_index::column_type  aColumnIndex,
item_cell_data const &  aValue 
)
inlineoverride

Definition at line 311 of file item_model.hpp.

◆ update_cell_data() [1/2]

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
void neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::update_cell_data ( i_item_model::const_iterator  aPosition,
item_model_index::value_type  aColumnIndex,
item_cell_data const &  aCellData 
)
inlineoverride

Definition at line 586 of file item_model.hpp.

◆ update_cell_data() [2/2]

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
void neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::update_cell_data ( item_model_index const &  aIndex,
item_cell_data const &  aCellData 
)
inlineoverride

Definition at line 590 of file item_model.hpp.

Member Data Documentation

◆ item_added

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::item_added

Definition at line 213 of file item_model.hpp.

◆ item_removing

template<typename T , uint32_t Columns = 0, typename CellType = item_cell_data, typename ContainerTraits = item_flat_container_traits<T, CellType, Columns>>
const item_model_index neogfx::basic_item_model< T, Columns, CellType, ContainerTraits >::item_removing

Definition at line 215 of file item_model.hpp.


The documentation for this class was generated from the following file: