- hemm... updated also the header!!

git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@391 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
fpaparel 2006-02-22 23:21:12 +00:00
parent b7f3086286
commit 8eeeaae3f5
1 changed files with 6 additions and 6 deletions

View File

@ -30,16 +30,16 @@
namespace sgpem namespace sgpem
{ {
class SchedulableList; class SchedulableList;
class SG_DLLEXPORT SchedulableList class SG_DLLEXPORT SchedulableList
{ {
public: public:
SchedulableList(); SchedulableList();
bool operator==(const SchedulableList&) const; bool operator==(const SchedulableList&) const;
bool has_same_objects(const SchedulableList& dx) const; bool has_same_objects(const SchedulableList& dx) const;
sgpem::SchedulableStatus* top(); sgpem::SchedulableStatus* top();
sgpem::SchedulableStatus* bottom(); sgpem::SchedulableStatus* bottom();
void add_at_bottom(const sgpem::SchedulableStatus&); void add_at_bottom(const sgpem::SchedulableStatus&);
@ -54,7 +54,7 @@ namespace sgpem
/** \brief This method swaps the element at positionA with /** \brief This method swaps the element at positionA with
* the one at positionB. * the one at positionB.
* *
* At the present moment, this function shouldn't throw any * At the present moment, this function shouldn't throw any
* exception, but just do nothing when the parameters don't * exception, but just do nothing when the parameters don't
* make sense (e.g. positionB > this.size()). * make sense (e.g. positionB > this.size()).
* However, it should work the same either if positionA is greater * However, it should work the same either if positionA is greater
@ -64,12 +64,12 @@ namespace sgpem
* \param positionA The position of the first element to swap * \param positionA The position of the first element to swap
* \param positionB The position of the second element to swap * \param positionB The position of the second element to swap
*/ */
void swap(unsigned int positionA, unsigned int positionB) throw() {} void swap(unsigned int positionA, unsigned int positionB) throw();
private: private:
std::list<SchedulableStatus> _list; std::list<SchedulableStatus> _list;
}; };
}//~ namespace sgpem }//~ namespace sgpem
#endif //SCHEDULABLE_LIST_HH #endif //SCHEDULABLE_LIST_HH