NLLIGO::CZoneRegion::SZoneUnit Struct Reference

#include <zone_region.h>

Inheritance diagram for NLLIGO::CZoneRegion::SZoneUnit:

NLLIGO::CZoneRegion::SZoneUnit2

Public Member Functions

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

Data Fields

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

Constructor & Destructor Documentation

NLLIGO::CZoneRegion::SZoneUnit::SZoneUnit  ) 
 

Definition at line 41 of file zone_region.cpp.

References Flip, SharingCutEdges, SharingMatNames, STRING_UNUSED, and ZoneName.

00042 {
00043         ZoneName = STRING_UNUSED;
00044         PosX = PosY = 0;
00045         Rot = Flip = 0;
00046         SharingMatNames[0] = STRING_UNUSED;
00047         SharingMatNames[1] = STRING_UNUSED;
00048         SharingMatNames[2] = STRING_UNUSED;
00049         SharingMatNames[3] = STRING_UNUSED;
00050         SharingCutEdges[0] = 0;
00051         SharingCutEdges[1] = 0;
00052         SharingCutEdges[2] = 0;
00053         SharingCutEdges[3] = 0;
00054 }


Member Function Documentation

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

Reimplemented in NLLIGO::CZoneRegion::SZoneUnit2.

Definition at line 73 of file zone_region.cpp.

References Flip, PosX, PosY, Rot, SharingCutEdges, SharingMatNames, uint32, and ZoneName.

00074 {
00075         this->ZoneName  = zu.ZoneName;
00076         this->PosX              = zu.PosX;
00077         this->PosY              = zu.PosY;
00078         this->Rot               = zu.Rot;
00079         this->Flip              = zu.Flip;
00080         for (uint32 i = 0; i < 4; ++i)
00081         {
00082                 this->SharingMatNames[i] = zu.SharingMatNames[i];
00083                 this->SharingCutEdges[i] = zu.SharingCutEdges[i];
00084         }
00085         return *this;
00086 }

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

Reimplemented in NLLIGO::CZoneRegion::SZoneUnit2.

Definition at line 57 of file zone_region.cpp.

References Flip, SharingCutEdges, SharingMatNames, uint32, NLMISC::IStream::xmlSerial(), and ZoneName.

00058 {
00059         f.xmlSerial (ZoneName, "NAME");
00060         f.xmlSerial (PosX, "X");
00061         f.xmlSerial (PosY, "Y");
00062         f.xmlSerial (Rot, "ROT");
00063         f.xmlSerial (Flip, "FLIP");
00064 
00065         for (uint32 i = 0; i < 4; ++i)
00066         {
00067                 f.xmlSerial (SharingMatNames[i], "MAT_NAMES");
00068                 f.xmlSerial (SharingCutEdges[i], "CUR_EDGES");
00069         }
00070 }


Field Documentation

uint8 NLLIGO::CZoneRegion::SZoneUnit::Flip
 

Definition at line 104 of file zone_region.h.

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

uint8 NLLIGO::CZoneRegion::SZoneUnit::PosX
 

Definition at line 103 of file zone_region.h.

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

uint8 NLLIGO::CZoneRegion::SZoneUnit::PosY
 

Definition at line 103 of file zone_region.h.

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

uint8 NLLIGO::CZoneRegion::SZoneUnit::Rot
 

Definition at line 104 of file zone_region.h.

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

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

Definition at line 108 of file zone_region.h.

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

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

Definition at line 107 of file zone_region.h.

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

std::string NLLIGO::CZoneRegion::SZoneUnit::ZoneName
 

Definition at line 102 of file zone_region.h.

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


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