RequestFeatures.hh
Go to the documentation of this file.
Definition: Entity.hh:42
typename ToFeatureList::Features Features
Definition: RequestFeatures.hh:36
static EntityPtr< EntityT< PolicyT, ToFeatureList > > From(const EntityPtr< EntityT< PolicyT, FromFeatureList >> &_from)
Cast an entity to another entity pointer, with the requested set of features.
static std::set< std::string > MissingFeatureNames(const EntityPtr< EntityT< PolicyT, FromFeatureList >> &_entity)
Check which features from the requested list are missing from the entity's plugin.