Template Function nix::getEntityName

Function Documentation

template<typename Entity>
boost::optional<std::string> nix::getEntityName(const Entity &e)

Get the name of an entity.

Parameters

e – The entity to get the name of.

Returns

the name of the entity, if it is a nix::base::Entity to begin with or nix::none.