The ROme OpTimistic Simulator  3.0.0
A General-Purpose Multithreaded Parallel/Distributed Simulation Platform
ap_section Struct Reference

A set of options organized and parsed together. More...

#include <arg_parse.h>

+ Collaboration diagram for ap_section:

Data Fields

const char * header
 The header printed before this section in the --help text.
 
struct ap_optionopts
 The array of recognized options, terminated by a zeroed element.
 
void(* parser )(int key, const char *arg)
 The parsing function. More...
 

Detailed Description

A set of options organized and parsed together.

Definition at line 37 of file arg_parse.h.

Field Documentation

◆ parser

void(* ap_section::parser) (int key, const char *arg)

The parsing function.

This gets called for events specified in the enum ap_event_key or when an option for this section is encountered during parsing.

Definition at line 45 of file arg_parse.h.


The documentation for this struct was generated from the following file: