![]() |
Multilevel Deduplication Engine (MDE)
|
Base-case type for the elements for a property set. The template arguments are for the 'key' type. More...
#include <mde.hpp>
Classes | |
| struct | FullEqual |
| This forces a comparison of both the key and the value instead of only the key. Required in instances where distinguishing this is necessary (like in the property set storage array). More... | |
| struct | Hash |
Public Types | |
| using | InterfaceKeyType = PropertyT |
| Key type is made available here if required by user. | |
| using | InterfaceValueType = PropertyT |
| Value type is made available here if required by user. | |
Public Member Functions | |
| PropertyElement (const PropertyT &value) | |
| const PropertyT & | get_key () const |
| Gets the 'key' value. | |
| const PropertyT & | get_value () const |
| Gets the nested value. In the base case it simply returns the key. | |
| PropertyElement | apply () const |
| Performs an "apply" operation. In the base case it is an identity operation and does not do anything. | |
| bool | operator< (const PropertyElement &b) const |
| bool | operator== (const PropertyElement &b) const |
| String | to_string () const |
Protected Attributes | |
| PropertyT | value |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const PropertyElement &obj) |
Base-case type for the elements for a property set. The template arguments are for the 'key' type.
| PropertyLess | Custom less-than comparator (if required) |
| PropertyHash | Custom hasher (if required) |
| PropertyEqual | Custom equality comaparator (if required) |
| PropertyPrinter | PropertyT string representation generator |
| using mde::NestingNone< PropertyT >::PropertyElement< PropertyLess, PropertyHash, PropertyEqual, PropertyPrinter >::InterfaceKeyType = PropertyT |
| using mde::NestingNone< PropertyT >::PropertyElement< PropertyLess, PropertyHash, PropertyEqual, PropertyPrinter >::InterfaceValueType = PropertyT |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
Definition at line 395 of file mde.hpp.
Referenced by mde::NestingNone< PropertyT >::PropertyElement< PropertyLess, PropertyHash, PropertyEqual, PropertyPrinter >::get_key(), mde::NestingNone< PropertyT >::PropertyElement< PropertyLess, PropertyHash, PropertyEqual, PropertyPrinter >::get_value(), mde::NestingNone< PropertyT >::PropertyElement< PropertyLess, PropertyHash, PropertyEqual, PropertyPrinter >::operator<(), mde::NestingNone< PropertyT >::PropertyElement< PropertyLess, PropertyHash, PropertyEqual, PropertyPrinter >::operator==(), and mde::NestingNone< PropertyT >::PropertyElement< PropertyLess, PropertyHash, PropertyEqual, PropertyPrinter >::to_string().