SNOWPACK 20241222.26c8720
RunInfo Class Reference

Detailed Description

class to collect the information about the current simulation (version, date)

#include <DataClasses.h>

Public Member Functions

 RunInfo ()
 
 RunInfo (const RunInfo &orig)
 
RunInfooperator= (const RunInfo &)
 

Public Attributes

const std::string version
 SNOWPACK version. More...
 
const double version_num
 SNOWPACK version formatted as a number. More...
 
const mio::Date computation_date
 Date of computation. More...
 
const std::string compilation_date
 Date of compilation. More...
 
const std::string user
 logname of the user running the simulation More...
 
const std::string hostname
 hostname of the computer running the simulation More...
 

Constructor & Destructor Documentation

◆ RunInfo() [1/2]

RunInfo::RunInfo ( )

◆ RunInfo() [2/2]

RunInfo::RunInfo ( const RunInfo orig)

Member Function Documentation

◆ operator=()

RunInfo & RunInfo::operator= ( const RunInfo )
inline

Member Data Documentation

◆ compilation_date

const std::string RunInfo::compilation_date

Date of compilation.

◆ computation_date

const mio::Date RunInfo::computation_date

Date of computation.

◆ hostname

const std::string RunInfo::hostname

hostname of the computer running the simulation

◆ user

const std::string RunInfo::user

logname of the user running the simulation

◆ version

const std::string RunInfo::version

SNOWPACK version.

◆ version_num

const double RunInfo::version_num

SNOWPACK version formatted as a number.


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