ArkScript
A small, fast, functional and scripting language for video games
Ark::internal::IsEither Struct Referencefinal

#include <Predicates.hpp>

Inheritance diagram for Ark::internal::IsEither:
[legend]
Collaboration diagram for Ark::internal::IsEither:
[legend]

Public Member Functions

 IsEither (const CharPred &a, const CharPred &b)
 
bool operator() (const utf8_char_t::codepoint_t c) const override
 
- Public Member Functions inherited from Ark::internal::CharPred
 CharPred (std::string n)
 
virtual ~CharPred ()=default
 

Private Attributes

const CharPredm_a
 
const CharPredm_b
 

Additional Inherited Members

- Public Attributes inherited from Ark::internal::CharPred
const std::string name
 

Detailed Description

Definition at line 99 of file Predicates.hpp.

Constructor & Destructor Documentation

◆ IsEither()

Ark::internal::IsEither::IsEither ( const CharPred & a,
const CharPred & b )
inlineexplicit

Definition at line 101 of file Predicates.hpp.

Member Function Documentation

◆ operator()()

bool Ark::internal::IsEither::operator() ( const utf8_char_t::codepoint_t c) const
inlineoverridevirtual

Implements Ark::internal::CharPred.

Definition at line 104 of file Predicates.hpp.

References m_a, and m_b.

Member Data Documentation

◆ m_a

const CharPred& Ark::internal::IsEither::m_a
private

Definition at line 110 of file Predicates.hpp.

Referenced by operator()().

◆ m_b

const CharPred& Ark::internal::IsEither::m_b
private

Definition at line 111 of file Predicates.hpp.

Referenced by operator()().


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