Wildmeshing Toolkit
|
#include <MappableContainer.hpp>
Public Member Functions | |
MappableContainer (const Mesh &m) | |
MappableContainer (const MappableContainer &)=default | |
MappableContainer (MappableContainer &&)=default | |
MappableContainer & | operator= (const MappableContainer &) |
MappableContainer & | operator= (MappableContainer &&) |
~MappableContainer ()=default | |
virtual std::vector< std::shared_ptr< Mappable > > | mappables ()=0 |
void | add (std::shared_ptr< Mappable > mappable) |
const std::shared_ptr< Mappable > & | get (int64_t index) const |
int64_t | size () const |
bool | empty () const |
std::map< Mesh const *, std::vector< std::shared_ptr< Mappable > > > | get_map_mesh_to_invariants () |
Public Member Functions inherited from wmtk::multimesh::Mappable | |
virtual const Mesh & | mesh () const =0 |
Private Attributes | |
std::vector< std::shared_ptr< Mappable > > | m_mappables |
Definition at line 5 of file MappableContainer.hpp.
wmtk::MappableContainer::MappableContainer | ( | const Mesh & | m | ) |
Definition at line 8 of file MappableContainer.cpp.
|
default |
|
default |
|
default |
void wmtk::MappableContainer::add | ( | std::shared_ptr< Mappable > | mappable | ) |
Definition at line 24 of file MappableContainer.cpp.
References m_mappables.
bool wmtk::MappableContainer::empty | ( | ) | const |
Definition at line 108 of file MappableContainer.cpp.
References m_mappables.
const std::shared_ptr< Mappable > & wmtk::MappableContainer::get | ( | int64_t | index | ) | const |
Definition at line 100 of file MappableContainer.cpp.
References m_mappables.
std::map< Mesh const *, std::vector< std::shared_ptr< Mappable > > > wmtk::MappableContainer::get_map_mesh_to_invariants | ( | ) |
Definition at line 118 of file MappableContainer.cpp.
References get_map_mesh_to_invariants(), and m_mappables.
Referenced by get_map_mesh_to_invariants().
|
pure virtual |
MappableContainer& wmtk::multimesh::MappableContainer::operator= | ( | const MappableContainer & | ) |
MappableContainer& wmtk::multimesh::MappableContainer::operator= | ( | MappableContainer && | ) |
int64_t wmtk::MappableContainer::size | ( | ) | const |
Definition at line 104 of file MappableContainer.cpp.
References m_mappables.
|
private |
Definition at line 27 of file MappableContainer.hpp.
Referenced by add(), empty(), get(), get_map_mesh_to_invariants(), and size().