- 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:
parent
b7f3086286
commit
8eeeaae3f5
|
@ -30,16 +30,16 @@
|
|||
|
||||
|
||||
namespace sgpem
|
||||
{
|
||||
{
|
||||
class SchedulableList;
|
||||
|
||||
|
||||
class SG_DLLEXPORT SchedulableList
|
||||
{
|
||||
public:
|
||||
SchedulableList();
|
||||
bool operator==(const SchedulableList&) const;
|
||||
bool has_same_objects(const SchedulableList& dx) const;
|
||||
|
||||
|
||||
sgpem::SchedulableStatus* top();
|
||||
sgpem::SchedulableStatus* bottom();
|
||||
void add_at_bottom(const sgpem::SchedulableStatus&);
|
||||
|
@ -54,7 +54,7 @@ namespace sgpem
|
|||
/** \brief This method swaps the element at positionA with
|
||||
* 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
|
||||
* make sense (e.g. positionB > this.size()).
|
||||
* 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 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:
|
||||
std::list<SchedulableStatus> _list;
|
||||
};
|
||||
|
||||
|
||||
}//~ namespace sgpem
|
||||
|
||||
#endif //SCHEDULABLE_LIST_HH
|
||||
|
|
Loading…
Reference in New Issue