Flow123d  last_with_con_2.0.0-4-g42e6930
flow_attribute_lib.hh
Go to the documentation of this file.
1 /*!
2  *
3  * Copyright (C) 2015 Technical University of Liberec. All rights reserved.
4  *
5  * This program is free software; you can redistribute it and/or modify it under
6  * the terms of the GNU General Public License version 3 as published by the
7  * Free Software Foundation. (http://www.gnu.org/licenses/gpl-3.0.en.html)
8  *
9  * This program is distributed in the hope that it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11  * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12  *
13  *
14  * @file attribute_lib.hh
15  * @brief
16  */
17 
18 #ifndef ATTRIBUTE_LIB_HH_
19 #define ATTRIBUTE_LIB_HH_
20 
21 using namespace std;
22 
23 /**
24  * @brief Class with static methods provided special attributes of Flow123D application.
25  *
26  * This class contains only attributes typical for Flow123D application. Base attributes
27  * are stored in @p Input::Type::Attributes.
28  */
30 public:
31 
32  /**
33  * Attribute specify unit of a field, specified in the field abstract record.
34  *
35  * Format of value: string
36  */
37  inline static string field_unit()
38  { return "key_field_unit"; }
39 
40  /**
41  * Particular for GeoMop, units in machine readable form
42  *
43  * Format of value: string
44  */
45  inline static string field_value_shape()
46  { return "field_value_shape"; }
47 
48 };
49 
50 #endif /* ATTRIBUTE_LIB_HH_ */
static string field_value_shape()
Class with static methods provided special attributes of Flow123D application.
static string field_unit()