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