#include <scsi_types.h>
Definition at line 184 of file scsi_types.h.
Public Member Functions | |
| scsi_Wrapper24 () | |
| scsi_Wrapper24 (UInt32_t a_uint) | |
| scsi_Wrapper24 (scsi_UInt24_t &a_buf) | |
| scsi_Wrapper24 & | operator= (UInt32_t a_uint) |
| scsi_Wrapper24 & | operator= (scsi_UInt24_t &a_buf) |
| operator UInt32_t () const | |
Private Attributes | |
| scsi_UInt24_t * | m_data_p |
| scsi_Wrapper24::scsi_Wrapper24 | ( | ) | [inline] |
| scsi_Wrapper24::scsi_Wrapper24 | ( | UInt32_t | a_uint | ) | [inline, explicit] |
Definition at line 189 of file scsi_types.h.
00189 { 00190 scsi_UInt32_t* buf = reinterpret_cast<scsi_UInt32_t*>(&a_uint); 00191 (*m_data_p)[0] = (*buf)[0], 00192 (*m_data_p)[1] = (*buf)[1], 00193 (*m_data_p)[2] = (*buf)[2]; 00194 };
| scsi_Wrapper24::scsi_Wrapper24 | ( | scsi_UInt24_t & | a_buf | ) | [inline] |
| scsi_Wrapper24& scsi_Wrapper24::operator= | ( | UInt32_t | a_uint | ) | [inline] |
Definition at line 200 of file scsi_types.h.
00200 { 00201 scsi_UInt32_t* buf = reinterpret_cast<scsi_UInt32_t*>(&a_uint); 00202 (*m_data_p)[0] = (*buf)[0], 00203 (*m_data_p)[1] = (*buf)[1], 00204 (*m_data_p)[2] = (*buf)[2]; 00205 return (*this); 00206 };
| scsi_Wrapper24& scsi_Wrapper24::operator= | ( | scsi_UInt24_t & | a_buf | ) | [inline] |
Definition at line 208 of file scsi_types.h.
00208 { 00209 m_data_p = &a_buf; 00210 return (*this); 00211 };
| scsi_Wrapper24::operator UInt32_t | ( | ) | const [inline] |
Definition at line 213 of file scsi_types.h.
00213 { 00214 UInt32_t retval = *(reinterpret_cast<const UInt32_t*>(*m_data_p)); 00215 return (retval & 0x00FFFFFF); 00216 };
scsi_UInt24_t* scsi_Wrapper24::m_data_p [private] |
Definition at line 216 of file scsi_types.h.
1.5.6