Flow123d  last_with_con_2.0.0-663-gd0e2296
Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
ReaderInstances Class Reference

#include <reader_instances.hh>

Collaboration diagram for ReaderInstances:
Collaboration graph
[legend]

Public Types

typedef std::map< string, std::shared_ptr< GmshMeshReader > > ReaderTable
 

Public Member Functions

std::shared_ptr< GmshMeshReaderget_reader (const FilePath &file_path)
 

Static Public Member Functions

static ReaderInstancesinstance ()
 Returns singleton instance. More...
 

Private Member Functions

 ReaderInstances ()
 Constructor. More...
 

Private Attributes

ReaderTable reader_table_
 Table of readers. More...
 

Detailed Description

Auxiliary class to map filepaths to instances of readers.

Definition at line 29 of file reader_instances.hh.

Member Typedef Documentation

typedef std::map< string, std::shared_ptr<GmshMeshReader> > ReaderInstances::ReaderTable

Definition at line 31 of file reader_instances.hh.

Constructor & Destructor Documentation

ReaderInstances::ReaderInstances ( )
inlineprivate

Constructor.

Definition at line 43 of file reader_instances.hh.

Here is the caller graph for this function:

Member Function Documentation

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 25 of file reader_instances.cc.

Here is the caller graph for this function:

ReaderInstances * ReaderInstances::instance ( )
static

Returns singleton instance.

Definition at line 20 of file reader_instances.cc.

Here is the caller graph for this function:

Member Data Documentation

ReaderTable ReaderInstances::reader_table_
private

Table of readers.

Definition at line 43 of file reader_instances.hh.


The documentation for this class was generated from the following files: