neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neogfx::i_basic_item_model< T > Class Template Referenceabstract

#include <i_basic_item_model.hpp>

Inheritance diagram for neogfx::i_basic_item_model< T >:

Public Types

typedef T value_type
 

Public Member Functions

virtual iterator insert_item (const_iterator aPosition, value_type const &aValue)=0
 
virtual iterator insert_item (const_iterator aPosition, value_type const &aValue, item_cell_data const &aCellData)=0
 
virtual iterator insert_item (item_model_index const &aIndex, value_type const &aValue)=0
 
virtual iterator insert_item (item_model_index const &aIndex, value_type const &aValue, item_cell_data const &aCellData)=0
 
virtual iterator append_item (value_type const &aValue)=0
 
virtual iterator append_item (value_type const &aValue, item_cell_data const &aCellData)=0
 
virtual iterator append_item (const_iterator aParent, value_type const &aValue)=0
 
virtual iterator append_item (const_iterator aParent, value_type const &aValue, item_cell_data const &aCellData)=0
 
virtual iterator append_item (item_model_index const &aIndex, value_type const &aValue)=0
 
virtual iterator append_item (item_model_index const &aIndex, value_type const &aValue, item_cell_data const &aCellData)=0
 
virtual value_typeitem (item_model_index const &aIndex)=0
 
virtual value_type const & item (item_model_index const &aIndex) const =0
 
value_typeitem (const_iterator aItem)
 
value_type const & item (const_iterator aItem) const
 
std::optional< item_model_indexfind_item_maybe (value_type const &aItem) const
 
item_model_index find_item (value_type const &aItem) const
 

Detailed Description

template<typename T>
class neogfx::i_basic_item_model< T >

Definition at line 28 of file i_basic_item_model.hpp.

Member Typedef Documentation

◆ value_type

template<typename T >
typedef T neogfx::i_basic_item_model< T >::value_type

Definition at line 31 of file i_basic_item_model.hpp.

Member Function Documentation

◆ append_item() [1/6]

template<typename T >
virtual iterator neogfx::i_basic_item_model< T >::append_item ( const_iterator  aParent,
value_type const &  aValue 
)
pure virtual

◆ append_item() [2/6]

template<typename T >
virtual iterator neogfx::i_basic_item_model< T >::append_item ( const_iterator  aParent,
value_type const &  aValue,
item_cell_data const &  aCellData 
)
pure virtual

◆ append_item() [3/6]

template<typename T >
virtual iterator neogfx::i_basic_item_model< T >::append_item ( item_model_index const &  aIndex,
value_type const &  aValue 
)
pure virtual

◆ append_item() [4/6]

template<typename T >
virtual iterator neogfx::i_basic_item_model< T >::append_item ( item_model_index const &  aIndex,
value_type const &  aValue,
item_cell_data const &  aCellData 
)
pure virtual

◆ append_item() [5/6]

template<typename T >
virtual iterator neogfx::i_basic_item_model< T >::append_item ( value_type const &  aValue)
pure virtual

◆ append_item() [6/6]

template<typename T >
virtual iterator neogfx::i_basic_item_model< T >::append_item ( value_type const &  aValue,
item_cell_data const &  aCellData 
)
pure virtual

◆ find_item()

template<typename T >
item_model_index neogfx::i_basic_item_model< T >::find_item ( value_type const &  aItem) const
inline

Definition at line 66 of file i_basic_item_model.hpp.

◆ find_item_maybe()

template<typename T >
std::optional< item_model_index > neogfx::i_basic_item_model< T >::find_item_maybe ( value_type const &  aItem) const
inline

Definition at line 55 of file i_basic_item_model.hpp.

◆ insert_item() [1/4]

template<typename T >
virtual iterator neogfx::i_basic_item_model< T >::insert_item ( const_iterator  aPosition,
value_type const &  aValue 
)
pure virtual

◆ insert_item() [2/4]

template<typename T >
virtual iterator neogfx::i_basic_item_model< T >::insert_item ( const_iterator  aPosition,
value_type const &  aValue,
item_cell_data const &  aCellData 
)
pure virtual

◆ insert_item() [3/4]

template<typename T >
virtual iterator neogfx::i_basic_item_model< T >::insert_item ( item_model_index const &  aIndex,
value_type const &  aValue 
)
pure virtual

◆ insert_item() [4/4]

template<typename T >
virtual iterator neogfx::i_basic_item_model< T >::insert_item ( item_model_index const &  aIndex,
value_type const &  aValue,
item_cell_data const &  aCellData 
)
pure virtual

◆ item() [1/4]

template<typename T >
value_type & neogfx::i_basic_item_model< T >::item ( const_iterator  aItem)
inline

Definition at line 47 of file i_basic_item_model.hpp.

◆ item() [2/4]

template<typename T >
value_type const & neogfx::i_basic_item_model< T >::item ( const_iterator  aItem) const
inline

Definition at line 51 of file i_basic_item_model.hpp.

◆ item() [3/4]

template<typename T >
virtual value_type const & neogfx::i_basic_item_model< T >::item ( item_model_index const &  aIndex) const
pure virtual

◆ item() [4/4]

template<typename T >
virtual value_type & neogfx::i_basic_item_model< T >::item ( item_model_index const &  aIndex)
pure virtual

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