Cambridge SMT System
main.disambig.init_param_options.hpp File Reference

To initialize boost parameter options. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 ucam
 
 ucam::util
 

Functions

void ucam::util::init_param_options (int argc, const char *argv[], po::variables_map *vm)
 Function to initialize boost program_options module with command-line and config file options. Note that both the config file and the command line options are parsed. This means that whatever the source of the parameter it is equally safe to use, i.e. the expected type (int, string, ...) as defined in the options should be guaranteed a priori. This function is typically used with RegistryPO class, which will contain all relevant variables to share across all task classes. More...
 

Detailed Description

To initialize boost parameter options.

Date
21-8-2012
Author
Gonzalo Iglesias

Definition in file main.disambig.init_param_options.hpp.