libkazv
Kazv::PushRulesDescPrivate Struct Reference

#include <push-rules-desc-p.hpp>

Collaboration diagram for Kazv::PushRulesDescPrivate:

Public Member Functions

 PushRulesDescPrivate (const Event &e)
 
std::optional< std::pair< std::string, json > > matchRule (const Event &e, const RoomModel &room) const
 
std::optional< std::pair< std::string, json > > matchRuleSet (std::string ruleSetName, const Event &e, const RoomModel &room) const
 
bool matchP (std::string ruleSetName, const json &rule, const Event &e, const RoomModel &room) const
 
PushAction handleRule (std::string ruleSetName, const json &rule, const Event &e, const RoomModel &room) const
 

Public Attributes

Event pushRulesEvent
 

Constructor & Destructor Documentation

◆ PushRulesDescPrivate()

Kazv::PushRulesDescPrivate::PushRulesDescPrivate ( const Event e)

Member Function Documentation

◆ handleRule()

PushAction Kazv::PushRulesDescPrivate::handleRule ( std::string  ruleSetName,
const json rule,
const Event e,
const RoomModel room 
) const

◆ matchP()

bool Kazv::PushRulesDescPrivate::matchP ( std::string  ruleSetName,
const json rule,
const Event e,
const RoomModel room 
) const

◆ matchRule()

std::optional< std::pair< std::string, json > > Kazv::PushRulesDescPrivate::matchRule ( const Event e,
const RoomModel room 
) const

◆ matchRuleSet()

std::optional< std::pair< std::string, json > > Kazv::PushRulesDescPrivate::matchRuleSet ( std::string  ruleSetName,
const Event e,
const RoomModel room 
) const

Member Data Documentation

◆ pushRulesEvent

Event Kazv::PushRulesDescPrivate::pushRulesEvent

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