std::string& EventMessageAttributed::GetSubtype() const { Datum * d = Find("Subtype"); if (d) { return d->GetString(); } else { throw std::exception("No Subtype was added"); } }