#include <Rule.hpp>
Public Member Functions | |
| bool | matches (const bsc::model::Connection &conn) const |
Public Attributes | |
| OperatorType | type {OperatorType::Unknown} |
| std::string | operand |
| std::string | data |
| bool | sensitive {false} |
| std::vector< Operator > | list |
|
nodiscard |
Definition at line 230 of file Rule.cpp.
References data, bsc::rule::List, list, bsc::rule::Lists, bsc::rule::Network, operand, bsc::rule::Range, bsc::rule::Regexp, sensitive, bsc::rule::Simple, and type.
Referenced by bsc::rule::Rule::matches().
| std::string bsc::rule::Operator::data |
Definition at line 16 of file Rule.hpp.
Referenced by matches(), bsc::ui::anonymous_namespace{UIClient.cpp}::operator_from_json(), bsc::rule::anonymous_namespace{Rule.cpp}::parse_operator(), bsc::service::DaemonService::persist_learned_rule(), and bsc::rule::anonymous_namespace{Rule.cpp}::to_json_op().
| std::vector<Operator> bsc::rule::Operator::list |
Definition at line 18 of file Rule.hpp.
Referenced by matches(), bsc::ui::anonymous_namespace{UIClient.cpp}::operator_from_json(), bsc::rule::anonymous_namespace{Rule.cpp}::parse_operator(), bsc::service::DaemonService::persist_learned_rule(), and bsc::rule::anonymous_namespace{Rule.cpp}::to_json_op().
| std::string bsc::rule::Operator::operand |
Definition at line 15 of file Rule.hpp.
Referenced by matches(), bsc::ui::anonymous_namespace{UIClient.cpp}::operator_from_json(), bsc::rule::anonymous_namespace{Rule.cpp}::parse_operator(), bsc::service::DaemonService::persist_learned_rule(), and bsc::rule::anonymous_namespace{Rule.cpp}::to_json_op().
| bool bsc::rule::Operator::sensitive {false} |
Definition at line 17 of file Rule.hpp.
Referenced by matches(), bsc::ui::anonymous_namespace{UIClient.cpp}::operator_from_json(), bsc::rule::anonymous_namespace{Rule.cpp}::parse_operator(), and bsc::rule::anonymous_namespace{Rule.cpp}::to_json_op().
| OperatorType bsc::rule::Operator::type {OperatorType::Unknown} |
Definition at line 14 of file Rule.hpp.
Referenced by matches(), bsc::ui::anonymous_namespace{UIClient.cpp}::operator_from_json(), bsc::rule::anonymous_namespace{Rule.cpp}::parse_operator(), bsc::service::DaemonService::persist_learned_rule(), and bsc::rule::anonymous_namespace{Rule.cpp}::to_json_op().