-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'ad-freiburg:master' into magic-service-query-text-search
- Loading branch information
Showing
111 changed files
with
1,691 additions
and
1,201 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
// Copyright 2024, University of Freiburg | ||
// Chair of Algorithms and Data Structures | ||
// Author: Johannes Kalmbach <[email protected]> | ||
|
||
#pragma once | ||
#include <concepts/concepts.hpp> | ||
|
||
// The internal reimplementation of a `CPP_variadic_template` macro | ||
// that can be used for variadic template functions. | ||
#define CPP_TEMPLATE_NO_DEFAULT_SFINAE_AUX_0(...) \ | ||
, std::enable_if_t<CPP_PP_CAT(CPP_TEMPLATE_SFINAE_AUX_3_, __VA_ARGS__), \ | ||
int> = 0 > CPP_PP_IGNORE_CXX2A_COMPAT_END | ||
|
||
#define CPP_TEMPLATE_NO_DEFAULT_SFINAE_AUX_3_requires | ||
|
||
#define CPP_TEMPLATE_NO_DEFAULT_SFINAE_AUX_WHICH_(FIRST, ...) \ | ||
CPP_PP_EVAL(CPP_PP_CHECK, \ | ||
CPP_PP_CAT(CPP_TEMPLATE_SFINAE_PROBE_CONCEPT_, FIRST)) | ||
|
||
#define CPP_TEMPLATE_NO_DEFAULT_SFINAE_AUX_(...) \ | ||
CPP_PP_CAT(CPP_TEMPLATE_NO_DEFAULT_SFINAE_AUX_, \ | ||
CPP_TEMPLATE_NO_DEFAULT_SFINAE_AUX_WHICH_(__VA_ARGS__, )) \ | ||
(__VA_ARGS__) | ||
|
||
#define CPP_template_NO_DEFAULT_SFINAE(...) \ | ||
CPP_PP_IGNORE_CXX2A_COMPAT_BEGIN \ | ||
template <__VA_ARGS__ CPP_TEMPLATE_NO_DEFAULT_SFINAE_AUX_ | ||
|
||
// The internal reimplementation of a `CPP_template_2` and `CPP_and_2` macro | ||
// that can be used for class members when the outer class has already been | ||
// constrained using `CPP_template`. | ||
#define CPP_TEMPLATE_2_SFINAE_AUX_0(...) \ | ||
, bool CPP_true_2 = true, \ | ||
std::enable_if_t < \ | ||
CPP_PP_CAT(CPP_TEMPLATE_SFINAE_AUX_3_, __VA_ARGS__) && \ | ||
CPP_BOOL(CPP_true_2), \ | ||
int > = 0 > CPP_PP_IGNORE_CXX2A_COMPAT_END | ||
|
||
#define CPP_TEMPLATE_2_SFINAE_AUX_3_requires | ||
|
||
#define CPP_TEMPLATE_2_SFINAE_AUX_WHICH_(FIRST, ...) \ | ||
CPP_PP_EVAL(CPP_PP_CHECK, \ | ||
CPP_PP_CAT(CPP_TEMPLATE_SFINAE_PROBE_CONCEPT_, FIRST)) | ||
|
||
#define CPP_TEMPLATE_2_SFINAE_AUX_(...) \ | ||
CPP_PP_CAT(CPP_TEMPLATE_2_SFINAE_AUX_, \ | ||
CPP_TEMPLATE_2_SFINAE_AUX_WHICH_(__VA_ARGS__, )) \ | ||
(__VA_ARGS__) | ||
|
||
#define CPP_template_2_SFINAE(...) \ | ||
CPP_PP_IGNORE_CXX2A_COMPAT_BEGIN \ | ||
template <__VA_ARGS__ CPP_TEMPLATE_2_SFINAE_AUX_ | ||
|
||
/// INTERNAL ONLY | ||
#define CPP_and_def_sfinae &&CPP_BOOL(CPP_true), int >, std::enable_if_t < | ||
#define CPP_and_2_sfinae &&CPP_BOOL(CPP_true_2), int > = 0, std::enable_if_t < | ||
#define CPP_and_2_def_sfinae &&CPP_BOOL(CPP_true_2), int >, std::enable_if_t < | ||
|
||
#define CPP_member_def_sfinae \ | ||
template <bool (&CPP_true_fn)(::concepts::detail::xNil)> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// Copyright 2025, University of Freiburg, | ||
// Chair of Algorithms and Data Structures. | ||
// Author: Robin Textor-Falconi <[email protected]> | ||
|
||
#include "engine/QueryExecutionContext.h" | ||
|
||
#include "global/RuntimeParameters.h" | ||
|
||
bool QueryExecutionContext::areWebSocketUpdatesEnabled() { | ||
return RuntimeParameters().get<"websocket-updates-enabled">(); | ||
} |
Oops, something went wrong.