Flow123d  jenkins-Flow123d-linux-release-multijob-282
field_values.cc
Go to the documentation of this file.
1 /*
2  * field_values.cc
3  *
4  * Created on: Dec 11, 2012
5  * Author: jb
6  */
7 
8 
9 #include "fields/field_values.hh"
10 
11 namespace internal {
12 // Helper functions to get scalar type name
13 std::string type_name_(double) { return "Real"; }
14 std::string type_name_(int) { return "Int"; }
15 std::string type_name_(std::string) { return "String"; }
16 std::string type_name_(FieldEnum) { return "Enum"; }
17 
18 
19 } // namespace internal
20 
21 
22 template class FieldValue_<1,1,FieldEnum>;
23 template class FieldValue_<1,1,int>;
24 template class FieldValue_<0,1,int>;
25 template class FieldValue_<1,1,double>;
26 template class FieldValue_<0,1,double>;
27 
28 template class FieldValue_<2,1,double>;
29 template class FieldValue_<3,1,double>;
30 
31 template class FieldValue_<2,2,double>;
32 template class FieldValue_<3,3,double>;
33 
34 template class FieldValue_<1,1,std::string>;
35 template class FieldValue_<0,1,std::string>;
36 
37 template class FieldValue_<2,1,std::string>;
38 template class FieldValue_<3,1,std::string>;
39 
40 template class FieldValue_<2,2,std::string>;
41 template class FieldValue_<3,3,std::string>;
42 
43 template class FieldValue<1>;
44 template class FieldValue<2>;
45 template class FieldValue<3>;
unsigned int FieldEnum
Definition: field_values.hh:65
std::string type_name_(double)
Definition: field_values.cc:13