24 Action::Action(
int actionId) : m_ActionId(actionId), m_PropertiesList(nullptr) {}
31 if (m_PropertiesList.IsNull())
33 m_PropertiesList->SetProperty(propertyKey, property);
45 if (m_PropertiesList.IsNotNull())
46 return m_PropertiesList->GetProperty(propertyKey);
Action(int actionId)
Default Constructor. Set the actionId.
int GetActionId() const
Returns the Id of this action.
DataCollection - Class to facilitate loading/accessing structured data.
~Action()
Default Destructor.
Abstract base class for properties.
mitk::BaseProperty * GetProperty(const char *propertyKey) const
returns the specified property
void AddProperty(const char *propertyKey, BaseProperty *property)
Adds a property to the list of properties.