Kitlist  1.1.0
Classes | Typedefs | Enumerations
kitmodel.hpp File Reference
#include "item.hpp"
#include "category.hpp"
#include <map>
#include <sigc++/signal.h>

Go to the source code of this file.

Classes

class  GuiState
 Class encapsulating state of an object in the data model. More...
 
class  ModelItem
 Represents an Item combined with GuiState attributes. More...
 
class  ModelItemCompareId
 Comparator for comparing items by their unique ID. More...
 
class  ModelCategory
 Represents a Category combined with GuiState attributes. More...
 
class  KitModel
 Holds a rich graph of objects representing the application's data model. More...
 

Typedefs

typedef std::vector< ModelItem * > ModelItemContainer
 
typedef ModelItemContainer::iterator ModelItemIter
 
typedef std::map< long, ModelItem * > ItemMap
 
typedef ItemMap::iterator ItemMapIter
 
typedef sigc::slot< bool, const ItemMap::iterator & > SlotForeachModelItemIter
 
typedef sigc::slot< bool, ModelItem & > SlotForeachModelItem
 
typedef std::vector< ModelCategory * > ModelCategoryContainer
 
typedef ModelCategoryContainer::iterator ModelCategoryIter
 
typedef std::map< long, ModelCategory * > CategoryMap
 
typedef CategoryMap::iterator CategoryMapIter
 
typedef sigc::slot< bool, const CategoryMap::iterator & > SlotForeachCategoryIter
 
typedef sigc::slot< bool, ModelCategory & > SlotForeachCategory
 

Enumerations

enum  item_filter_types { ALL, CHECKED, UNCHECKED }
 

Typedef Documentation

◆ CategoryMap

typedef std::map<long, ModelCategory*> CategoryMap

Definition at line 122 of file kitmodel.hpp.

◆ CategoryMapIter

typedef CategoryMap::iterator CategoryMapIter

Definition at line 123 of file kitmodel.hpp.

◆ ItemMap

typedef std::map<long, ModelItem*> ItemMap

Definition at line 84 of file kitmodel.hpp.

◆ ItemMapIter

typedef ItemMap::iterator ItemMapIter

Definition at line 85 of file kitmodel.hpp.

◆ ModelCategoryContainer

typedef std::vector<ModelCategory*> ModelCategoryContainer

Definition at line 119 of file kitmodel.hpp.

◆ ModelCategoryIter

typedef ModelCategoryContainer::iterator ModelCategoryIter

Definition at line 120 of file kitmodel.hpp.

◆ ModelItemContainer

typedef std::vector<ModelItem*> ModelItemContainer

Definition at line 81 of file kitmodel.hpp.

◆ ModelItemIter

typedef ModelItemContainer::iterator ModelItemIter

Definition at line 82 of file kitmodel.hpp.

◆ SlotForeachCategory

typedef sigc::slot<bool, ModelCategory&> SlotForeachCategory

Definition at line 126 of file kitmodel.hpp.

◆ SlotForeachCategoryIter

typedef sigc::slot<bool, const CategoryMap::iterator&> SlotForeachCategoryIter

Definition at line 125 of file kitmodel.hpp.

◆ SlotForeachModelItem

typedef sigc::slot<bool, ModelItem&> SlotForeachModelItem

Definition at line 88 of file kitmodel.hpp.

◆ SlotForeachModelItemIter

typedef sigc::slot<bool, const ItemMap::iterator&> SlotForeachModelItemIter

Definition at line 87 of file kitmodel.hpp.

Enumeration Type Documentation

◆ item_filter_types

Enumerator
ALL 
CHECKED 
UNCHECKED 

Definition at line 128 of file kitmodel.hpp.


Copyright 2008-2021 Frank Dean