#include <CompositeData.hpp>
|
template<typename... Args> |
| CompositeData (Args &&... args) |
| Forwarding constructor. More...
|
|
virtual | ~CompositeData ()=default |
|
template<class AspectT , typename... Args> |
GetData< AspectT >::Type & | create (Args &&... args) |
| Create (or replace) a piece of data in this. More...
|
|
template<class AspectT > |
GetData< AspectT >::Type * | get () |
|
template<class AspectT > |
const GetData< AspectT >::Type * | get () const |
|
template<class AspectT , typename... Args> |
GetData< AspectT >::Type & | getOrCreate (Args &&... args) |
|
template<class AspectT > |
bool | has () const |
|
void | copy (const CloneableMap &otherMap, bool merge=false) |
| Copy the contents of another cloneable map into this one. More...
|
|
void | copy (const MapType &otherMap, bool merge=false) |
| Copy the contents of a map into this one. More...
|
|
void | merge (const CloneableMap &otherMap) |
| Merge the contents of another cloneable map into this one. More...
|
|
void | merge (const MapType &otherMap) |
| Merge the contents of another map into this one. More...
|
|
MapType & | getMap () |
| Get the map that is being held. More...
|
|
const MapType & | getMap () const |
| Get the map that is being held. More...
|
|
◆ CompositeData()
template<typename MapType , template< class > class GetData>
template<typename... Args>
◆ ~CompositeData()
template<typename MapType , template< class > class GetData>
◆ copy() [1/2]
template<typename MapType >
Copy the contents of another cloneable map into this one.
If merge is set to false, then any fields in this map which are not present in the other map will be erased; otherwise they will be kept. Setting merge to false will make the contents of this map an exact duplicate of the other map.
◆ copy() [2/2]
template<typename MapType >
Copy the contents of a map into this one.
If merge is set to false, then any fields in this map which are not present in the other map will be erased; otherwise they will be kept. Setting merge to false will make the contents of this map an exact duplicate of the other map.
◆ create()
template<typename MapType , template< class > class GetData>
template<class AspectT , typename... Args>
Create (or replace) a piece of data in this.
◆ get() [1/2]
template<typename MapType , template< class > class GetData>
template<class AspectT >
◆ get() [2/2]
template<typename MapType , template< class > class GetData>
template<class AspectT >
◆ getMap() [1/2]
template<typename MapType >
Get the map that is being held.
◆ getMap() [2/2]
template<typename MapType >
Get the map that is being held.
◆ getOrCreate()
template<typename MapType , template< class > class GetData>
template<class AspectT , typename... Args>
◆ has()
template<typename MapType , template< class > class GetData>
template<class AspectT >
◆ merge() [1/2]
template<typename MapType >
Merge the contents of another cloneable map into this one.
If there are any entries which both maps have, then the contents of otherMap will take precedence. This is the same as calling copy(otherMap, true).
◆ merge() [2/2]
template<typename MapType >
Merge the contents of another map into this one.
If there are any entries which both maps have, then the contents of otherMap will take precedence. This is the same as calling copy(otherMap, true).
◆ mMap
template<typename MapType >
A map containing the collection of States for the Aspect.