#ifndef LINE_H
#define LINE_H

#ifndef ANY_H
#include <Any.h>
#endif

namespace MM
{

class Line
{
public:
    virtual ~Line () {}

    virtual Any &           operator [] (int i)  =0;
    virtual int             length      ()const  =0;

    virtual Line *          clone       () const =0;
    virtual void            add         (const Any & cell) =0;
};

}//MM

#endif //LINE_H
