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

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

Description

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

holding a single "default object" entry

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

Classes

struct  Search
 < Functor searching for a specific object More...
 

Public Attributes

QueryKey queryKey
 
weak_ptr< TAR > objRef
 
uint degree
 

Public Member Functions

 Record (Query< TAR > const &q, P< TAR > const &obj)
 
 operator string () const
 
string dumpObj () const
 

Friends

bool operator< (Record one, Record two)
 

Constructor & Destructor Documentation

◆ Record()

template<class TAR >
Record ( Query< TAR > const &  q,
P< TAR > const &  obj 
)
inline

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

Member Function Documentation

◆ operator string()

template<class TAR >
operator string ( ) const
inline

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

References Record< TAR >::degree, QueryKey::display(), Record< TAR >::dumpObj(), and Record< TAR >::queryKey.

+ Here is the call graph for this function:

◆ dumpObj()

template<class TAR >
string dumpObj ( ) const
inline

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

References Record< TAR >::objRef.

Referenced by Record< TAR >::operator string().

+ Here is the caller graph for this function:

Member Data Documentation

◆ queryKey

template<class TAR >
QueryKey queryKey

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

Referenced by Record< TAR >::operator string().

◆ objRef

template<class TAR >
weak_ptr<TAR> objRef

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

Referenced by Record< TAR >::dumpObj(), and Record< TAR >::Search::operator()().

◆ degree

template<class TAR >
uint degree

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

Referenced by Record< TAR >::operator string().

Friends And Related Symbol Documentation

◆ operator<

template<class TAR >
bool operator< ( Record< TAR >  one,
Record< TAR >  two 
)
friend
Parameters
two
Note
doesn't touch the objRef

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

+ Collaboration diagram for Record< TAR >:

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