125991f7dSEd Tanous #pragma once 225991f7dSEd Tanous 325991f7dSEd Tanous #include "filter_expr_parser_ast.hpp" 425991f7dSEd Tanous 525991f7dSEd Tanous #include <nlohmann/json.hpp> 625991f7dSEd Tanous 725991f7dSEd Tanous namespace redfish 825991f7dSEd Tanous { 925991f7dSEd Tanous 10*f80a87f2SEd Tanous bool memberMatches(const nlohmann::json& member, 1125991f7dSEd Tanous const filter_ast::LogicalAnd& filterParam); 1225991f7dSEd Tanous 13*f80a87f2SEd Tanous bool applyFilterToCollection(nlohmann::json& body, 14*f80a87f2SEd Tanous const filter_ast::LogicalAnd& filterParam); 15*f80a87f2SEd Tanous 16*f80a87f2SEd Tanous } // namespace redfish 17