18 #ifndef READER_INSTANCES_HH_ 19 #define READER_INSTANCES_HH_ std::map< string, std::shared_ptr< GmshMeshReader > > ReaderTable
std::shared_ptr< GmshMeshReader > reader_
std::map< string, ReaderData > ReaderTable
ReaderInstance()
Constructor.
static ReaderData get_instance(const FilePath &file_path)
Returns instance of given FilePath. If reader doesn't exist, creates new ReaderData object...
ReaderTable reader_table_
Table of readers.
static std::shared_ptr< GmshMeshReader > get_reader(const FilePath &file_path)
static std::shared_ptr< Mesh > get_mesh(const FilePath &file_path)
ReaderInstances()
Constructor.
std::shared_ptr< Mesh > mesh_
Dedicated class for storing path to input and output files.
static ReaderInstance * instance()
Returns singleton instance.