1 #ifndef fhiclcpp_types_detail_SequenceBase_h 2 #define fhiclcpp_types_detail_SequenceBase_h 13 template <tt::const_flavor C>
14 class ParameterWalker;
23 std::function<
bool()> maybeUse)
55 virtual std::size_t
get_size()
const noexcept = 0;
bool empty() const noexcept
void prepare_elements_for_validation(std::size_t const n)
std::size_t size() const noexcept
virtual void do_walk_elements(ParameterWalker< tt::const_flavor::require_non_const > &)=0
virtual void do_prepare_elements_for_validation(std::size_t)=0
void walk_elements(ParameterWalker< tt::const_flavor::require_non_const > &pw)
SequenceBase(Name &&name, Comment &&comment, par_style const vt, par_type const type, std::function< bool()> maybeUse)
std::string const & name() const
virtual std::size_t get_size() const noexcept=0
std::string const & comment() const
void walk_elements(ParameterWalker< tt::const_flavor::require_const > &pw) const