//! \file Walker.h

#ifndef _WALKER_H
#define _WALKER_H

#include "ArticleCollection.h"

//! Base class for article analyzers
class Walker
{
protected:
    //! article collection, used as cache, for walked articles
    ArticleCollection articleSet;
};

#endif // _WALKER_H

//! \file Walker.h

#ifndef _WALKER_H
#define _WALKER_H

#include "ArticleCollection.h"

//! Base class for article analyzers
class Walker
{
public:
    const ArticleCollection& getCollection() const
    {
        return articleSet;
    }

protected:
    //! article collection, used as cache, for walked articles
    ArticleCollection articleSet;
};

#endif // _WALKER_H

Add method to get const article collection in walker
Add method to get const article collection in walker

  so I don't have to do everything within that class...
