#include <CommandLineArguments.hpp>
Static Public Member Functions | |
static CommandLineArguments * | Instance () |
Public Attributes | |
int * | p_argc |
char *** | p_argv |
Private Member Functions | |
CommandLineArguments () | |
CommandLineArguments (const CommandLineArguments &) | |
CommandLineArguments & | operator= (const CommandLineArguments &) |
Static Private Attributes | |
static CommandLineArguments * | mpInstance = NULL |
A convenient holder for the command line arguments.
The cxxtest harness will fill in the member variables when a test is started. They can then be read by PETSc when it is initialised.
Definition at line 38 of file CommandLineArguments.hpp.
CommandLineArguments::CommandLineArguments | ( | ) | [private] |
Default constructor. Should never be called directly, call CommandLineArguments::Instance() instead.
Definition at line 34 of file CommandLineArguments.cpp.
References mpInstance.
CommandLineArguments::CommandLineArguments | ( | const CommandLineArguments & | ) | [private] |
Copy constructor.
CommandLineArguments * CommandLineArguments::Instance | ( | ) | [static] |
Get the single instance of this class.
Definition at line 42 of file CommandLineArguments.cpp.
References mpInstance.
Referenced by PetscSetup::setUpWorld().
CommandLineArguments& CommandLineArguments::operator= | ( | const CommandLineArguments & | ) | [private] |
Overloaded assignment operator.
CommandLineArguments * CommandLineArguments::mpInstance = NULL [static, private] |
The single instance of the class.
Definition at line 63 of file CommandLineArguments.hpp.
Referenced by CommandLineArguments(), and Instance().
The number of command line arguments.
Definition at line 43 of file CommandLineArguments.hpp.
Referenced by PetscSetup::setUpWorld().
char*** CommandLineArguments::p_argv |
The arguments themselves.
Definition at line 46 of file CommandLineArguments.hpp.
Referenced by PetscSetup::setUpWorld().