53 lines
2.0 KiB
C
53 lines
2.0 KiB
C
//! \~\file piunits_class_mass.h
|
|
//! \~\ingroup Units
|
|
//! \~\brief
|
|
//! \~english Mass unit family descriptor
|
|
//! \~russian Описатель семейства единиц массы
|
|
//!
|
|
//! \~\details
|
|
//! \~english
|
|
//! Declares %PIUnits::Class::Mass and its public type identifiers for mass conversions.
|
|
//! \~russian
|
|
//! Объявляет %PIUnits::Class::Mass и его публичные идентификаторы типов для преобразования массы.
|
|
/*
|
|
PIP - Platform Independent Primitives
|
|
Mass 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_MASS_H
|
|
#define PIUNITS_CLASS_MASS_H
|
|
|
|
#include "piunits_base.h"
|
|
|
|
//! \class PIUnits::Class::Mass
|
|
//! \~\ingroup Units
|
|
//! \~\brief
|
|
//! \~english Descriptor of mass units and their public type identifiers.
|
|
//! \~russian Описатель единиц массы и их публичных идентификаторов типов.
|
|
DECLARE_UNIT_CLASS_BEGIN(Mass, 0x700)
|
|
//! \~english Supported mass unit type identifiers.
|
|
//! \~russian Поддерживаемые идентификаторы типов единиц массы.
|
|
enum {
|
|
Gram = typeStart /** \~english Gram \~russian Грамм */,
|
|
Pound /** \~english Pound \~russian Фунт */,
|
|
Ounce /** \~english Ounce \~russian Унция */,
|
|
_LastType
|
|
};
|
|
DECLARE_UNIT_CLASS_END(Mass)
|
|
|
|
#endif
|