diff --git a/src/libCom/cxxTemplates/tsDLList.h b/src/libCom/cxxTemplates/tsDLList.h index 0e2c83c3f..33c2578be 100644 --- a/src/libCom/cxxTemplates/tsDLList.h +++ b/src/libCom/cxxTemplates/tsDLList.h @@ -170,6 +170,8 @@ public: tsDLIterConstBD (const class tsDLIterConstBD ©In); # endif + bool valid () const; + // // end of the list constant // @@ -213,6 +215,8 @@ public: tsDLIterBD (const class tsDLIterBD ©In); # endif + bool valid () const; + // // end of the list constant // @@ -755,6 +759,12 @@ inline tsDLIterConstBD tsDLIterConstBD::operator -- (int) return tmp; } +template +inline const tsDLIterBD tsDLIterBD::valid () +{ + return this->pEntry ? true : false; +} + // // tsDLIterConstBD::eol // @@ -878,6 +888,12 @@ inline tsDLIterBD tsDLIterBD::operator -- (int) return tmp; } +template +inline const tsDLIterBD tsDLIterBD::valid () +{ + return this->tsDLIterConstBD::valid (); +} + // // tsDLIterBD::eol //