dca_interface  6.3.4
wac_application.h
Go to the documentation of this file.
1 /* IBM Source Code */
2 /* (C) Copyright IBM Corp. 2009, 2012 */
3 /* Licensed Materials - Property of IBM */
4 /* US Government Users Restricted Rights - Use duplication or disclosure restricted by GSA Schedule Contract with IBM Corp. */
5 
6 #ifndef WAC_APPLICAITON_H
7 #define WAC_APPLICAITON_H
8 
14 namespace dca_wac {
15 
16  class wacapplication_p;
17 
32  public:
35  WacApplication( const WacApplication& aApplication );
36  WacApplication& operator = ( const WacApplication& aApplication );
37  virtual ~WacApplication();
39 
46  bool operator == ( const WacApplication& aInst ) const;
47 
54  bool operator != ( const WacApplication& aInst ) const;
55 
61 
68  std::string name( const std::string& localeString = std::string() ) const;
69 
76  std::string description( const std::string& localeString = std::string() ) const;
77 
85 
93 
100  WacTags getTags() const;
101 
103  PRIVATE_PTR wacapplication_p *_p;
104  };
105 
113 }
114 
115 #endif
std::string description(const std::string &localeString=std::string()) const
Returns the localized (brief) description of the application.
std::string name(const std::string &localeString=std::string()) const
Returns the localized (display) name of the application.
DCA_CATEGORY_ID_TYPE categoryId() const
Returns the id of the associated dca::Category. Each application is a member of only one category.
Definition: wac_tags.h:30
WacActions getActions() const
Returns all actions available for the application. If an application does not support actions,...
Definition of a container class for WacAction objects.
Definition: wac_actions.h:32
WacApplication NullWacApplication
Defines a constant unassigned WacApplication you can use for checks. if( myWacApplication == NullWacA...
The WacApplication class represents a given application e.g. HOTMAIL, GMAIL etc.
DCA_APPLICATION_ID_TYPE id() const
Returns the internal id of a WacApplication class.
int DCA_CATEGORY_ID_TYPE
Type for category ids.
Definition: base_types.h:31
bool operator==(const WacApplication &aInst) const
Equality operator, returns true if two WacApplication objects refer to the identical internal applica...
bool operator!=(const WacApplication &aInst) const
Inequality operator, returns true if two WacApplication objects refer to two different internal appli...
WacTags getTags() const
Returns all tags that are defined for a given application e.g. "RISKLEVEL_1", "HIGH BANDWIDTH" etc.
int DCA_APPLICATION_ID_TYPE
Type for application ids.
Definition: base_types.h:48
#define PRIVATE_PTR
Type for private pointer implementations, for internal use only.
Definition: base_types.h:83