NOX
Development
|
Class to parse a parameter list for sublists. More...
#include <LOCA_Parameter_SublistParser.H>
Public Member Functions | |
SublistParser (const Teuchos::RCP< LOCA::GlobalData > &global_data) | |
Constructor. | |
~SublistParser () | |
Destructor. | |
void | parseSublists (const Teuchos::RCP< Teuchos::ParameterList > &topLevelParams) |
Parse parameter list to find sublists. | |
Teuchos::RCP < Teuchos::ParameterList > | getSublist (const std::string &name) |
Return sublist of name name . | |
Protected Attributes | |
Teuchos::RCP< LOCA::GlobalData > | globalData |
Global data. | |
SublistMap | sublistMap |
Map to hold sublists. | |
Class to parse a parameter list for sublists.
This class parses a supplied parameter list and locates various sublists. This saves the code from having to traverse the parameter list to find sublists itself, and puts in one location the hard-coded structure of the parameter list.