Flow123d
jenkins-Flow123d-linux-release-multijob-282
|
#include <reader_instances.hh>
Public Types | |
typedef std::map< string, std::shared_ptr < GmshMeshReader > > | ReaderTable |
Public Member Functions | |
std::shared_ptr< GmshMeshReader > | get_reader (const FilePath &file_path) |
Static Public Member Functions | |
static ReaderInstances * | instance () |
Returns singleton instance. More... | |
Private Member Functions | |
ReaderInstances () | |
Constructor. More... | |
Private Attributes | |
ReaderTable | reader_table_ |
Table of readers. More... | |
Auxiliary class to map filepaths to instances of readers.
Definition at line 19 of file reader_instances.hh.
typedef std::map< string, std::shared_ptr<GmshMeshReader> > ReaderInstances::ReaderTable |
Definition at line 21 of file reader_instances.hh.
|
inlineprivate |
Constructor.
Definition at line 33 of file reader_instances.hh.
std::shared_ptr< GmshMeshReader > ReaderInstances::get_reader | ( | const FilePath & | file_path | ) |
Returns mesh reader of get filepath. If reader doesn't exist, creates its.
Definition at line 15 of file reader_instances.cc.
|
static |
Returns singleton instance.
Definition at line 10 of file reader_instances.cc.
|
private |
Table of readers.
Definition at line 33 of file reader_instances.hh.