JobIdentifier Class Reference
[Utility functions and classes]

List of all members.

Public Member Functions

 JobIdentifier ()
const std::string operator() () const

Static Public Member Functions

static const char * program_id ()

Private Attributes

std::string id


Detailed Description

Identification of a program run. JobIdentifier determines the start time of a program run and stores it as a program identifier. There exists a library object dealjobid of this class. This object can be accessed by all output functions to provide an id for the current job.

Constructor & Destructor Documentation

JobIdentifier::JobIdentifier (  ) 

Constructor. Set program identifier to value of program_id concatenated with the present time.


Member Function Documentation

static const char* JobIdentifier::program_id (  )  [static]

This function returns an identifier for the running program. Currently, the library provides a function returning "JobID".

The user may define a replacement of this function in his source code and avoid linking the library version. Unfortunately, this mechanism does not work with shared libraries.

const std::string JobIdentifier::operator() (  )  const

Return the value of id.


Member Data Documentation

std::string JobIdentifier::id [private]

String holding the identifier of the presently running program.


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

deal.II documentation generated on Sat Aug 15 16:52:03 2009 by doxygen 1.5.9