• fogal1's avatar
    Add some functions for looking up runtime parameters. · 84b7cd18
    fogal1 authored
    This adds a `RuntimeSettings' namespace which has functions for
    easily configuring and looking up runtime parameters.  The
    important consideration this implementation handles is finding
    parameters from multiple places.
    
    Settings are given a compile time default, and metadata such as
    associated environment variables and command line options.  The
    search defaults to the compile-time value, but successively looks
    for settings which are more specific for the user.
    
    The current ordering, from most important/specific to least, is:
      command line options
      environment variable
      configuration file entry (unimplemented)
      compile-time default
    
    Adding a new parameter is as simple as adding a new entry to a
    struct within the implementation.  There is a framework in place
    to look up integer, double, boolean, and string values.  String
    values are a bit special: if they begin with '.', we prepend
    VisIt's installation directory to them.  This allows one to store
    settings which point to directories or files.
    
    git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@8011 18c085ea-50e0-402c-830e-de6fd14e8384
    84b7cd18
Name
Last commit
Last update
ac Loading commit data...
archives Loading commit data...
avt Loading commit data...
bin Loading commit data...
common Loading commit data...
config-site Loading commit data...
cqscore Loading commit data...
databases Loading commit data...
engine Loading commit data...
exe Loading commit data...
gui Loading commit data...
help Loading commit data...
include Loading commit data...
java Loading commit data...
launcher Loading commit data...
lib Loading commit data...
mdserver Loading commit data...
operators Loading commit data...
plots Loading commit data...
plugins Loading commit data...
sim Loading commit data...
svn_bin Loading commit data...
third_party_builtin Loading commit data...
tools Loading commit data...
ultrawrapper Loading commit data...
viewer Loading commit data...
visit_vtk Loading commit data...
visitpy Loading commit data...
vtk Loading commit data...
vtkqt Loading commit data...
winutil Loading commit data...
BUILD_NOTES Loading commit data...
BUILD_NOTES_MacOSX Loading commit data...
COPYRIGHT Loading commit data...
INSTALL_NOTES Loading commit data...
Makefile.in Loading commit data...
VERSION Loading commit data...
acinclude.m4 Loading commit data...
aclocal.m4 Loading commit data...
configure Loading commit data...
configure.in Loading commit data...