#include <zone_region.h>
Inheritance diagram for NLLIGO::CZoneRegion::SZoneUnit:
Public Member Functions | |
const SZoneUnit & | operator= (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 |
|
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 } |
|
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 } |
|
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 } |
|
Definition at line 104 of file zone_region.h. Referenced by NLLIGO::CZoneRegion::SZoneUnit2::operator=(), operator=(), serial(), and SZoneUnit(). |
|
Definition at line 103 of file zone_region.h. Referenced by NLLIGO::CZoneRegion::SZoneUnit2::operator=(), and operator=(). |
|
Definition at line 103 of file zone_region.h. Referenced by NLLIGO::CZoneRegion::SZoneUnit2::operator=(), and operator=(). |
|
Definition at line 104 of file zone_region.h. Referenced by NLLIGO::CZoneRegion::SZoneUnit2::operator=(), and operator=(). |
|
Definition at line 108 of file zone_region.h. Referenced by NLLIGO::CZoneRegion::SZoneUnit2::operator=(), operator=(), serial(), and SZoneUnit(). |
|
Definition at line 107 of file zone_region.h. Referenced by NLLIGO::CZoneRegion::SZoneUnit2::operator=(), operator=(), serial(), and SZoneUnit(). |
|
Definition at line 102 of file zone_region.h. Referenced by NLLIGO::CZoneRegion::SZoneUnit2::operator=(), operator=(), serial(), and SZoneUnit(). |