SmartFoxServer 2X C++ API
Sfs2X::Entities::Match::BoolMatch Class Reference

This matcher is used in MatchExpressions to check boolean conditions More...

#include <BoolMatch.h>

Inheritance diagram for Sfs2X::Entities::Match::BoolMatch:
Sfs2X::Entities::Match::IMatcher

Public Member Functions

boost::shared_ptr< string > Symbol ()
 Get the condition symbol of this matcher More...
 
long int Type ()
 Get the type of this matcher More...
 

Static Public Attributes

static boost::shared_ptr< BoolMatchEQUALS
 Checks that Bool1 == Bool2 More...
 
static boost::shared_ptr< BoolMatchNOT_EQUALS
 Checks that Bool1 != Bool2 More...
 

Detailed Description

This matcher is used in MatchExpressions to check boolean conditions

See also
MatchExpression

Member Function Documentation

◆ Symbol()

boost::shared_ptr< string > Sfs2X::Entities::Match::BoolMatch::Symbol ( )
virtual

Get the condition symbol of this matcher

Implements Sfs2X::Entities::Match::IMatcher.

◆ Type()

long int Sfs2X::Entities::Match::BoolMatch::Type ( )
virtual

Get the type of this matcher

Implements Sfs2X::Entities::Match::IMatcher.

Member Data Documentation

◆ EQUALS

boost::shared_ptr< BoolMatch > Sfs2X::Entities::Match::BoolMatch::EQUALS
static

Checks that Bool1 == Bool2

◆ NOT_EQUALS

boost::shared_ptr< BoolMatch > Sfs2X::Entities::Match::BoolMatch::NOT_EQUALS
static

Checks that Bool1 != Bool2