#include <fsc_common.h>
Definition at line 145 of file fsc_common.h.
Public Member Functions | |
| fsc_UInt24 () | |
| fsc_UInt24 (UInt32_t a_uint) | |
| fsc_UInt24 (const fsc_UInt24 &a_data) | |
| fsc_UInt24 & | operator= (UInt32_t a_uint) |
| fsc_UInt24 & | operator= (const fsc_UInt24 &a_data) |
| operator UInt32_t () const | |
Private Attributes | |
| fsc_UInt24_t | m_data |
| fsc_UInt24::fsc_UInt24 | ( | ) | [inline] |
| fsc_UInt24::fsc_UInt24 | ( | UInt32_t | a_uint | ) | [inline] |
Definition at line 148 of file fsc_common.h.
References m_data.
00148 { 00149 fsc_UInt24_t &buf = *reinterpret_cast<fsc_UInt24_t*>(&a_uint); 00150 m_data[0] = buf[0]; 00151 m_data[1] = buf[1]; 00152 m_data[2] = buf[2]; 00153 };
| fsc_UInt24::fsc_UInt24 | ( | const fsc_UInt24 & | a_data | ) | [inline, explicit] |
| fsc_UInt24& fsc_UInt24::operator= | ( | UInt32_t | a_uint | ) | [inline] |
Definition at line 161 of file fsc_common.h.
References m_data.
00161 { 00162 fsc_UInt24_t &buf = *reinterpret_cast<fsc_UInt24_t*>(&a_uint); 00163 m_data[0] = buf[0]; 00164 m_data[1] = buf[1]; 00165 m_data[2] = buf[2]; 00166 return (*this); 00167 };
| fsc_UInt24& fsc_UInt24::operator= | ( | const fsc_UInt24 & | a_data | ) | [inline] |
| fsc_UInt24::operator UInt32_t | ( | ) | const [inline] |
Definition at line 176 of file fsc_common.h.
References m_data.
00176 { 00177 UInt32_t retval; 00178 fsc_UInt24_t &buf = *(reinterpret_cast<fsc_UInt24_t*>(&retval)); 00179 buf[0] = m_data[0]; 00180 buf[1] = m_data[1]; 00181 buf[2] = m_data[2]; 00182 buf[3] = 0; 00183 return retval; 00184 };
fsc_UInt24_t fsc_UInt24::m_data [private] |
Definition at line 184 of file fsc_common.h.
Referenced by fsc_UInt24(), operator UInt32_t(), and operator=().
1.5.6