|
Flow123d
release_2.2.0-37-g336ee74
|
#include <vector>#include <string>#include <map>#include "input/input_exception.hh"#include "fields/unit_si.hh"#include "system/xio.h"
Go to the source code of this file.
Classes | |
| struct | Factor |
| Store structure given by parser. More... | |
| struct | Formula |
| class | BasicFactors |
| Helper class. Defines basic factors of SI, non-SI and derived units. More... | |
| struct | BasicFactors::DerivedUnit |
| class | UnitConverter |
Typedefs | |
| typedef std::map< std::string, struct Formula > | UnitData |
Functions | |
| TYPEDEF_ERR_INFO (EI_UnitDefinition, std::string) | |
| TYPEDEF_ERR_INFO (EI_ExpectedUnit, std::string) | |
| TYPEDEF_ERR_INFO (EI_UnitError, std::string) | |
| DECLARE_INPUT_EXCEPTION (ExcInvalidUnit,<< "Invalid definition of unit: "<< EI_UnitDefinition::qval<< "\n"<< EI_UnitError::val<< ".\n") | |
| DECLARE_INPUT_EXCEPTION (ExcNoncorrespondingUnit,<< "Non-corresponding definition of unit: "<< EI_UnitDefinition::qval<< "\nExpected: unit with base format "<< EI_ExpectedUnit::qval<< ".\n") | |
* Copyright (C) 2015 Technical University of Liberec. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation. (http://www.gnu.org/licenses/gpl-3.0.en.html)
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Definition in file unit_converter.hh.
Definition at line 57 of file unit_converter.hh.
| DECLARE_INPUT_EXCEPTION | ( | ExcInvalidUnit | , |
| << "Invalid definition of unit: "<< EI_UnitDefinition::qval<< "\n"<< EI_UnitError::val<< ".\n" | |||
| ) |
| DECLARE_INPUT_EXCEPTION | ( | ExcNoncorrespondingUnit | , |
| << "Non-corresponding definition of unit: "<< EI_UnitDefinition::qval<< "\nExpected: unit with base format "<< EI_ExpectedUnit::qval<< ".\n" | |||
| ) |
| TYPEDEF_ERR_INFO | ( | EI_UnitDefinition | , |
| std::string | |||
| ) |
| TYPEDEF_ERR_INFO | ( | EI_ExpectedUnit | , |
| std::string | |||
| ) |
| TYPEDEF_ERR_INFO | ( | EI_UnitError | , |
| std::string | |||
| ) |
1.8.11