NOX Development
Loading...
Searching...
No Matches
LOCA::Parameter::SublistParser Class Reference

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::GlobalDataglobalData
 Global data.
SublistMap sublistMap
 Map to hold sublists.

Detailed Description

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.


The documentation for this class was generated from the following files: