13 #include "StSstPackageList.hh"
15 StSstPackageList::StSstPackageList()
22 StSstPackageList::~StSstPackageList()
39 {
return ptr->getNextPackage(); }
42 {
return ptr->getPrevPackage(); }
45 {
return mFirstPackage; }
48 {
return mLastPackage; }
50 Int_t StSstPackageList::getSize()
51 {
return mListLengthP; }
57 if (mListLengthP == 0)
59 ptr->setPrevPackage(0);
60 ptr->setNextPackage(0);
66 ptr->setPrevPackage(mLastPackage);
67 ptr->setNextPackage(0);
68 mLastPackage->setNextPackage(ptr);
75 StSstPackageList::StSstPackageList(
const StSstPackageList & originalPackageList)
77 mListLengthP = originalPackageList.mListLengthP;
78 mFirstPackage = originalPackageList.mFirstPackage;
79 mLastPackage = originalPackageList.mLastPackage;
84 mListLengthP = originalPackageList.mListLengthP;
85 mFirstPackage = originalPackageList.mFirstPackage;
86 mLastPackage = originalPackageList.mLastPackage;