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

#include <item_model.hpp>

Classes

struct  rebind
 

Public Types

typedef T value_type
 
typedef std::allocator< value_typeallocator_type
 
typedef CellType cell_type
 
typedef item_row_traits< T, CellType, Columns, CellsCached >::row_cell_array row_cell_array
 
typedef item_row_traits< T, CellType, Columns, CellsCached >::row row
 
typedef std::vector< row, typename std::allocator_traits< allocator_type >::template rebind_alloc< row > > container_type
 
typedef container_type::iterator iterator
 
typedef container_type::const_iterator const_iterator
 
typedef iterator sibling_iterator
 
typedef const_iterator const_sibling_iterator
 
typedef iterator skip_iterator
 
typedef const_iterator const_skip_iterator
 

Static Public Attributes

static constexpr bool is_flat = true
 
static constexpr bool is_tree = false
 

Detailed Description

template<typename T, typename CellType, uint32_t Columns, bool CellsCached = false>
class neogfx::item_flat_container_traits< T, CellType, Columns, CellsCached >

Definition at line 100 of file item_model.hpp.

Member Typedef Documentation

◆ allocator_type

template<typename T , typename CellType , uint32_t Columns, bool CellsCached = false>
typedef std::allocator<value_type> neogfx::item_flat_container_traits< T, CellType, Columns, CellsCached >::allocator_type

Definition at line 107 of file item_model.hpp.

◆ cell_type

template<typename T , typename CellType , uint32_t Columns, bool CellsCached = false>
typedef CellType neogfx::item_flat_container_traits< T, CellType, Columns, CellsCached >::cell_type

Definition at line 108 of file item_model.hpp.

◆ const_iterator

template<typename T , typename CellType , uint32_t Columns, bool CellsCached = false>
typedef container_type::const_iterator neogfx::item_flat_container_traits< T, CellType, Columns, CellsCached >::const_iterator

Definition at line 113 of file item_model.hpp.

◆ const_sibling_iterator

template<typename T , typename CellType , uint32_t Columns, bool CellsCached = false>
typedef const_iterator neogfx::item_flat_container_traits< T, CellType, Columns, CellsCached >::const_sibling_iterator

Definition at line 115 of file item_model.hpp.

◆ const_skip_iterator

template<typename T , typename CellType , uint32_t Columns, bool CellsCached = false>
typedef const_iterator neogfx::item_flat_container_traits< T, CellType, Columns, CellsCached >::const_skip_iterator

Definition at line 117 of file item_model.hpp.

◆ container_type

template<typename T , typename CellType , uint32_t Columns, bool CellsCached = false>
typedef std::vector<row, typename std::allocator_traits<allocator_type>::template rebind_alloc<row> > neogfx::item_flat_container_traits< T, CellType, Columns, CellsCached >::container_type

Definition at line 111 of file item_model.hpp.

◆ iterator

template<typename T , typename CellType , uint32_t Columns, bool CellsCached = false>
typedef container_type::iterator neogfx::item_flat_container_traits< T, CellType, Columns, CellsCached >::iterator

Definition at line 112 of file item_model.hpp.

◆ row

template<typename T , typename CellType , uint32_t Columns, bool CellsCached = false>
typedef item_row_traits<T,CellType,Columns,CellsCached>::row neogfx::item_flat_container_traits< T, CellType, Columns, CellsCached >::row

Definition at line 110 of file item_model.hpp.

◆ row_cell_array

template<typename T , typename CellType , uint32_t Columns, bool CellsCached = false>
typedef item_row_traits<T,CellType,Columns,CellsCached>::row_cell_array neogfx::item_flat_container_traits< T, CellType, Columns, CellsCached >::row_cell_array

Definition at line 109 of file item_model.hpp.

◆ sibling_iterator

template<typename T , typename CellType , uint32_t Columns, bool CellsCached = false>
typedef iterator neogfx::item_flat_container_traits< T, CellType, Columns, CellsCached >::sibling_iterator

Definition at line 114 of file item_model.hpp.

◆ skip_iterator

template<typename T , typename CellType , uint32_t Columns, bool CellsCached = false>
typedef iterator neogfx::item_flat_container_traits< T, CellType, Columns, CellsCached >::skip_iterator

Definition at line 116 of file item_model.hpp.

◆ value_type

template<typename T , typename CellType , uint32_t Columns, bool CellsCached = false>
typedef T neogfx::item_flat_container_traits< T, CellType, Columns, CellsCached >::value_type

Definition at line 106 of file item_model.hpp.

Member Data Documentation

◆ is_flat

template<typename T , typename CellType , uint32_t Columns, bool CellsCached = false>
constexpr bool neogfx::item_flat_container_traits< T, CellType, Columns, CellsCached >::is_flat = true
staticconstexpr

Definition at line 103 of file item_model.hpp.

◆ is_tree

template<typename T , typename CellType , uint32_t Columns, bool CellsCached = false>
constexpr bool neogfx::item_flat_container_traits< T, CellType, Columns, CellsCached >::is_tree = false
staticconstexpr

Definition at line 104 of file item_model.hpp.


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