IFEM  90A354
Public Member Functions | Public Attributes | Protected Member Functions | Private Attributes | List of all members
SIMargsBase Class Reference

Base class for input file pre-parsing in applications. More...

#include <SIMargsBase.h>

Inheritance diagram for SIMargsBase:
Inheritance graph
[legend]
Collaboration diagram for SIMargsBase:
Collaboration graph
[legend]

Public Member Functions

 SIMargsBase (const char *ctx)
 The constructor initializes the default parameter values.
 
virtual bool parseArg (const char *argv)
 Parses a command-line argument.
 
- Public Member Functions inherited from XMLInputBase
bool readXML (const char *fileName, bool verbose=true)
 Reads an XML input file. More...
 
bool loadXML (const char *xml)
 Loads data from an XML-formatted text string. More...
 

Public Attributes

int dim
 Dimensionality of simulation.
 
char adap
 If ≠ 0, run an adaptive simulator.
 

Protected Member Functions

bool parse (const tinyxml2::XMLElement *elem) override
 Parses a data section from an XML element.
 
- Protected Member Functions inherited from XMLInputBase
const tinyxml2::XMLElement * loadFile (tinyxml2::XMLDocument &doc, const char *fileName, bool verbose=false)
 Loads an XML input file into a tinyxml2::XMLDocument object. More...
 
virtual const char ** getPrioritizedTags () const
 Returns a list of prioritized XML-tags.
 

Private Attributes

const char * context
 Application-specific context tag.
 

Detailed Description

Base class for input file pre-parsing in applications.


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