dca_interface
6.3.4
|
#include <wac_action.h>
The WacAction class represents a given action of an application e.g. UPLOAD FILE, ADD ATTACHMENT, DOWNLOAD FILE etc.
To retrieve all actions available for a given application use the WacApplication class.
The result of a WAC classification (WacClassificationResult) contains the id of an action if found. With this id you can use a WacActions container class and the method WacActions::byId() to retrieve the WacAction object.
Definition at line 30 of file wac_action.h.
Public Member Functions | |
bool | operator== (const WacAction &aInst) const |
Equality operator, returns true if two WacAction objects refer to the identical internal action. More... | |
bool | operator!= (const WacAction &aInst) const |
Inequality operator, returns true if two WacAction objects refer to different internal actions. More... | |
DCA_ACTION_ID_TYPE | id () const |
Returns the internal id of a WacAction class. More... | |
std::string | name (const std::string &localeString=std::string()) const |
Returns the localized (display) name of the action. More... | |
std::string | description (const std::string &localeString=std::string()) const |
Returns the localized (brief) description of the action. More... | |
bool dca_wac::WacAction::operator== | ( | const WacAction & | aInst | ) | const |
bool dca_wac::WacAction::operator!= | ( | const WacAction & | aInst | ) | const |
DCA_ACTION_ID_TYPE dca_wac::WacAction::id | ( | ) | const |
Returns the internal id of a WacAction class.
std::string dca_wac::WacAction::name | ( | const std::string & | localeString = std::string() | ) | const |
Returns the localized (display) name of the action.
[in] | localeString | The name of the Locale to be used. Leave blank to use the default locale ("en_US") |
std::string dca_wac::WacAction::description | ( | const std::string & | localeString = std::string() | ) | const |
Returns the localized (brief) description of the action.
[in] | localeString | The name of the Locale to be used. Leave blank to use the default locale ("en_US") |