Utopia  2
Framework for studying models of complex & adaptive systems.
Classes | Namespaces | Functions
utils.hh File Reference
#include "../../core/type_traits.hh"
#include "../../core/zip.hh"
#include "../cfg_utils.hh"
Include dependency graph for utils.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Utopia::DataIO::_DMUtils::all_callable< T >
 Metafunction for use with boost hana, check if all T are callable types. More...
 

Namespaces

 Utopia
 
 Utopia::DataIO
 
 Utopia::DataIO::_DMUtils
 

Functions

template<class ValType , class KVPairs , class ObjMap >
void Utopia::DataIO::_DMUtils::unpack_shared (KVPairs &&kv_pairs, ObjMap &&map)
 Helper function to unpack (key, value) container into a map of shared pointers of a type. More...
 
template<class ObjMap , class ValType , class KVPairs >
ObjMap Utopia::DataIO::_DMUtils::unpack_shared (KVPairs &&kv_pairs)
 Helper function to unpack (key, value) container into an empty map of shared pointers of a type. More...
 
template<class AssocsMap , class NamedTasks , class NamedDTMap , class Assocs >
AssocsMap Utopia::DataIO::_DMUtils::build_task_association_map (const NamedTasks &tasks, const NamedDTMap &named_dts, Assocs assocs=Assocs{})
 Build an association map, i.e., a map that associates a decider/trigger name with a collection of tasknames. More...