lookup_mixins.h File Reference
+ Include dependency graph for lookup_mixins.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  GetFindEntityMixin< DerivedT >
 
struct  GetFindInstanceMixin< DerivedT >
 
struct  GetFindProviderSegmentMixin< DerivedT >
 
struct  GetFindSnapshotMixin< DerivedT >
 
struct  GetLatestInstanceMixin< DerivedT >
 
struct  GetLatestSnapshotMixin< DerivedT >
 

Namespaces

namespace  armarx
 This file offers overloads of toIce() and fromIce() functions for STL container types.
 
namespace  armarx::armem
 
namespace  armarx::armem::base
 
namespace  armarx::armem::base::detail
 

Functions

void checkHasCoreSegmentName (const MemoryID &coreSegmentID)
 Throw armem::error::InvalidMemoryID if the given ID has core segment name.
 
void checkHasEntityName (const MemoryID &entityID)
 Throw armem::error::InvalidMemoryID if the given ID has no entity name.
 
void checkHasInstanceIndex (const MemoryID &instanceID)
 Throw armem::error::InvalidMemoryID if the given ID has no instance index.
 
void checkHasMemoryName (const MemoryID &memory)
 Throw armem::error::InvalidMemoryID if the given ID has memory name.
 
void checkHasProviderSegmentName (const MemoryID &providerSegmentID)
 Throw armem::error::InvalidMemoryID if the given ID has provider segment name.
 
void checkHasTimestamp (const MemoryID &snapshotID)
 Throw armem::error::InvalidMemoryID if the given ID has no timestamp.
 
template<class KeyT, class ContainerT>
auto * findChildByKey (const KeyT &key, ContainerT &&container)
 Find a child in a container by its key.
 
template<class KeyT, class ContainerT, class ParentT, class KeyStringFn>
auto & getChildByKey (const KeyT &key, ContainerT &&container, const ParentT &owner, KeyStringFn &&keyStringFn)
 Retrieve a child in a container by its key.
 
template<class KeyT, class ContainerT, class ParentT>
auto & getChildByKey (const KeyT &key, ContainerT &&container, const ParentT &parent)
 Retrieve a child in a container by its key.