Commit 53d06e14 authored by Dennis Gläser's avatar Dennis Gläser
Browse files

[multigeomentityset] add overload for uncontained network builders

parent 03c43b17
......@@ -211,6 +211,28 @@ public:
std::apply([&](auto& ...x){(..., addSets(x));}, entitySets_);
* \brief Export all entity sets into the provided
* entity network builder.
* \param builder An instance of a builder class.
* \note This overload works with builders that create
* uncontained network, i.e. only the network is built
* independent of the embedding domain.
template<class NetworkBuilder>
void exportEntitySets(NetworkBuilder& builder) const
// lambda to add sets of a specific geometry type
auto addSets = [&] (const auto& geomVectorIdPairVector) -> void
for (const auto& vectorIdPair : geomVectorIdPairVector)
// find the id and apply function
std::apply([&](auto& ...x){(..., addSets(x));}, entitySets_);
* \brief Export various entity sets into the
* provided entity network builder.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment