#include <femaxx_post3dparam.hh>
Collaboration diagram for FemaxxPost3dparam:

Public Member Functions | |
| ~FemaxxPost3dparam () | |
| Destructor reset the instance flag. | |
| int | inputFile (std::string inputFile) |
| Init gmsh input file name. | |
| std::string | inputFile () |
| Return gmsh input file name. | |
| int | outputFile (std::string outputFile) |
| Init output file names. | |
| std::string | outputFile () |
| Return dgf output file name. | |
| int | showAll () |
| Show all private members of this class. | |
| int | checkAll () |
Static Public Member Functions | |
| static FemaxxPost3dparam * | getInstance () |
| This function create an instance of Emparam if none exists. | |
Private Member Functions | |
| FemaxxPost3dparam () | |
| Constructor have to be private for a singleton. | |
| int | notCorrectCommandLineParameterMsg (std::string parameter) |
| Print message if a command line parameter is not correct initialized. | |
Private Attributes | |
| std::string | inputFile_ |
| std::string | outputFile_ |
Static Private Attributes | |
| static bool | instanceFlag = false |
| Counter flag to check if an instance already exits. | |
| static FemaxxPost3dparam * | single = NULL |
| Self reference. | |
Definition at line 41 of file femaxx_post3dparam.hh.
| FemaxxPost3dparam::FemaxxPost3dparam | ( | ) | [inline, private] |
Constructor have to be private for a singleton.
Definition at line 51 of file femaxx_post3dparam.hh.
References inputFile_, and outputFile_.
| FemaxxPost3dparam::~FemaxxPost3dparam | ( | ) | [inline] |
Destructor reset the instance flag.
Definition at line 87 of file femaxx_post3dparam.hh.
References instanceFlag.
| int FemaxxPost3dparam::checkAll | ( | ) | [inline] |
Definition at line 145 of file femaxx_post3dparam.hh.
References ERRORCODE, inputFile_, notCorrectCommandLineParameterMsg(), OKCODE, and outputFile_.
Referenced by main().
Here is the call graph for this function:

| FemaxxPost3dparam * FemaxxPost3dparam::getInstance | ( | ) | [static] |
This function create an instance of Emparam if none exists.
Definition at line 191 of file femaxx_post3dparam.hh.
References instanceFlag, and single.
Referenced by main().
| std::string FemaxxPost3dparam::inputFile | ( | ) | [inline] |
Return gmsh input file name.
Definition at line 102 of file femaxx_post3dparam.hh.
References inputFile_.
| int FemaxxPost3dparam::inputFile | ( | std::string | inputFile | ) | [inline] |
Init gmsh input file name.
Definition at line 96 of file femaxx_post3dparam.hh.
References inputFile_, and OKCODE.
Referenced by main().
| int FemaxxPost3dparam::notCorrectCommandLineParameterMsg | ( | std::string | parameter | ) | [inline, private] |
Print message if a command line parameter is not correct initialized.
| parameter | name that is not correct set. |
Definition at line 69 of file femaxx_post3dparam.hh.
References OKCODE.
Referenced by checkAll().
| std::string FemaxxPost3dparam::outputFile | ( | ) | [inline] |
Return dgf output file name.
Definition at line 114 of file femaxx_post3dparam.hh.
References outputFile_.
| int FemaxxPost3dparam::outputFile | ( | std::string | outputFile | ) | [inline] |
Init output file names.
Definition at line 108 of file femaxx_post3dparam.hh.
References OKCODE, and outputFile_.
Referenced by main().
| int FemaxxPost3dparam::showAll | ( | ) | [inline] |
Show all private members of this class.
Definition at line 123 of file femaxx_post3dparam.hh.
References inputFile_, OKCODE, and outputFile_.
Referenced by main().
std::string FemaxxPost3dparam::inputFile_ [private] |
Definition at line 60 of file femaxx_post3dparam.hh.
Referenced by checkAll(), FemaxxPost3dparam(), inputFile(), and showAll().
bool FemaxxPost3dparam::instanceFlag = false [static, private] |
Counter flag to check if an instance already exits.
Definition at line 47 of file femaxx_post3dparam.hh.
Referenced by getInstance(), and ~FemaxxPost3dparam().
std::string FemaxxPost3dparam::outputFile_ [private] |
Definition at line 61 of file femaxx_post3dparam.hh.
Referenced by checkAll(), FemaxxPost3dparam(), outputFile(), and showAll().
FemaxxPost3dparam * FemaxxPost3dparam::single = NULL [static, private] |
1.4.7