npdet_to_step.cxx
Go to the documentation of this file.
113 mp.prepend_section("DESCRIPTION", "Geometry tool for converting compact files to STEP (cad) files.");
124 // command("list").set(s.selected,mode::list) % "list detectors and print info about geometry ",
145 option("-l","--level").set(s.level_set) & value("level",s.part_level) % "Maximum level navigated to for part",
160 value("file",s.infile).if_missing([]{ std::cout << "You need to provide an input xml filename as the last argument!\n"; } )
@ part
std::map< std::string, int > part_name_levels
Definition: dd_web_display.cxx:88
parameter value(const doc_string &label, Targets &&... tgts)
makes required, blocking, repeatable value parameter; matches any non-empty string
Definition: clipp.h:2094
doc_formatting & alternative_group_separator(const string &sep)
determines string for separating alternative groups
Definition: clipp.h:5116
@ list
doc_formatting & indent_size(int indent)
determines indent of documentation lines for children of a documented group
Definition: clipp.h:5083
detail::assign_value< T, V > set(T &target, V value)
makes function object with a const char* parameter that assigns a value to a ref-captured object
Definition: clipp.h:1055
man_page make_man_page(const group ¶ms, doc_string progname="", const doc_formatting &fmt=doc_formatting{})
generates man sections from command line parameters with sections "synopsis" and "options"
Definition: clipp.h:6086
doc_formatting & start_column(int col)
determines column where documentation printing starts
Definition: clipp.h:5074
parameter option(String &&flag, Strings &&... flags)
makes optional, non-blocking exact match parameter
Definition: clipp.h:2078
doc_formatting & surround_optional(const string &prefix, const string &postfix)
determnines strings surrounding optional parameters/groups
Definition: clipp.h:5141
doc_formatting & surround_alternative_flags(const string &prefix, const string &postfix)
determnines strings surrounding alternative flags
Definition: clipp.h:5171
doc_formatting & param_separator(const string &sep)
determines string for separating parameters
Definition: clipp.h:5095
doc_formatting & alternative_param_separator(const string &sep)
determines string for separating alternative parameters
Definition: clipp.h:5109
parsing_result parse(arg_list args, const group &cli)
parses vector of arg strings and executes actions
Definition: clipp.h:4941
Derived & if_missing(simple_action a)
adds an action that will be called if a required parameter is missing
Definition: clipp.h:1252
doc_formatting & line_spacing(int lines)
determines number of empty rows after one single-line documentation entry
Definition: clipp.h:5217
parameter integer(const doc_string &label, Targets &&... tgts)
makes required, blocking value parameter; matches any string that represents an integer
Definition: clipp.h:2358
@ help
doc_formatting & doc_column(int col)
determines column where docstrings start
Definition: clipp.h:5078
Definition: dd_web_display.cxx:74
parameter command(String &&flag, Strings &&... flags)
makes required non-blocking exact match parameter
Definition: clipp.h:2048
doc_formatting & surround_group(const string &prefix, const string &postfix)
determnines strings surrounding non-exclusive groups
Definition: clipp.h:5181
man_page & prepend_section(string title, string content)
Definition: clipp.h:6025
void print_daughter_nodes(TGeoNode *node, int print_depth)
Definition: npdet_to_step.cxx:282
Derived & set(Target &t)
adds an action that will set the value of 't' from a 'const char*' arg
Definition: clipp.h:1215
doc_formatting & flag_separator(const string &sep)
determines string for separating flags of the same parameter
Definition: clipp.h:5123
doc_formatting & surround_repeat(const string &prefix, const string &postfix)
determnines strings surrounding repeatable parameters/groups
Definition: clipp.h:5151
generates parameter and group documentation from docstrings
Definition: clipp.h:5781
doc_formatting & paragraph_spacing(int lines)
determines number of empty rows before and after a paragraph; a paragraph is defined by a documented ...
Definition: clipp.h:5226
doc_formatting & surround_alternatives(const string &prefix, const string &postfix)
determnines strings surrounding exclusive groups
Definition: clipp.h:5161
doc_formatting & group_separator(const string &sep)
determines string for separating groups (in usage lines)
Definition: clipp.h:5102
doc_formatting & surround_joinable(const string &prefix, const string &postfix)
determnines strings surrounding joinable groups
Definition: clipp.h:5191