#ifndef PROTOCOL_HISTORY_H
#define PROTOCOL_HISTORY_H

namespace MM
{

class Protocol_history
{       /*
public:
    Protocol &              protocol_;
    Array <Protocol_stage*> list_;  //fix Smart_pointer

public:
    Protocol_cursor (Protocol & protocol) : protocol_(protocol), index_(0) {;}

    void                    first    ()                                         {index_ = 0; update ();}
    void                    next     ()                                         {++index_;   update ();}
    void                    set      (int i)                                    {index_ = i; update ();}
    bool                    is_valid () const                                   {return index_<protocol_.stage_count();}
    Protocol_stage &        current  ()                                         {return protocol_.stage (index_);}
    Protocol_stage const&   current  () const                                   {return protocol_.stage (index_);}
    int                     index    () const                                   {return index_;}
    //*/
};

}//MM

#endif //PROTOCOL_HISTORY_H
