MapLibre Native Core
|
#include <filter.hpp>
Public Member Functions | |
Filter ()=default | |
Filter (expression::ParseResult _expression, std::optional< mbgl::Value > _filter=std::nullopt) | |
bool | operator() (const expression::EvaluationContext &context) const |
operator bool () const | |
mbgl::Value | serialize () const |
Public Attributes | |
std::optional< std::shared_ptr< const expression::Expression > > | expression |
Friends | |
bool | operator== (const Filter &lhs, const Filter &rhs) |
bool | operator!= (const Filter &lhs, const Filter &rhs) |
Definition at line 16 of file filter.hpp.
|
default |
|
inline |
Definition at line 24 of file filter.hpp.
|
inline |
Definition at line 32 of file filter.hpp.
bool mbgl::style::Filter::operator() | ( | const expression::EvaluationContext & | context | ) | const |
|
inline |
Definition at line 46 of file filter.hpp.
Definition at line 42 of file filter.hpp.
Definition at line 34 of file filter.hpp.
std::optional<std::shared_ptr<const expression::Expression> > mbgl::style::Filter::expression |
Definition at line 18 of file filter.hpp.