Skip to content

TCLAP argument comment additions (auto galaxy wrap preparation)

Added necessary informations and keywords to TCLAP arguments so the arguments can be extracted and evaluated correctly by the auto galaxy wrap generation tool.

  • Using the following keywords the auto wrapper will identify a TCLAP::ValueArgstd::string as files:
    • Single input file: At the beginning of the comment Input (.extension | .extension2 | ...). and "INPUT_FILE" as the last constructor argument
    • Single output file: At the beginning of the comment Output (.extension | .extension2 | ...). and "OUTPUT_FILE" as the last constructor argument.
  • Minimum and maximum values are defined like e.g. (min = 0) and (max = 99) in the comment.
  • Specific values the parameter accepts should be defined in a variable in the specific file and accessed with a pointer, see e.g. &allowedVals in generateStructuredMesh.
  • Default values are exracted from the constructor.
Edited by Lars Bilke

Merge request reports

Loading