Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qohosutils.h File Reference

(dc8a6de42c8adb89275628f0adb067e9664a795d)

#include <QtCore/private/qohoscommon_p.h>
#include <QtCore/qglobal.h>
#include <QtCore/qlogging.h>
#include <cstdint>
#include <cstdlib>
#include <functional>
#include <limits>
#include <memory>
#include <mutex>
#include <qohosplugincore.h>
#include <string>
#include <tuple>
#include <type_traits>
#include <utility>
Include dependency graph for qohosutils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  QtOhos::TypedId< IdValueType, TypeTag >
struct  QtOhos::EvaluateSequentially

Namespaces

namespace  QtOhos
namespace  QtOhos::qohosutils_details

Typedefs

template<typename ... Ts>
using QtOhos::Conjuction

Functions

QOhosOptional< std::uintmax_t > QtOhos::qohosutils_details::tryParseStringAsUIntMax (const std::string &inputString)
template<typename ForwardIt, typename Predicate>
ForwardIt QtOhos::removeMatchingWithLookahead (ForwardIt firstIt, ForwardIt lastIt, Predicate &&predicate)
template<typename UnaryFunc, typename... TupleElements, std::size_t... TupleIndices>
void QtOhos::tupleForEach (const std::tuple< TupleElements... > &tuple, UnaryFunc func, std::index_sequence< TupleIndices... >)
template<typename UnaryFunc, typename... TupleElements>
void QtOhos::tupleForEach (const std::tuple< TupleElements... > &tuple, UnaryFunc func)
template<typename T>
QOhosConsumer< T > QtOhos::makeCompressingAsyncConsumer (QOhosConsumer< T > baseConsumer, QOhosConsumer< std::function< void()> > asyncExecutor)
template<typename ... Ts, typename BaseConsumer>
std::enable_if_t< std::is_assignable< QOhosConsumer< Ts... >, BaseConsumer >::value, std::function< bool(Ts...)> > QtOhos::makeCallOnceConsumerWrapper (BaseConsumer &&baseConsumer)
QOhosOptional< double > QtOhos::tryParseStringAsFiniteDouble (const std::string &inputString)
template<typename T>
std::enable_if_t< std::is_integral< T >::value &&std::is_unsigned< T >::value, QOhosOptional< T > > QtOhos::tryParseStringAsUnsignedInteger (const std::string &inputString)
std::string QtOhos::printfToString (const char *format,...) Q_ATTRIBUTE_FORMAT_PRINTF(1
std::string const char * QtOhos::mapBoolToTrueFalseStr (bool value)
std::shared_ptr< QtOhos::QAbilityPeerQtOhos::tryMapOptMainWindowToAbilityPeer (QtOhos::JsState &jsState, QOhosOptional< QtOhos::QObjectThreadSafeRef > optInstanceMainWindowRef)
template<typename T>
constexpr T QtOhos::makeCopyByValue (T value)