CommandLineArguments Class Reference

#include <CommandLineArguments.hpp>

Collaboration diagram for CommandLineArguments:
Collaboration graph
[legend]

List of all members.

Static Public Member Functions

static CommandLineArgumentsInstance ()

Public Attributes

int * p_argc
char *** p_argv

Private Member Functions

 CommandLineArguments ()
 CommandLineArguments (const CommandLineArguments &)
CommandLineArgumentsoperator= (const CommandLineArguments &)

Static Private Attributes

static CommandLineArgumentsmpInstance = NULL

Detailed Description

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.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Member Data Documentation

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().

The arguments themselves.

Definition at line 46 of file CommandLineArguments.hpp.

Referenced by PetscSetup::setUpWorld().


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

Generated by  doxygen 1.6.2