27 lines
394 B
C
27 lines
394 B
C
|
// -*- C++ -*-
|
||
|
|
||
|
#ifndef __range_factory_h__
|
||
|
#define __range_factory_h__
|
||
|
|
||
|
#include <cstdlib>
|
||
|
#include <memory>
|
||
|
#include "base_def.h"
|
||
|
|
||
|
namespace MultiArrayTools
|
||
|
{
|
||
|
|
||
|
class RangeFactoryBase
|
||
|
{
|
||
|
public:
|
||
|
DEFAULT_MEMBERS(RangeFactoryBase);
|
||
|
virtual std::shared_ptr<IndefinitRangeBase> create() const = 0;
|
||
|
|
||
|
};
|
||
|
|
||
|
|
||
|
} //namespace MultiArrayTools
|
||
|
|
||
|
#include "range_factory.cc"
|
||
|
|
||
|
#endif
|