#include <scsi_types.h>
Definition at line 90 of file scsi_types.h.
Public Member Functions | |
| scsi_Wrapper16 () | |
| scsi_Wrapper16 (UInt16_t a_uint) | |
| scsi_Wrapper16 (const scsi_UInt16_t &a_buf) | |
| scsi_Wrapper16 & | operator= (UInt16_t a_uint) |
| scsi_Wrapper16 & | operator= (scsi_UInt16_t &a_buf) |
| scsi_Wrapper16 & | operator= (const scsi_UInt16_t &a_buf) |
| operator UInt16_t () const | |
Private Attributes | |
| scsi_UInt16_t * | m_data_p |
| scsi_Wrapper16::scsi_Wrapper16 | ( | ) | [inline] |
| scsi_Wrapper16::scsi_Wrapper16 | ( | UInt16_t | a_uint | ) | [inline, explicit] |
| scsi_Wrapper16::scsi_Wrapper16 | ( | const scsi_UInt16_t & | a_buf | ) | [inline] |
Definition at line 100 of file scsi_types.h.
00101 : m_data_p(const_cast<scsi_UInt16_t*>(&a_buf)) { 00102 };
| scsi_Wrapper16& scsi_Wrapper16::operator= | ( | UInt16_t | a_uint | ) | [inline] |
Definition at line 104 of file scsi_types.h.
00104 { 00105 UInt16_t* data_p = reinterpret_cast<UInt16_t*>(*m_data_p); *data_p = a_uint; 00106 return (*this); 00107 };
| scsi_Wrapper16& scsi_Wrapper16::operator= | ( | scsi_UInt16_t & | a_buf | ) | [inline] |
Definition at line 109 of file scsi_types.h.
00109 { 00110 m_data_p = &a_buf; 00111 return (*this); 00112 };
| scsi_Wrapper16& scsi_Wrapper16::operator= | ( | const scsi_UInt16_t & | a_buf | ) | [inline] |
Definition at line 114 of file scsi_types.h.
00114 { 00115 m_data_p = const_cast<scsi_UInt16_t*>(&a_buf); 00116 return (*this); 00117 };
| scsi_Wrapper16::operator UInt16_t | ( | ) | const [inline] |
Definition at line 119 of file scsi_types.h.
00119 { 00120 return *(reinterpret_cast<const UInt16_t*>(*m_data_p)); 00121 };
scsi_UInt16_t* scsi_Wrapper16::m_data_p [private] |
Definition at line 121 of file scsi_types.h.
1.5.6