NAME
A function of omni::application
omni::application::args
A function of omni::application
#include <omni/application.hpp>
omni::application::argparser& omni::application::args()
SYNOPSIS
Gets the application wide argument parser set via either an
top
Gets the application wide argument parser set via either an
omni::application::run context or directly via omni::application::set_args.
top
DESCRIPTION
If
top
If
omni::application::run or omni::application::set_args is called passing in the command line arguments from the main function, the reference returned has a copy of same arguments.
top
CONSIDERATIONS
The value returned is a direct reference to the underlying
top
The value returned is a direct reference to the underlying
argparser object, so any modifications done to the reference after it has be retrieved cannot be guaranteed to be thread safe.
top