DART  6.6.2
Composite.cpp File Reference
#include <cassert>
#include <iostream>
#include "dart/common/Console.hpp"
#include "dart/common/Composite.hpp"

Namespaces

 dart
 
 dart::common
 

Functions

template<typename ObjectType , class DataType , const DataType *(ObjectType::*)() const getData, typename ObjectMap = std::map< std::type_index, std::unique_ptr<ObjectType> >, typename DataMap = std::map< std::type_index, std::unique_ptr<DataType> >>
static void dart::common::extractDataFromObjectTypeMap (DataMap &dataMap, const ObjectMap &objectMap)
 Type maps are std::map containers which map an object's Type Info to some instance or trait of that type. More...
 
template<typename ObjectType , class DataType , void(ObjectType::*)(const DataType &) setData, typename ObjectMap = std::map< std::type_index, std::unique_ptr<ObjectType> >, typename DataMap = std::map< std::type_index, std::unique_ptr<DataType> >>
static void dart::common::setObjectsFromDataTypeMap (ObjectMap &objectMap, const DataMap &dataMap)
 Type maps are std::map containers which map an object's Type Info to some instance or trait of that type. More...