52 lines
2.2 KiB
C
52 lines
2.2 KiB
C
//! \~\file piunits_class_information.h
|
||
//! \~\ingroup Units
|
||
//! \~\brief
|
||
//! \~english Information unit family descriptor
|
||
//! \~russian Описатель семейства единиц информации
|
||
//!
|
||
//! \~\details
|
||
//! \~english
|
||
//! Declares %PIUnits::Class::Information and its public type identifiers for information values.
|
||
//! \~russian
|
||
//! Объявляет %PIUnits::Class::Information и его публичные идентификаторы типов для значений информации.
|
||
/*
|
||
PIP - Platform Independent Primitives
|
||
Information 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_INFORMATION_H
|
||
#define PIUNITS_CLASS_INFORMATION_H
|
||
|
||
#include "piunits_base.h"
|
||
|
||
//! \class PIUnits::Class::Information
|
||
//! \~\ingroup Units
|
||
//! \~\brief
|
||
//! \~english Descriptor of information units and their public type identifiers.
|
||
//! \~russian Описатель единиц информации и их публичных идентификаторов типов.
|
||
DECLARE_UNIT_CLASS_BEGIN(Information, 0x100)
|
||
//! \~english Supported information unit type identifiers.
|
||
//! \~russian Поддерживаемые идентификаторы типов единиц информации.
|
||
enum {
|
||
Bit = typeStart, /** \~english Bit \~russian Бит */
|
||
Byte, /** \~english Byte \~russian Байт */
|
||
_LastType, /** \~english Sentinel after the last unit type \~russian Служебное значение после последнего типа */
|
||
};
|
||
DECLARE_UNIT_CLASS_END(Information)
|
||
|
||
#endif
|