Walls And Holes  1
M2MPropertySet Class Reference

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 *, M2MPropertyInstancemProperties
 

Detailed Description

The M2MPropertySet class represents a set of M2MPropertyInstances.

Constructor & Destructor Documentation

◆ M2MPropertySet()

M2MPropertySet::M2MPropertySet ( )

Member Function Documentation

◆ addProperty()

void M2MPropertySet::addProperty ( M2MPropertyInstance  propInst)

Adds the property to the set, ASSUMING IT IS NOT ALREADY THERE.

Parameters
propInstThe property to be added.
Here is the call graph for this function:

◆ containsProperty()

bool M2MPropertySet::containsProperty ( M2MPropertyClass prop) const

◆ getProperty()

M2MPropertyInstance M2MPropertySet::getProperty ( M2MPropertyClass ofType) const

Returns the property of the given type.

Parameters
ofTypeThe type of the property.

◆ operator!=()

bool M2MPropertySet::operator!= ( const M2MPropertySet other) const

◆ operator==()

bool M2MPropertySet::operator== ( const M2MPropertySet other) const

Member Data Documentation

◆ mProperties

QMap<M2MPropertyClass *, M2MPropertyInstance> M2MPropertySet::mProperties
protected

The documentation for this class was generated from the following files: