/*************************************************************************** * Copyright (C) 2003-2004 by * * Unai Garro (ugarro@users.sourceforge.net) * * Jason Kivlighn (jkivlighn@gmail.com) * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * ***************************************************************************/ #ifndef ELEMENTLIST_H #define ELEMENTLIST_H #include #include #include "element.h" /** @author Unai Garro */ class ElementList: public TQValueList { public: ElementList(); ~ElementList(); bool containsId( int id ) const; bool containsSubSet( ElementList &el ); Element findByName( const TQString & ) const; Element findByName( const TQRegExp & ) const; Element getElement( int index ) const; TQString join( const TQString &sep ) const; static ElementList split( const TQString &sep, const TQString &str ); }; typedef TQValueList IDList; #endif