Dcs_Radon_Level Class Reference

#include <Dcs_Radon_Level.h>

Inheritance diagram for Dcs_Radon_Level:
DbiTableRow

List of all members.

Public Member Functions

 Dcs_Radon_Level ()
 Dcs_Radon_Level (const Dcs_Radon_Level &from)
 Dcs_Radon_Level (VldTimeStamp ts, Float_t rl)
virtual ~Dcs_Radon_Level ()
Bool_t CanL2Cache () const
VldTimeStamp GetTimeStamp () const
Float_t GetRadonLevel () const
Bool_t IsValidEntry () const
virtual void Fill (DbiResultSet &rs, const DbiValidityRec *vrec)
virtual void Store (DbiOutRowStream &ors, const DbiValidityRec *vrec) const
virtual DbiTableRowCreateTableRow () const

Private Attributes

VldTimeStamp fTimeStamp
Float_t fRadonLevel

Detailed Description

Definition at line 13 of file Dcs_Radon_Level.h.


Constructor & Destructor Documentation

Dcs_Radon_Level::Dcs_Radon_Level (  )  [inline]

Definition at line 18 of file Dcs_Radon_Level.h.

00018 { }

Dcs_Radon_Level::Dcs_Radon_Level ( const Dcs_Radon_Level from  )  [inline]

Definition at line 19 of file Dcs_Radon_Level.h.

00019 : DbiTableRow(from) { *this = from; }

Dcs_Radon_Level::Dcs_Radon_Level ( VldTimeStamp  ts,
Float_t  rl 
) [inline]

Definition at line 20 of file Dcs_Radon_Level.h.

00020 : fTimeStamp(ts),fRadonLevel(rl) { }

virtual Dcs_Radon_Level::~Dcs_Radon_Level (  )  [inline, virtual]

Definition at line 21 of file Dcs_Radon_Level.h.

00021 { };


Member Function Documentation

Bool_t Dcs_Radon_Level::CanL2Cache (  )  const [inline, virtual]

Reimplemented from DbiTableRow.

Definition at line 25 of file Dcs_Radon_Level.h.

00025 { return kTRUE; }

virtual DbiTableRow* Dcs_Radon_Level::CreateTableRow (  )  const [inline, virtual]

Implements DbiTableRow.

Definition at line 35 of file Dcs_Radon_Level.h.

00035 { return new Dcs_Radon_Level; }

void Dcs_Radon_Level::Fill ( DbiResultSet rs,
const DbiValidityRec vrec 
) [virtual]

Implements DbiTableRow.

Definition at line 27 of file Dcs_Radon_Level.cxx.

References fRadonLevel, and fTimeStamp.

00028                                                     {
00029 //
00030 //
00031 //  Purpose:  Fill object from Result Set
00032 //
00033 //  Arguments: 
00034 //    rs           in    Result Set used to fill object
00035 //    vrec         in    Associated validity record (or 0 if filling
00036 //                                                    DbiValidityRec)
00037 //
00038 //  o Fill object from current row of Result Set.
00039 
00040   rs >> fTimeStamp >> fRadonLevel;
00041 
00042 }

Float_t Dcs_Radon_Level::GetRadonLevel (  )  const [inline]

Definition at line 28 of file Dcs_Radon_Level.h.

References fRadonLevel.

Referenced by DcsRadonLevelFinder::GetRadonLevel().

00028 { return fRadonLevel; }

VldTimeStamp Dcs_Radon_Level::GetTimeStamp (  )  const [inline]

Definition at line 27 of file Dcs_Radon_Level.h.

References fTimeStamp.

Referenced by DcsRadonLevelFinder::GetRadonLevel(), and earlier::operator()().

00027 { return fTimeStamp; }

Bool_t Dcs_Radon_Level::IsValidEntry (  )  const [inline]

Definition at line 29 of file Dcs_Radon_Level.h.

References fRadonLevel.

Referenced by DcsRadonLevelFinder::GetRadonLevel().

00029 { return fRadonLevel > 0.; }

void Dcs_Radon_Level::Store ( DbiOutRowStream ors,
const DbiValidityRec vrec 
) const [virtual]

Reimplemented from DbiTableRow.

Definition at line 45 of file Dcs_Radon_Level.cxx.

References fRadonLevel, and fTimeStamp.

00046                                                                  {
00047 //  Purpose:  Stream object to output row stream
00048 //
00049 //  Arguments: 
00050 //    ors          in     Output row stream.
00051 //    vrec         in    Associated validity record (or 0 if filling
00052 //                                                    DbiValidityRec)
00053 //  o  Stream object to output row stream.
00054 
00055   ors << fTimeStamp << fRadonLevel;
00056 
00057 }


Member Data Documentation

Float_t Dcs_Radon_Level::fRadonLevel [private]

Definition at line 42 of file Dcs_Radon_Level.h.

Referenced by Fill(), GetRadonLevel(), IsValidEntry(), and Store().

Definition at line 41 of file Dcs_Radon_Level.h.

Referenced by Fill(), GetTimeStamp(), and Store().


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

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1