unity.scopes.FilterOption

Holds definition of filter option for OptionSelectorFilter. More...

#include <unity/scopes/FilterOption.h>

Public Member Functions

std::string id () const
 Get the identifier of this filter option. More...
 
std::string label () const
 Get the label of this filter option. More...
 
bool default_value () const
 Return the default value of this filter option. More...
 

Detailed Description

Holds definition of filter option for OptionSelectorFilter.

Member Function Documentation

bool unity::scopes::FilterOption::default_value ( ) const

Return the default value of this filter option.

Returns
The default value.
std::string unity::scopes::FilterOption::id ( ) const

Get the identifier of this filter option.

Returns
The option identifier.
std::string unity::scopes::FilterOption::label ( ) const

Get the label of this filter option.

Returns
The option label.