|
Wildmeshing Toolkit
|
#include <MeshCollection.hpp>
Public Member Functions | |
| NamedMultiMesh & | add_mesh (NamedMultiMesh &&o) |
| template<typename... Args> | |
| NamedMultiMesh & | emplace_mesh (Args &&... args) |
| const NamedMultiMesh & | get_named_multimesh (const std::string_view &path) const |
| const Mesh & | get_mesh (const std::string_view &path) const |
| bool | has_mesh (const std::string_view &path) const |
| bool | has_named_multimesh (const std::string_view &path) const |
| NamedMultiMesh & | get_named_multimesh (const std::string_view &path) |
| Mesh & | get_mesh (const std::string_view &path) |
| void | make_canonical () |
| std::map< std::string, const Mesh & > | all_meshes () const |
Private Attributes | |
| std::map< std::string_view, std::unique_ptr< NamedMultiMesh > > | m_meshes |
Definition at line 9 of file MeshCollection.hpp.
| NamedMultiMesh & wmtk::components::multimesh::MeshCollection::add_mesh | ( | NamedMultiMesh && | o | ) |
Definition at line 11 of file MeshCollection.cpp.
References m_meshes.
Referenced by emplace_mesh().
| std::map< std::string, const Mesh & > wmtk::components::multimesh::MeshCollection::all_meshes | ( | ) | const |
Definition at line 105 of file MeshCollection.cpp.
References m_meshes.
|
inline |
Definition at line 14 of file MeshCollection.hpp.
References add_mesh().
Referenced by TEST_CASE().
| Mesh & wmtk::components::multimesh::MeshCollection::get_mesh | ( | const std::string_view & | path | ) |
Definition at line 31 of file MeshCollection.cpp.
References wmtk::components::multimesh::NamedMultiMesh::get_mesh(), and get_named_multimesh().
| const Mesh & wmtk::components::multimesh::MeshCollection::get_mesh | ( | const std::string_view & | path | ) | const |
Definition at line 26 of file MeshCollection.cpp.
References wmtk::components::multimesh::NamedMultiMesh::get_mesh(), and get_named_multimesh().
Referenced by wmtk::components::multimesh::utils::get_attribute().
| NamedMultiMesh & wmtk::components::multimesh::MeshCollection::get_named_multimesh | ( | const std::string_view & | path | ) |
Definition at line 83 of file MeshCollection.cpp.
References wmtk::logger(), m_meshes, and wmtk::components::multimesh::internal::split_path().
| const NamedMultiMesh & wmtk::components::multimesh::MeshCollection::get_named_multimesh | ( | const std::string_view & | path | ) | const |
Definition at line 53 of file MeshCollection.cpp.
References wmtk::logger(), m_meshes, and wmtk::components::multimesh::internal::split_path().
Referenced by get_mesh(), get_mesh(), and has_mesh().
| bool wmtk::components::multimesh::MeshCollection::has_mesh | ( | const std::string_view & | path | ) | const |
Definition at line 43 of file MeshCollection.cpp.
References get_named_multimesh(), and has_named_multimesh().
| bool wmtk::components::multimesh::MeshCollection::has_named_multimesh | ( | const std::string_view & | path | ) | const |
Definition at line 35 of file MeshCollection.cpp.
References m_meshes, and wmtk::components::multimesh::internal::split_path().
Referenced by has_mesh().
| void wmtk::components::multimesh::MeshCollection::make_canonical | ( | ) |
Definition at line 117 of file MeshCollection.cpp.
References m_meshes.
|
private |
Definition at line 35 of file MeshCollection.hpp.
Referenced by add_mesh(), all_meshes(), get_named_multimesh(), get_named_multimesh(), has_named_multimesh(), and make_canonical().