/* * FillPredicate_impl.hpp * * Created on: Jan 19, 2012 * Author: heber */ #ifndef FILLPREDICATE_IMPL_HPP_ #define FILLPREDICATE_IMPL_HPP_ // include config.h #ifdef HAVE_CONFIG_H #include #endif #include "FillPredicateBase.hpp" #include "types.hpp" class AlwaysFillPredicate_impl : public FillPredicateBase { public: virtual bool operator()(const Node&n) const{ return true; } }; class NeverFillPredicate_impl : public FillPredicateBase { public: virtual bool operator()(const Node&n) const{ return false; } }; #endif /* FILLPREDICATE_IMPL_HPP_ */