|
Unity Scopes API
|
Stores the state of multiple filters. More...
#include <unity/scopes/FilterState.h>
Public Member Functions | |
| FilterState () | |
| Constructs a an empty filter state instance. | |
| bool | has_filter (std::string const &id) const |
| Check if state for the given filter has been stored. More... | |
| void | remove (std::string const &id) |
| Removes the state for a specific filter. More... | |
Copy and assignment | |
Copy and assignment operators (move and non-move versions) have the usual value semantics. | |
| FilterState (FilterState const &other) | |
| FilterState (FilterState &&) | |
| FilterState & | operator= (FilterState const &other) |
| FilterState & | operator= (FilterState &&other) |
Stores the state of multiple filters.
The state can be examined by passing an instance of FilterState to the appropriate methods of classes derived from FilterBase.
| bool unity::scopes::FilterState::has_filter | ( | std::string const & | id | ) | const |
Check if state for the given filter has been stored.
| void unity::scopes::FilterState::remove | ( | std::string const & | id | ) |
Removes the state for a specific filter.
| id | The identity of the filter to remove. |