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