[Previous][Up][Next] Reference for unit 'UPasConf' (#Pkg)

Basic principles

A configuration program based on UPasConf comes in the form of an application, descendant of TTemplateApplication or, preferably, of TPasConfApplication. As such it has a set of ConfigurationVariables and a list of files to be generated from Templates.

Calling the Run method of the application initiates the following actions:

  1. Command line parsing : the command line is parsed and configuration variables are changed accordingly.
  2. Call of UpdateVars : the UpdateVars virtual method of the application object is called.
  3. Template generation