#include <wac_categoriesinfo.h>
Container class for all WAC enumeration objects.
Can be obtained from a WacClassification object using WacClassification::getCategoriesInfo().
You can use the related member functions to enumerate all applications, actions and tags.
- See also
- WacClassification, dca::Locales, dca::Categories, WacApplications, WacActions, WacTags
The following sample code shows how to iterate over the data contained in a WacCategoriesInfo object:
{
{
cout << (i+1)
<<
") Application name=" << myApp.
name(
"" )
<<
", id=" << myApp.
id() << endl;
}
}
{
cout << (i+1)
<<
") Action name=" << myAction.
name(
"" )
<<
", id=" << myAction.
id() << endl;
}
}
{
cout << (i+1)
<<
") Tag name=" << myTag.
name(
"" )
<<
", id=" << myTag.
id() << endl;
}
}
}
Definition at line 39 of file wac_categoriesinfo.h.
The documentation for this class was generated from the following file:
std::string description(const std::string &localeString=std::string()) const
Returns the localized (brief) description of the application.
DCA_ACTION_ID_TYPE id() const
Returns the internal id of a WacAction class.
std::string name(const std::string &localeString=std::string()) const
Returns the localized (display) name of the tag.
std::string name(const std::string &localeString=std::string()) const
Returns the localized (display) name of the application.
The WacAction class represents a given action of an application e.g. UPLOAD FILE, ADD ATTACHMENT,...
std::string description(const std::string &localeString=std::string()) const
Returns the localized (brief) description of the action.
std::string description(const std::string &localeString=std::string()) const
Returns the localized (brief) description of the tag.
Definition of a container class for WacAction objects.
WacTags getTags() const
Returns the contained WacTags.
std::string name(const std::string &localeString=std::string()) const
Returns the localized (display) name of the action.
The WacApplication class represents a given application e.g. HOTMAIL, GMAIL etc.
WacActions getActions() const
Returns the contained WacActions.
Container class for all WAC enumeration objects.
DCA_APPLICATION_ID_TYPE id() const
Returns the internal id of a WacApplication class.
Definition of a container class for WacApplication objects.
DCA_TAG_ID_TYPE id() const
Returns the internal id of a WacTag class.
WacApplications getApplications() const
Returns the contained WacApplications.
size_t DCA_INDEX_TYPE
Type for index access (used for arrays and collections).
size_t DCA_SIZE_TYPE
Type for size (used for size of array and collections).
DCA_SIZE_TYPE size() const
Returns the number of applications in the container.
DCA_SIZE_TYPE size() const
Returns the number of actions in the container.
The WacTag class represents a given tag that is associated with an application e.g....