Chatterino
Public Member Functions | List of all members
chatterino::LinkPredicate Class Reference

MessagePredicate checking whether a link exists in the message. More...

#include <LinkPredicate.hpp>

Inheritance diagram for chatterino::LinkPredicate:
[legend]
Collaboration diagram for chatterino::LinkPredicate:
[legend]

Public Member Functions

 LinkPredicate ()
 
bool appliesTo (const Message &message)
 Checks whether the message contains a link. More...
 
- Public Member Functions inherited from chatterino::MessagePredicate
virtual ~MessagePredicate ()=default
 

Detailed Description

MessagePredicate checking whether a link exists in the message.

This predicate will only allow messages that contain a link.

Constructor & Destructor Documentation

◆ LinkPredicate()

chatterino::LinkPredicate::LinkPredicate ( )

Member Function Documentation

◆ appliesTo()

bool chatterino::LinkPredicate::appliesTo ( const Message message)
virtual

Checks whether the message contains a link.

Parameters
messagethe message to check
Returns
true if the message contains a link, false otherwise

Implements chatterino::MessagePredicate.

Here is the call graph for this function:

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