|
Flow123d
intersections_paper-476-gbe68821
|
#include <reader_instances.hh>

Classes | |
| struct | ReaderData |
Public Types | |
| typedef std::map< string, ReaderData > | ReaderTable |
Static Public Member Functions | |
| static std::shared_ptr< GmshMeshReader > | get_reader (const FilePath &file_path) |
| static std::shared_ptr< Mesh > | get_mesh (const FilePath &file_path) |
Private Member Functions | |
| ReaderInstance () | |
| Constructor. More... | |
Static Private Member Functions | |
| static ReaderInstance * | instance () |
| Returns singleton instance. More... | |
| static ReaderData | get_instance (const FilePath &file_path) |
| Returns instance of given FilePath. If reader doesn't exist, creates new ReaderData object. More... | |
Private Attributes | |
| ReaderTable | reader_table_ |
| Table of readers. More... | |
Auxiliary class to map filepaths to instances of readers.
Definition at line 32 of file reader_instances.hh.
| typedef std::map< string, ReaderData > ReaderInstance::ReaderTable |
Definition at line 39 of file reader_instances.hh.
|
inlineprivate |
Constructor.
Definition at line 56 of file reader_instances.hh.

|
staticprivate |
Returns instance of given FilePath. If reader doesn't exist, creates new ReaderData object.
Definition at line 35 of file reader_instances.cc.

Returns mesh of given FilePath.
Definition at line 31 of file reader_instances.cc.

|
static |
Returns reader of given FilePath.
Definition at line 27 of file reader_instances.cc.

|
staticprivate |
Returns singleton instance.
Definition at line 22 of file reader_instances.cc.

|
private |
Table of readers.
Definition at line 62 of file reader_instances.hh.
1.8.11