00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #include "RodOutList.h"
00014
00015 namespace SctPixelRod {
00016
00017
00018
00019
00020
00021 RodOutList::RodOutList( long length) {
00022 m_length = length;
00023 m_body = new unsigned long[length];
00024 }
00025
00026
00027
00028
00029 RodOutList::RodOutList( const RodOutList& rhs){
00030 if (this == &rhs) return;
00031 m_length = rhs.getLength();
00032 m_body = rhs.getBody();
00033 return;
00034 }
00035
00036
00037
00038
00039
00040
00041 RodOutList::~RodOutList()
00042 {
00043 delete [] m_body;
00044 m_body = 0;
00045 }
00046
00047
00048
00049
00050
00051
00052 RodOutList& RodOutList::operator=( const RodOutList& rhs)
00053 {
00054 if (this == &rhs) return *this;
00055 m_length = rhs.getLength();
00056 m_body = rhs.getBody();
00057 return *this;
00058 }
00059
00060
00061 }