Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
Slot< TAR > Struct Template Reference

#include "common/query/defs-registry.hpp"

Description

template<class TAR>
struct lumiera::query::impl::Slot< TAR >

every new kind of object (Type) creates a new slot in the main Table holding all registered default objects.

Each slot actually holds a separate tree (set) of registry entries

Definition at line 132 of file defs-registry.hpp.

Public Types

using Registry = std::set< Record< TAR > >
 

Static Public Attributes

static size_t index
 where to find this Slot in every Table
 

Public Attributes

Registry registry
 

Static Public Member Functions

static Registryaccess (Table &table)
 

Static Private Member Functions

static void createSlot (Table &table)
 

Additional Inherited Members

- Public Member Functions inherited from TableEntry
virtual ~TableEntry ()
 

Member Typedef Documentation

◆ Registry

template<class TAR >
using Registry = std::set<Record<TAR> >

Definition at line 135 of file defs-registry.hpp.

Member Function Documentation

◆ access()

template<class TAR >
static Registry & access ( Table table)
inlinestatic

Definition at line 141 of file defs-registry.hpp.

References Slot< TAR >::createSlot(), Slot< TAR >::index, and Slot< TAR >::registry.

Referenced by DefsRegistry::candidates(), DefsRegistry::forget(), and DefsRegistry::put().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ createSlot()

template<class TAR >
static void createSlot ( Table table)
inlinestaticprivate

Definition at line 155 of file defs-registry.hpp.

References Slot< TAR >::index.

Referenced by Slot< TAR >::access().

+ Here is the caller graph for this function:

Member Data Documentation

◆ registry

template<class TAR >
Registry registry

Definition at line 137 of file defs-registry.hpp.

Referenced by Slot< TAR >::access().

◆ index

template<class TAR >
size_t index
static

where to find this Slot in every Table

Definition at line 138 of file defs-registry.hpp.

Referenced by Slot< TAR >::access(), and Slot< TAR >::createSlot().

+ Inheritance diagram for Slot< TAR >:
+ Collaboration diagram for Slot< TAR >:

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