54 lines
2.3 KiB
C
54 lines
2.3 KiB
C
//! \~\file piunits_class_pressure.h
|
|
//! \~\ingroup Units
|
|
//! \~\brief
|
|
//! \~english Pressure unit family descriptor
|
|
//! \~russian Описатель семейства единиц давления
|
|
//!
|
|
//! \~\details
|
|
//! \~english
|
|
//! Declares %PIUnits::Class::Pressure and its public type identifiers for pressure conversions.
|
|
//! \~russian
|
|
//! Объявляет %PIUnits::Class::Pressure и его публичные идентификаторы типов для преобразования давления.
|
|
/*
|
|
PIP - Platform Independent Primitives
|
|
Pressure units
|
|
Ivan Pelipenko peri4ko@yandex.ru
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU Lesser General Public License as published by
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
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 Lesser General Public License for more details.
|
|
|
|
You should have received a copy of the GNU Lesser General Public License
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#ifndef PIUNITS_CLASS_PRESSURE_H
|
|
#define PIUNITS_CLASS_PRESSURE_H
|
|
|
|
#include "piunits_base.h"
|
|
|
|
//! \class PIUnits::Class::Pressure
|
|
//! \~\ingroup Units
|
|
//! \~\brief
|
|
//! \~english Descriptor of pressure units and their public type identifiers.
|
|
//! \~russian Описатель единиц давления и их публичных идентификаторов типов.
|
|
DECLARE_UNIT_CLASS_BEGIN(Pressure, 0x500)
|
|
//! \~english Supported pressure unit type identifiers.
|
|
//! \~russian Поддерживаемые идентификаторы типов единиц давления.
|
|
enum {
|
|
Pascal = typeStart /** \~english Pascal \~russian Паскаль */,
|
|
Atmosphere /** \~english Standard atmosphere \~russian Стандартная атмосфера */,
|
|
Bar /** \~english Bar \~russian Бар */,
|
|
MillimetreOfMercury /** \~english Millimetre of mercury \~russian Миллиметр ртутного столба */,
|
|
_LastType
|
|
};
|
|
DECLARE_UNIT_CLASS_END(Pressure)
|
|
|
|
#endif
|