void RemoveProperty() { for (IteratorType it = mProperties.begin(); it != mProperties.end(); ++it) { if ((*it)->IsType<CLASS>()) { mProperties.erase(it); return; } } EXCEPTION("Collection does not contain the given property type."); }