Flow123d
JS_before_hm-2208-gb971e62bf
|
#include <map>
#include <string>
#include <vector>
#include "tools/unit_si.hh"
#include "input/input_exception.hh"
#include "system/asserts.hh"
#include "system/exceptions.hh"
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 |
Namespaces | |
Input | |
Abstract linear system class. | |
Input::Type | |
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 65 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_ExpectedUnit | , |
std::string | |||
) |
TYPEDEF_ERR_INFO | ( | EI_UnitDefinition | , |
std::string | |||
) |
TYPEDEF_ERR_INFO | ( | EI_UnitError | , |
std::string | |||
) |