configuration::ModeRule Struct Reference

#include <modecontroller.h>

List of all members.

Public Member Functions

bool operator== (const ModeRule &rule) const

Public Attributes

std::string type
std::string name

Detailed Description

Rule structure for mode. This type is used for RulesManager RuleType in ModeController.

See also:
RulesManager
ModeController

Member Function Documentation

bool configuration::ModeRule::operator== ( const ModeRule rule  )  const [inline]

Comparator method.

Parameters:
rule Rule to compare with.

Given rule is same as given one if its type and name fields are same as these.

Returns:
true if given rule is same, false otherwise.

References name, and type.


Member Data Documentation


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