scsi_UInt32 Class Reference
[SCSI Library]

#include <scsi_types.h>

List of all members.


Detailed Description

Class that behaves like a UInt32_t.

Definition at line 227 of file scsi_types.h.


Public Member Functions

 scsi_UInt32 ()
 scsi_UInt32 (UInt32_t a_uint)
 scsi_UInt32 (const scsi_UInt32_t &a_buf)
scsi_UInt32operator= (UInt32_t a_uint)
scsi_UInt32operator= (const scsi_UInt32_t &a_buf)
 operator UInt32_t () const

Private Attributes

scsi_UInt32_t m_data

Constructor & Destructor Documentation

scsi_UInt32::scsi_UInt32 (  )  [inline]

Definition at line 230 of file scsi_types.h.

00230                          {
00231         //Empty
00232     };

scsi_UInt32::scsi_UInt32 ( UInt32_t  a_uint  )  [inline]

Definition at line 234 of file scsi_types.h.

00234                                         {
00235         UInt32_t* data_p = reinterpret_cast<UInt32_t*>(m_data); *data_p = a_uint;
00236     };

scsi_UInt32::scsi_UInt32 ( const scsi_UInt32_t a_buf  )  [inline, explicit]

Definition at line 238 of file scsi_types.h.

00238                                                             {
00239         m_data[0] = a_buf[0], m_data[1] = a_buf[1],
00240         m_data[2] = a_buf[2], m_data[3] = a_buf[3];
00241     };


Member Function Documentation

scsi_UInt32& scsi_UInt32::operator= ( UInt32_t  a_uint  )  [inline]

Definition at line 243 of file scsi_types.h.

00243                                                      {
00244         UInt32_t* data_p = reinterpret_cast<UInt32_t*>(m_data); *data_p = a_uint;
00245         return (*this);
00246     };

scsi_UInt32& scsi_UInt32::operator= ( const scsi_UInt32_t a_buf  )  [inline]

Definition at line 248 of file scsi_types.h.

00248                                                                 {
00249         m_data[0] = a_buf[0], m_data[1] = a_buf[1],
00250         m_data[2] = a_buf[2], m_data[3] = a_buf[3];
00251         return (*this);
00252     };

scsi_UInt32::operator UInt32_t (  )  const [inline]

Definition at line 254 of file scsi_types.h.

00254                                       {
00255         return *(reinterpret_cast<const UInt32_t*>(m_data));
00256     };


Member Data Documentation

Definition at line 256 of file scsi_types.h.


The documentation for this class was generated from the following file:

Generated on Mon Feb 27 19:50:22 2012 for OPENARCHIVE by  doxygen 1.5.6