options_utils::optmap& unitpp::options

()

The singleton instance of the option handler of main.

Documentation

The singleton instance of the option handler of main.

This allows a test to add its own flags to the resulting test program, in the following way.

bool x_flg = false; unitpp::options().add("x", new options_utils::opt_flag(x_flg));

If a -x is now given to the resulting test it will set the x_flg variable;

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.