MCPcopy Create free account
hub / github.com/aff3ct/aff3ct / get_description

Method get_description

src/Factory/Module/Quantizer/Quantizer.cpp:28–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28void
29Quantizer ::get_description(cli::Argument_map_info& args) const
30{
31 auto p = this->get_prefix();
32 const std::string class_name = "factory::Quantizer::";
33
34 tools::add_arg(
35 args, p, class_name + "p+size,N", cli::Integer(cli::Positive(), cli::Non_zero()), cli::arg_rank::REQ);
36
37 tools::add_arg(args, p, class_name + "p+type", cli::Text(cli::Including_set("POW2", "CUSTOM")));
38
39 tools::add_arg(args, p, class_name + "p+implem", cli::Text(cli::Including_set("STD", "FAST")));
40
41 tools::add_arg(args, p, class_name + "p+dec", cli::Integer(cli::Positive()));
42
43 tools::add_arg(args, p, class_name + "p+bits", cli::Integer(cli::Positive(), cli::Non_zero()));
44
45 tools::add_arg(args, p, class_name + "p+range", cli::Real(cli::Positive(), cli::Non_zero()));
46}
47
48void
49Quantizer ::store(const cli::Argument_map_value& vals)

Callers

nothing calls this directly

Calls 1

get_prefixMethod · 0.80

Tested by

no test coverage detected