NLLIGO::CZoneRegion::SZoneUnit2 Struct Reference

#include <zone_region.h>

Inheritance diagram for NLLIGO::CZoneRegion::SZoneUnit2:

NLLIGO::CZoneRegion::SZoneUnit

Public Member Functions

const SZoneUnit2operator= (const SZoneUnit &zu)
const SZoneUnit2operator= (const SZoneUnit2 &zu)
void serial (NLMISC::IStream &f)
 SZoneUnit2 ()

Data Fields

uint32 DateHigh
uint32 DateLow
uint8 Flip
uint8 PosX
uint8 PosY
uint8 Rot
uint8 SharingCutEdges [4]
std::string SharingMatNames [4]
std::string ZoneName

Constructor & Destructor Documentation

NLLIGO::CZoneRegion::SZoneUnit2::SZoneUnit2  ) 
 

Definition at line 94 of file zone_region.cpp.

References DateHigh, and DateLow.

00095 {
00096         DateLow = 0;
00097         DateHigh = 0;
00098 }


Member Function Documentation

const CZoneRegion::SZoneUnit2 & NLLIGO::CZoneRegion::SZoneUnit2::operator= const SZoneUnit zu  ) 
 

Reimplemented from NLLIGO::CZoneRegion::SZoneUnit.

Definition at line 129 of file zone_region.cpp.

References DateHigh, DateLow, NLLIGO::CZoneRegion::SZoneUnit::Flip, NLLIGO::CZoneRegion::SZoneUnit::PosX, NLLIGO::CZoneRegion::SZoneUnit::PosY, NLLIGO::CZoneRegion::SZoneUnit::Rot, NLLIGO::CZoneRegion::SZoneUnit::SharingCutEdges, NLLIGO::CZoneRegion::SZoneUnit::SharingMatNames, uint32, and NLLIGO::CZoneRegion::SZoneUnit::ZoneName.

00130 {
00131         this->ZoneName  = zu.ZoneName;
00132         this->PosX              = zu.PosX;
00133         this->PosY              = zu.PosY;
00134         this->Rot               = zu.Rot;
00135         this->Flip              = zu.Flip;
00136         for (uint32 i = 0; i < 4; ++i)
00137         {
00138                 this->SharingMatNames[i] = zu.SharingMatNames[i];
00139                 this->SharingCutEdges[i] = zu.SharingCutEdges[i];
00140         }
00141         this->DateLow   = 0;
00142         this->DateHigh  = 0;
00143         return *this;
00144 }

const CZoneRegion::SZoneUnit2 & NLLIGO::CZoneRegion::SZoneUnit2::operator= const SZoneUnit2 zu  ) 
 

Definition at line 111 of file zone_region.cpp.

References DateHigh, DateLow, NLLIGO::CZoneRegion::SZoneUnit::Flip, NLLIGO::CZoneRegion::SZoneUnit::PosX, NLLIGO::CZoneRegion::SZoneUnit::PosY, NLLIGO::CZoneRegion::SZoneUnit::Rot, NLLIGO::CZoneRegion::SZoneUnit::SharingCutEdges, NLLIGO::CZoneRegion::SZoneUnit::SharingMatNames, uint32, and NLLIGO::CZoneRegion::SZoneUnit::ZoneName.

00112 {
00113         this->ZoneName  = zu.ZoneName;
00114         this->PosX              = zu.PosX;
00115         this->PosY              = zu.PosY;
00116         this->Rot               = zu.Rot;
00117         this->Flip              = zu.Flip;
00118         for (uint32 i = 0; i < 4; ++i)
00119         {
00120                 this->SharingMatNames[i] = zu.SharingMatNames[i];
00121                 this->SharingCutEdges[i] = zu.SharingCutEdges[i];
00122         }
00123         this->DateLow   = zu.DateLow;
00124         this->DateHigh  = zu.DateHigh;
00125         return *this;
00126 }

void NLLIGO::CZoneRegion::SZoneUnit2::serial NLMISC::IStream f  ) 
 

Reimplemented from NLLIGO::CZoneRegion::SZoneUnit.

Definition at line 101 of file zone_region.cpp.

References DateHigh, DateLow, NLMISC::IStream::serialVersion(), and NLMISC::IStream::xmlSerial().

00102 {
00103         /*sint32 version =*/ f.serialVersion (0);
00104 
00105         SZoneUnit::serial (f);
00106         f.xmlSerial (DateLow, "LOW");
00107         f.xmlSerial (DateHigh, "HIGH");
00108 }


Field Documentation

uint32 NLLIGO::CZoneRegion::SZoneUnit2::DateHigh
 

Definition at line 118 of file zone_region.h.

Referenced by operator=(), serial(), and SZoneUnit2().

uint32 NLLIGO::CZoneRegion::SZoneUnit2::DateLow
 

Definition at line 117 of file zone_region.h.

Referenced by operator=(), serial(), and SZoneUnit2().

uint8 NLLIGO::CZoneRegion::SZoneUnit::Flip [inherited]
 

Definition at line 104 of file zone_region.h.

Referenced by operator=(), NLLIGO::CZoneRegion::SZoneUnit::operator=(), NLLIGO::CZoneRegion::SZoneUnit::serial(), and NLLIGO::CZoneRegion::SZoneUnit::SZoneUnit().

uint8 NLLIGO::CZoneRegion::SZoneUnit::PosX [inherited]
 

Definition at line 103 of file zone_region.h.

Referenced by operator=(), and NLLIGO::CZoneRegion::SZoneUnit::operator=().

uint8 NLLIGO::CZoneRegion::SZoneUnit::PosY [inherited]
 

Definition at line 103 of file zone_region.h.

Referenced by operator=(), and NLLIGO::CZoneRegion::SZoneUnit::operator=().

uint8 NLLIGO::CZoneRegion::SZoneUnit::Rot [inherited]
 

Definition at line 104 of file zone_region.h.

Referenced by operator=(), and NLLIGO::CZoneRegion::SZoneUnit::operator=().

uint8 NLLIGO::CZoneRegion::SZoneUnit::SharingCutEdges[4] [inherited]
 

Definition at line 108 of file zone_region.h.

Referenced by operator=(), NLLIGO::CZoneRegion::SZoneUnit::operator=(), NLLIGO::CZoneRegion::SZoneUnit::serial(), and NLLIGO::CZoneRegion::SZoneUnit::SZoneUnit().

std::string NLLIGO::CZoneRegion::SZoneUnit::SharingMatNames[4] [inherited]
 

Definition at line 107 of file zone_region.h.

Referenced by operator=(), NLLIGO::CZoneRegion::SZoneUnit::operator=(), NLLIGO::CZoneRegion::SZoneUnit::serial(), and NLLIGO::CZoneRegion::SZoneUnit::SZoneUnit().

std::string NLLIGO::CZoneRegion::SZoneUnit::ZoneName [inherited]
 

Definition at line 102 of file zone_region.h.

Referenced by operator=(), NLLIGO::CZoneRegion::SZoneUnit::operator=(), NLLIGO::CZoneRegion::SZoneUnit::serial(), and NLLIGO::CZoneRegion::SZoneUnit::SZoneUnit().


The documentation for this struct was generated from the following files:
Generated on Tue Mar 16 12:52:11 2004 for NeL by doxygen 1.3.6