Unity Scopes API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
unity::scopes::testing::Category Class Reference

Implementation of Category class for testing. More...

#include <unity/scopes/testing/Category.h>

Inheritance diagram for unity::scopes::testing::Category:

Public Member Functions

 Category (std::string const &id, std::string const &title, std::string const &icon, CategoryRenderer const &renderer_template)
 Creates category instance. More...
 
 Category (VariantMap const &variant_map)
 Deserializes category from a variant data. More...
 
- Public Member Functions inherited from unity::scopes::Category
std::string id () const
 Get identifier of this Category. More...
 
std::string title () const
 Get title of this Category. More...
 
std::string icon () const
 Get icon of this Category. More...
 
CategoryRenderer const & renderer_template () const
 Get renderer template of this Category. More...
 

Detailed Description

Implementation of Category class for testing.

This class inherits from the unity::scopes::Category and provides a public constructor that allows for creating categories with no need to register them via a real instance of unity::scopes::SearchReply.

Constructor & Destructor Documentation

unity::scopes::testing::Category::Category ( std::string const &  id,
std::string const &  title,
std::string const &  icon,
CategoryRenderer const &  renderer_template 
)
inline

Creates category instance.

Parameters
idThe identifier of this category
titleThe title of this category
iconThe icon of this category
renderer_templateThe renderer template
unity::scopes::testing::Category::Category ( VariantMap const &  variant_map)
inline

Deserializes category from a variant data.

Parameters
variant_mapSerialized category

The documentation for this class was generated from the following file: