LeechCraft 0.6.70-19214-g121e5318a7
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
LC::AN::StringValueMatcher Struct Reference

Matches string values. More...

#include "ianemitter.h"

Collaboration diagram for LC::AN::StringValueMatcher:

Classes

struct  Exact
struct  Substring
struct  Wildcard
struct  Pattern

Public Member Functions

bool operator== (const StringValueMatcher &) const =default

Public Attributes

Pattern Pattern_ = Exact {}
 The pattern the values should (not) match.
bool Positive_ = true
 Whether the values should match or not match Pattern_.

Detailed Description

Matches string values.

Definition at line 144 of file ianemitter.h.

Member Function Documentation

◆ operator==()

bool LC::AN::StringValueMatcher::operator== ( const StringValueMatcher & ) const
default

Member Data Documentation

◆ Pattern_

Pattern LC::AN::StringValueMatcher::Pattern_ = Exact {}

The pattern the values should (not) match.

Definition at line 180 of file ianemitter.h.

Referenced by LC::Util::AN::Matches(), LC::Util::AN::Matches(), and LC::Util::AN::Matches().

◆ Positive_

bool LC::AN::StringValueMatcher::Positive_ = true

Whether the values should match or not match Pattern_.

If this is true, the values should match Pattern_, and shouldn't otherwise.

Definition at line 187 of file ianemitter.h.

Referenced by LC::Util::AN::Matches(), LC::Util::AN::Matches(), and LC::Util::AN::Matches().


The documentation for this struct was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/leechcraft-doc-0.6.70+git.19214.g121e5318a7-build/leechcraft-0.6.70-19214-g121e5318a7/src/interfaces/an/ianemitter.h