VPTissue Reference Manual
Default/components/wall_chemistry/factories.cpp
Go to the documentation of this file.
1 /*
2  * Copyright 2011-2016 Universiteit Antwerpen
3  *
4  * Licensed under the EUPL, Version 1.1 or as soon they will be approved by
5  * the European Commission - subsequent versions of the EUPL (the "Licence");
6  * You may not use this work except in compliance with the Licence.
7  * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl5
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the Licence is distributed on an "AS IS" basis,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the Licence for the specific language governing
13  * permissions and limitations under the Licence.
14  */
20 #include "factories.h"
21 
22 #include "AuxinGrowth.h"
23 #include "Basic.h"
24 #include "Meinhardt.h"
25 #include "NoOp.h"
26 
27 #include <boost/functional/value_factory.hpp>
28 #include <utility>
29 
30 namespace SimPT_Default {
31 namespace WallChemistry {
32 
33 // ------------------------------------------------------------------------------
34 // Add new classes here (but do not forget to include the header also).
35 // ------------------------------------------------------------------------------
36 const typename ComponentTraits<WallChemistryTag>::MapType g_component_factories
37 {{
38  std::make_pair("AuxinGrowth", boost::value_factory<AuxinGrowth>()),
39  std::make_pair("Basic", boost::value_factory<Basic>()),
40  std::make_pair("Meinhardt", boost::value_factory<Meinhardt>()),
41  std::make_pair("NoOp", boost::value_factory<NoOp>())
42 }};
43 
44 } // namespace
45 } // namespace
WallChemistry component factory map.
const ComponentTraits< WallChemistryTag >::MapType g_component_factories
Stores cell chemistry component factories.
Namespace for components of the Default model group.
Basic WallChemistry component.
WallChemistry for Meinhardt model.
WallChemistry for AuxinGrowth model.
WallChemistry NoOp component.