#include <Status.h>
Public Member Functions | |
Status (eformat::GenericStatus gen, uint16_t spec) | |
Status (uint32_t v) | |
eformat::GenericStatus | generic (void) const |
uint16_t | specific (void) const |
uint32_t | code (void) const |
Private Attributes | |
eformat::GenericStatus | m_gen |
The generic part. | |
uint16_t | m_spec |
The specific part. |
Definition at line 51 of file Status.h.
eformat::helper::Status::Status | ( | eformat::GenericStatus | gen, | |
uint16_t | spec | |||
) | [inline] |
eformat::helper::Status::Status | ( | uint32_t | v | ) |
Constructor. Takes the status to understand the components from.
s | The status number, fully built. |
Definition at line 15 of file Status.cxx.
00016 : m_gen(static_cast<eformat::GenericStatus>(v&0xffff)), 00017 m_spec((v>>16)&0xffff) 00018 { 00019 }
uint32_t eformat::helper::Status::code | ( | void | ) | const |
eformat::GenericStatus eformat::helper::Status::generic | ( | void | ) | const [inline] |
uint16_t eformat::helper::Status::specific | ( | void | ) | const [inline] |
uint16_t eformat::helper::Status::m_spec [private] |