#include <DS_Multilist.h>
Public Member Functions | |
MLKeyRef (const templateType &input) | |
const templateType & | Get (void) const |
bool | operator< (const templateType &right) |
bool | operator> (const templateType &right) |
bool | operator== (const templateType &right) |
Protected Attributes | |
const templateType & | val |
The following is invalid. bool operator<( const MyClass *myClass, const int &inputKey ) {return myClass->value < inputKey;} At least one type has to be a reference to a class MLKeyRef is a helper class to turn a native type into a class, so you can compare that native type against a pointer to a different class Used for he Multilist, when _DataType != _KeyType
Definition at line 61 of file DS_Multilist.h.
DataStructures::MLKeyRef< templateType >::MLKeyRef | ( | const templateType & | input | ) | [inline] |
Definition at line 64 of file DS_Multilist.h.
const templateType& DataStructures::MLKeyRef< templateType >::Get | ( | void | ) | const [inline] |
bool DataStructures::MLKeyRef< templateType >::operator< | ( | const templateType & | right | ) | [inline] |
Definition at line 66 of file DS_Multilist.h.
bool DataStructures::MLKeyRef< templateType >::operator== | ( | const templateType & | right | ) | [inline] |
Definition at line 68 of file DS_Multilist.h.
bool DataStructures::MLKeyRef< templateType >::operator> | ( | const templateType & | right | ) | [inline] |
Definition at line 67 of file DS_Multilist.h.
const templateType& DataStructures::MLKeyRef< templateType >::val [protected] |
Definition at line 70 of file DS_Multilist.h.