LeechCraft  0.6.70-10870-g558588d6ec
Modular cross-platform feature rich live environment.
qtutil.h File Reference
#include <tuple>
#include <boost/range.hpp>
#include "sllconfig.h"
+ Include dependency graph for qtutil.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  LeechCraft::Util::detail::Identity< T >
 
class  LeechCraft::Util::detail::StlAssocIteratorAdaptor< KeyMF, ValueMF, Iter, PairType >
 
struct  LeechCraft::Util::detail::StlAssocRange< KeyMF, ValueMF, Iter, Assoc, PairType >
 
struct  LeechCraft::Util::detail::StlAssocRange< KeyMF, ValueMF, Iter, Assoc &, PairType >
 

Namespaces

 LeechCraft
 
 LeechCraft::Util
 
 LeechCraft::Util::detail
 

Typedefs

template<template< typename > class F, typename V >
using LeechCraft::Util::detail::MF = typename F< V >::type
 
template<template< template< typename > class, template< typename > class, typename, template< typename, typename > class > class This, template< typename > class KeyMF, template< typename > class ValueMF, typename Iter , template< typename, typename > class PairType, typename KeyType = MF<KeyMF, decltype (Iter {}.key ())>, typename ValueType = MF<ValueMF, decltype (Iter {}.value ())>>
using LeechCraft::Util::detail::IteratorAdaptorBase = boost::iterator_adaptor< This< KeyMF, ValueMF, Iter, PairType >, Iter, PairType< KeyType, ValueType >, boost::use_default, PairType< KeyType, ValueType > >
 

Functions

template<template< typename K, typename V > class PairType = std::pair, typename Assoc >
auto LeechCraft::Util::Stlize (Assoc &&assoc) -> detail::StlAssocRange< detail::Identity, detail::Identity, decltype(assoc.begin()), Assoc, PairType >
 Converts an Qt's associative sequence assoc to an STL-like iteratable range. More...
 
template<template< typename K, typename V > class PairType = std::pair, typename Assoc >
auto LeechCraft::Util::StlizeCopy (Assoc &&assoc) -> detail::StlAssocRange< std::decay, std::decay, decltype(assoc.begin()), Assoc, PairType >