11 #include "StSsdPackageList.hh"
13 StSsdPackageList::StSsdPackageList()
20 StSsdPackageList::~StSsdPackageList()
38 {
return ptr->getNextPackage(); }
41 {
return ptr->getPrevPackage(); }
44 {
return mFirstPackage; }
47 {
return mLastPackage; }
49 Int_t StSsdPackageList::getSize()
50 {
return mListLengthP; }
56 if (mListLengthP == 0)
58 ptr->setPrevPackage(0);
59 ptr->setNextPackage(0);
65 ptr->setPrevPackage(mLastPackage);
66 ptr->setNextPackage(0);
67 mLastPackage->setNextPackage(ptr);
74 StSsdPackageList::StSsdPackageList(
const StSsdPackageList & originalPackageList)
76 mListLengthP = originalPackageList.mListLengthP;
77 mFirstPackage = originalPackageList.mFirstPackage;
78 mLastPackage = originalPackageList.mLastPackage;
83 mListLengthP = originalPackageList.mListLengthP;
84 mFirstPackage = originalPackageList.mFirstPackage;
85 mLastPackage = originalPackageList.mLastPackage;