00001 #include "Headers.h"
00002 #include "Address.h"
00003
00004 CAddress::CAddress()
00005 {
00006 this->address = ADDRESS_INVALID;
00007 }
00008
00009 CAddress::CAddress(__uint32 address)
00010 {
00011 this->address = address;
00012 }
00013
00014 CAddress::CAddress(__byte b0, __byte b1, __byte b2, __byte b3)
00015 {
00016 this->address =
00017 (((__uint32)b0) << 24) |
00018 (((__uint32)b1) << 16) |
00019 (((__uint32)b2) << 8) |
00020 ((__uint32)b3);
00021 }