![]() |
Walls And Holes
1
|
The M2MPropertySet class represents a set of M2MPropertyInstances. More...
#include <m2mpropertyset.h>
Public Member Functions | |
M2MPropertySet () | |
bool | containsProperty (M2MPropertyClass *prop) const |
void | addProperty (M2MPropertyInstance propInst) |
Adds the property to the set, ASSUMING IT IS NOT ALREADY THERE. More... | |
M2MPropertyInstance | getProperty (M2MPropertyClass *ofType) const |
Returns the property of the given type. More... | |
bool | operator== (const M2MPropertySet &other) const |
bool | operator!= (const M2MPropertySet &other) const |
Protected Attributes | |
QMap< M2MPropertyClass *, M2MPropertyInstance > | mProperties |
The M2MPropertySet class represents a set of M2MPropertyInstances.
M2MPropertySet::M2MPropertySet | ( | ) |
void M2MPropertySet::addProperty | ( | M2MPropertyInstance | propInst | ) |
Adds the property to the set, ASSUMING IT IS NOT ALREADY THERE.
propInst | The property to be added. |
bool M2MPropertySet::containsProperty | ( | M2MPropertyClass * | prop | ) | const |
M2MPropertyInstance M2MPropertySet::getProperty | ( | M2MPropertyClass * | ofType | ) | const |
Returns the property of the given type.
ofType | The type of the property. |
bool M2MPropertySet::operator!= | ( | const M2MPropertySet & | other | ) | const |
bool M2MPropertySet::operator== | ( | const M2MPropertySet & | other | ) | const |
|
protected |