KSquare Utilities
KKB::WordFormat32Bits Union Reference

Structure used to break 32 bit word into different formats;. More...

#include <KKBaseTypes.h>

Public Member Functions

 WordFormat32Bits ()
 
 WordFormat32Bits (kkuint32 d)
 
 WordFormat32Bits (kkint32 d)
 
 WordFormat32Bits (uchar b0, uchar b1, uchar b2, uchar b3)
 

Public Attributes

struct {
   uchar   byte0
 
   uchar   byte1
 
   uchar   byte2
 
   uchar   byte3
 
fourBytes
 
kkuint32 signed32BitInt
 
kkuint32 unsigned32BitInt
 

Detailed Description

Structure used to break 32 bit word into different formats;.

Definition at line 283 of file KKBaseTypes.h.

Constructor & Destructor Documentation

WordFormat32Bits::WordFormat32Bits ( )
WordFormat32Bits::WordFormat32Bits ( kkuint32  d)

Definition at line 122 of file KKBaseTypes.cpp.

References unsigned32BitInt.

Referenced by KKLSC::ScannerFile::ReportTextMsg().

123 {
124  unsigned32BitInt = d;
125 }
WordFormat32Bits::WordFormat32Bits ( kkint32  d)

Definition at line 129 of file KKBaseTypes.cpp.

References signed32BitInt.

130 {
131  signed32BitInt = d;
132 }
WordFormat32Bits::WordFormat32Bits ( uchar  b0,
uchar  b1,
uchar  b2,
uchar  b3 
)

Definition at line 136 of file KKBaseTypes.cpp.

141 {
142  fourBytes.byte0 = b0;
143  fourBytes.byte1 = b1;
144  fourBytes.byte2 = b2;
145  fourBytes.byte3 = b3;
146 }
struct KKB::WordFormat32Bits::@5 fourBytes

Member Data Documentation

uchar KKB::WordFormat32Bits::byte0

Definition at line 292 of file KKBaseTypes.h.

uchar KKB::WordFormat32Bits::byte1

Definition at line 293 of file KKBaseTypes.h.

uchar KKB::WordFormat32Bits::byte2

Definition at line 294 of file KKBaseTypes.h.

uchar KKB::WordFormat32Bits::byte3

Definition at line 295 of file KKBaseTypes.h.

struct { ... } KKB::WordFormat32Bits::fourBytes
kkuint32 KKB::WordFormat32Bits::signed32BitInt

Definition at line 299 of file KKBaseTypes.h.

Referenced by WordFormat32Bits().

kkuint32 KKB::WordFormat32Bits::unsigned32BitInt

The documentation for this union was generated from the following files: