00001 #include "ObjectLink.h" 00002 00003 class Object; 00004 00005 ObjectLink::ObjectLink (Object *pO) 00006 : Previous(0), Next(0) /* , Value(pO) */ { 00007 Value = pO; 00008 } 00009 00010 ObjectLink::~ObjectLink () { 00011 } 00012 00013 void ObjectLink::SetNext (ObjectLink *oL) { 00014 this->Next = oL; 00015 oL->Previous = this; 00016 } 00017 00018 ObjectLink *ObjectLink::GetNext () { 00019 return this->Next; 00020 } 00021 00022 Object *ObjectLink::GetValue () { 00023 return this->Value; 00024 } 00025