16#ifndef dealii_base_parameter_acceptor_h
17#define dealii_base_parameter_acceptor_h
26#include <boost/signals2/signal.hpp>
402 const std::string &output_filename =
"",
493 std::vector<std::string>
505 template <
class ParameterType>
508 ParameterType & parameter,
509 const std::string & documentation =
"",
598 static std::vector<SmartPointer<ParameterAcceptor>>
class_list;
606 static const char sep =
'/';
667template <
class SourceClass>
676 template <
typename... Args>
697template <
class ParameterType>
700 ParameterType & parameter,
701 const std::string & documentation,
712template <
class SourceClass>
713template <
typename... Args>
715 const std::string §ion_name,
723template <
class SourceClass>
727 SourceClass::declare_parameters(prm);
732template <
class SourceClass>
736 SourceClass::parse_parameters(prm);
virtual void declare_parameters(ParameterHandler &prm) override
virtual void parse_parameters(ParameterHandler &prm) override
ParameterAcceptorProxy(const std::string §ion_name, Args... args)
virtual ~ParameterAcceptor() override
std::string get_section_name() const
boost::signals2::signal< void()> declare_parameters_call_back
static void declare_all_parameters(ParameterHandler &prm=ParameterAcceptor::prm)
const unsigned int acceptor_id
const std::string section_name
std::vector< std::string > subsections
static void initialize(const std::string &filename="", const std::string &output_filename="", const ParameterHandler::OutputStyle output_style_for_output_filename=ParameterHandler::Short, ParameterHandler &prm=ParameterAcceptor::prm, const ParameterHandler::OutputStyle output_style_for_filename=ParameterHandler::DefaultStyle)
static ParameterHandler prm
static std::vector< SmartPointer< ParameterAcceptor > > class_list
void leave_my_subsection(ParameterHandler &prm)
void enter_subsection(const std::string &subsection)
virtual void parse_parameters(ParameterHandler &prm)
static void parse_all_parameters(ParameterHandler &prm=ParameterAcceptor::prm)
boost::signals2::signal< void()> parse_parameters_call_back
void enter_my_subsection(ParameterHandler &prm)
void add_parameter(const std::string &entry, ParameterType ¶meter, const std::string &documentation="", ParameterHandler &prm_=prm, const Patterns::PatternBase &pattern= *Patterns::Tools::Convert< ParameterType >::to_pattern())
virtual void declare_parameters(ParameterHandler &prm)
std::vector< std::string > get_section_path() const
void add_parameter(const std::string &entry, ParameterType ¶meter, const std::string &documentation="", const Patterns::PatternBase &pattern= *Patterns::Tools::Convert< ParameterType >::to_pattern(), const bool has_to_be_set=false)
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE