![]() |
Shadowrun: Awakened 29 September 2011 - Build 871
|
#include <DS_Multilist.h>
Public Member Functions | |
| const templateType & | Get (void) const |
| MLKeyRef (const templateType &input) | |
| 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.
: val(input) {}
| const templateType& DataStructures::MLKeyRef< templateType >::Get | ( | void | ) | const [inline] |
Definition at line 65 of file DS_Multilist.h.
References DataStructures::MLKeyRef< templateType >::val.
{return val;}
| bool DataStructures::MLKeyRef< templateType >::operator< | ( | const templateType & | right | ) | [inline] |
Definition at line 66 of file DS_Multilist.h.
References DataStructures::MLKeyRef< templateType >::val.
{return val < right;}
| bool DataStructures::MLKeyRef< templateType >::operator== | ( | const templateType & | right | ) | [inline] |
Definition at line 68 of file DS_Multilist.h.
References DataStructures::MLKeyRef< templateType >::val.
{return val == right;}
| bool DataStructures::MLKeyRef< templateType >::operator> | ( | const templateType & | right | ) | [inline] |
Definition at line 67 of file DS_Multilist.h.
References DataStructures::MLKeyRef< templateType >::val.
{return val > right;}
const templateType& DataStructures::MLKeyRef< templateType >::val [protected] |
Copyright © 2007-2010 by The Shadowrun: Awakened Team. This work is licensed under the GNU Lesser General Public License 3.