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