#include <fsc_common.h>
Definition at line 86 of file fsc_common.h.
Public Member Functions | |
| fsc_UInt48 () | |
| fsc_UInt48 (UInt64_t a_uint) | |
| fsc_UInt48 (const fsc_UInt48 &a_data) | |
| fsc_UInt48 & | operator= (UInt64_t a_uint) |
| fsc_UInt48 & | operator= (const fsc_UInt48 &a_data) |
| operator UInt64_t () const | |
Private Attributes | |
| fsc_UInt48_t | m_data |
| fsc_UInt48::fsc_UInt48 | ( | ) | [inline] |
| fsc_UInt48::fsc_UInt48 | ( | UInt64_t | a_uint | ) | [inline] |
Definition at line 89 of file fsc_common.h.
References m_data.
00089 { 00090 fsc_UInt48_t &buf = *reinterpret_cast<fsc_UInt48_t*>(&a_uint); 00091 m_data[0] = buf[0], 00092 m_data[1] = buf[1], 00093 m_data[2] = buf[2], 00094 m_data[3] = buf[3], 00095 m_data[4] = buf[4], 00096 m_data[5] = buf[5]; 00097 };
| fsc_UInt48::fsc_UInt48 | ( | const fsc_UInt48 & | a_data | ) | [inline, explicit] |
| fsc_UInt48& fsc_UInt48::operator= | ( | UInt64_t | a_uint | ) | [inline] |
Definition at line 108 of file fsc_common.h.
References m_data.
00108 { 00109 fsc_UInt48_t &buf = *reinterpret_cast<fsc_UInt48_t*>(&a_uint); 00110 m_data[0] = buf[0]; 00111 m_data[1] = buf[1]; 00112 m_data[2] = buf[2]; 00113 m_data[3] = buf[3]; 00114 m_data[4] = buf[4]; 00115 m_data[5] = buf[5]; 00116 return (*this); 00117 };
| fsc_UInt48& fsc_UInt48::operator= | ( | const fsc_UInt48 & | a_data | ) | [inline] |
Definition at line 119 of file fsc_common.h.
References m_data.
00119 { 00120 m_data[0] = a_data.m_data[0], 00121 m_data[1] = a_data.m_data[1], 00122 m_data[2] = a_data.m_data[2], 00123 m_data[3] = a_data.m_data[3], 00124 m_data[4] = a_data.m_data[4], 00125 m_data[5] = a_data.m_data[5]; 00126 return (*this); 00127 };
| fsc_UInt48::operator UInt64_t | ( | ) | const [inline] |
Definition at line 129 of file fsc_common.h.
References m_data.
00129 { 00130 UInt64_t retval(0); 00131 fsc_UInt48_t &buf = *(reinterpret_cast<fsc_UInt48_t*>(&retval)); 00132 buf[0] = m_data[0], 00133 buf[1] = m_data[1], 00134 buf[2] = m_data[2], 00135 buf[3] = m_data[3], 00136 buf[4] = m_data[4], 00137 buf[5] = m_data[5]; 00138 return retval; 00139 };
fsc_UInt48_t fsc_UInt48::m_data [private] |
Definition at line 139 of file fsc_common.h.
Referenced by fsc_UInt48(), operator UInt64_t(), and operator=().
1.5.6