Run Class Reference

#include <Run.hh>

Collaboration diagram for Run:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Run (Detector &aDetector)
 ~Run ()
std::ostream & operator<< (std::ostream &out) const
DetectorgetDetector (void) const
const time_t getStartTime (void) const
std::string getName (void) const
void setName (const std::string aName)
std::string getDate (void) const
void setDate (const std::string aDate)
std::string getDescription (void) const
void setDescription (const std::string aDescription)
ui64 getId (void) const

Protected Attributes

std::string name
std::string description
std::string date

Private Attributes

ui64 id
time_t startTime
Detectordetector

Friends

std::ostream & operator<< (std::ostream &out, const Run &x)


Detailed Description

Definition at line 18 of file Run.hh.


Constructor & Destructor Documentation

Run::Run ( Detector aDetector  ) 

Run::~Run (  ) 


Member Function Documentation

std::ostream& Run::operator<< ( std::ostream &  out  )  const

Detector& Run::getDetector ( void   )  const [inline]

Definition at line 27 of file Run.hh.

00027 { return detector; }

const time_t Run::getStartTime ( void   )  const [inline]

Definition at line 29 of file Run.hh.

00029 { return startTime; }

std::string Run::getName ( void   )  const [inline]

Definition at line 31 of file Run.hh.

00031 { return name; }

void Run::setName ( const std::string  aName  )  [inline]

Definition at line 32 of file Run.hh.

00032 { name = aName; }

std::string Run::getDate ( void   )  const [inline]

Definition at line 34 of file Run.hh.

00034 { return date; }

void Run::setDate ( const std::string  aDate  )  [inline]

Definition at line 35 of file Run.hh.

00035 { date = aDate; }

std::string Run::getDescription ( void   )  const [inline]

Definition at line 37 of file Run.hh.

00037 { return description; }

void Run::setDescription ( const std::string  aDescription  )  [inline]

Definition at line 38 of file Run.hh.

00038 { date = aDescription; }

ui64 Run::getId ( void   )  const [inline]

Definition at line 40 of file Run.hh.

00040 { return id;}


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const Run x 
) [friend]


Member Data Documentation

ui64 Run::id [private]

Definition at line 47 of file Run.hh.

Referenced by getId().

time_t Run::startTime [private]

Definition at line 48 of file Run.hh.

Referenced by getStartTime().

Detector& Run::detector [private]

Definition at line 49 of file Run.hh.

Referenced by getDetector().

std::string Run::name [protected]

Definition at line 51 of file Run.hh.

Referenced by getName(), and setName().

std::string Run::description [protected]

Definition at line 52 of file Run.hh.

Referenced by getDescription().

std::string Run::date [protected]

Definition at line 53 of file Run.hh.

Referenced by getDate(), setDate(), and setDescription().


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

Generated on Thu Jul 9 09:49:39 2009 for MicromegasFramework by  doxygen 1.5.8