dca_interface
6.3.4
|
#include <wac_application.h>
The WacApplication class represents a given application e.g. HOTMAIL, GMAIL etc.
To retrieve all applications use the WacApplications container class that can be obtained from a WacCategoriesInfo class.
The result of a WAC classification (WacClassificationResult) contains the id of an application if found. With this id you can use a WacApplications container class and its method byId() to get the Application object.
Definition at line 31 of file wac_application.h.
Public Member Functions | |
bool | operator== (const WacApplication &aInst) const |
Equality operator, returns true if two WacApplication objects refer to the identical internal application. More... | |
bool | operator!= (const WacApplication &aInst) const |
Inequality operator, returns true if two WacApplication objects refer to two different internal applications. More... | |
DCA_APPLICATION_ID_TYPE | id () const |
Returns the internal id of a WacApplication class. More... | |
std::string | name (const std::string &localeString=std::string()) const |
Returns the localized (display) name of the application. More... | |
std::string | description (const std::string &localeString=std::string()) const |
Returns the localized (brief) description of the application. More... | |
DCA_CATEGORY_ID_TYPE | categoryId () const |
Returns the id of the associated dca::Category. Each application is a member of only one category. More... | |
WacActions | getActions () const |
Returns all actions available for the application. If an application does not support actions, this container will be empty.. More... | |
WacTags | getTags () const |
Returns all tags that are defined for a given application e.g. "RISKLEVEL_1", "HIGH BANDWIDTH" etc. More... | |
bool dca_wac::WacApplication::operator== | ( | const WacApplication & | aInst | ) | const |
Equality operator, returns true if two WacApplication objects refer to the identical internal application.
[in] | aInst | Another WacApplication instance to check for equality with current instance. |
bool dca_wac::WacApplication::operator!= | ( | const WacApplication & | aInst | ) | const |
Inequality operator, returns true if two WacApplication objects refer to two different internal applications.
[in] | aInst | Another WacApplication instance to check for inequality with the current instance. |
DCA_APPLICATION_ID_TYPE dca_wac::WacApplication::id | ( | ) | const |
Returns the internal id of a WacApplication class.
std::string dca_wac::WacApplication::name | ( | const std::string & | localeString = std::string() | ) | const |
Returns the localized (display) name of the application.
[in] | localeString | The name of the Locale to be used. Leave blank for using the default locale ("en_US") |
std::string dca_wac::WacApplication::description | ( | const std::string & | localeString = std::string() | ) | const |
Returns the localized (brief) description of the application.
[in] | localeString | The name of the Locale to be used. Leave blank for using the default locale ("en_US") |
DCA_CATEGORY_ID_TYPE dca_wac::WacApplication::categoryId | ( | ) | const |
Returns the id of the associated dca::Category. Each application is a member of only one category.
WacActions dca_wac::WacApplication::getActions | ( | ) | const |
Returns all actions available for the application. If an application does not support actions, this container will be empty..
WacTags dca_wac::WacApplication::getTags | ( | ) | const |
Returns all tags that are defined for a given application e.g. "RISKLEVEL_1", "HIGH BANDWIDTH" etc.