Flow123d  jenkins-Flow123d-linux-release-multijob-198
Public Types | Public Member Functions | Public Attributes | List of all members
OldBcdInput::FieldFactory< spacedim, Value > Class Template Reference

#include <old_bcd.hh>

Inheritance diagram for OldBcdInput::FieldFactory< spacedim, Value >:
Inheritance graph
[legend]
Collaboration diagram for OldBcdInput::FieldFactory< spacedim, Value >:
Collaboration graph
[legend]

Public Types

typedef FieldElementwise
< spacedim, Value > 
FieldElementwiseType
 
typedef std::shared_ptr
< FieldElementwiseType
FieldPtr
 

Public Member Functions

 FieldFactory (FieldPtr *field)
 
virtual Field< spacedim, Value >
::FieldBasePtr 
create_field (Input::Record rec, const FieldCommon &field)
 

Public Attributes

FieldPtrfield_
 

Detailed Description

template<int spacedim, class Value>
class OldBcdInput::FieldFactory< spacedim, Value >

Factory class (descendant of Field<...>::FactoryBase) that is necessary for backward compatibility with old BCD input files.

Definition at line 80 of file old_bcd.hh.

Member Typedef Documentation

template<int spacedim, class Value >
typedef FieldElementwise<spacedim, Value> OldBcdInput::FieldFactory< spacedim, Value >::FieldElementwiseType

Definition at line 83 of file old_bcd.hh.

template<int spacedim, class Value >
typedef std::shared_ptr< FieldElementwiseType > OldBcdInput::FieldFactory< spacedim, Value >::FieldPtr

Definition at line 84 of file old_bcd.hh.

Constructor & Destructor Documentation

template<int spacedim, class Value >
OldBcdInput::FieldFactory< spacedim, Value >::FieldFactory ( FieldPtr field)
inline

Constructor.

We need pointer to std::shared_ptr. Object stored to shared_ptr doesn't exist during construction.

Definition at line 92 of file old_bcd.hh.

Member Function Documentation

template<int spacedim, class Value >
virtual Field<spacedim,Value>::FieldBasePtr OldBcdInput::FieldFactory< spacedim, Value >::create_field ( Input::Record  rec,
const FieldCommon field 
)
inlinevirtual

Default method that creates an instance of FieldBase for field.

Reads key given by field_name and creates the field instance using FieldBase<...>::function_factory.

Reimplemented from Field< spacedim, Value >::FactoryBase.

Definition at line 96 of file old_bcd.hh.

Member Data Documentation

template<int spacedim, class Value >
FieldPtr* OldBcdInput::FieldFactory< spacedim, Value >::field_

Definition at line 106 of file old_bcd.hh.


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