VPTissue Reference Manual
Default/components/cell_split/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 "AreaThresholdBased.h"
23 #include "AuxinGrowth.h"
24 #include "Geometric.h"
25 #include "NoOp.h"
26 #include "Wortel.h"
27 
28 #include <boost/functional/value_factory.hpp>
29 #include <utility>
30 
31 namespace SimPT_Default {
32 namespace CellSplit {
33 
34 // ------------------------------------------------------------------------------
35 // Add new classes here (but do not forget to include the header also).
36 // ------------------------------------------------------------------------------
37 const typename ComponentTraits<CellSplitTag>::MapType g_component_factories
38 {{
39  std::make_pair("AreaThresholdBased", boost::value_factory<AreaThresholdBased>()),
40  std::make_pair("AuxinGrowth", boost::value_factory<AuxinGrowth>()),
41  std::make_pair("Geometric", boost::value_factory<Geometric>()),
42  std::make_pair("NoOp", boost::value_factory<NoOp>()),
43  std::make_pair("Wortel", boost::value_factory<Wortel>())
44 }};
45 
46 } // namespace
47 } // namespace
CellSplit NoOp implementation.
Namespace for components of the Default model group.
CellSplit for Geometric model.
const ComponentTraits< CellSplitTag >::MapType g_component_factories
Stores CellChemistry component factories.
CellSplit for AreaThresholdBased model.
CellSplit component factory map.
CellSplit for AuxinGrowth model.
CellSplit for Wortel model.