/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Member Functions | Private Attributes
DcsAdTemp Class Reference

#include <DcsAdTemp.h>

Inheritance diagram for DcsAdTemp:
Inheritance graph
[legend]
Collaboration diagram for DcsAdTemp:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 DcsAdTemp ()
 DcsAdTemp (const DcsAdTemp &from)
 DcsAdTemp (float t1, float t2, float t3, float t4, float t5)
virtual ~DcsAdTemp ()
Bool_t CanL2Cache () const
Bool_t Compare (const DcsAdTemp &that) const
float GetTemp1 () const
float GetTemp2 () const
float GetTemp3 () const
float GetTemp4 () const
float GetTemp5 () const
virtual DbiTableRowCreateTableRow () const
virtual void Fill (DbiResultSet &rs, const DbiValidityRec *vrec)
virtual void Store (DbiOutRowStream &ors, const DbiValidityRec *vrec) const
virtual std::string name () const
virtual size_t size () const
virtual Bool_t CanFixOrdering () const
virtual std::string GetExtraCondition () const
virtual Int_t GetAggregateNo () const
DbiResultGetOwner () const
virtual UInt_t GetIndex (UInt_t defIndex) const
void SetOwner (DbiResult *owner)
virtual bool CreateDatabaseTables (Int_t db_no=0, const char *tablename="default")
virtual std::string GetDatabaseLayout ()

Private Attributes

float m_Temp1
float m_Temp2
float m_Temp3
float m_Temp4
float m_Temp5

Detailed Description

Definition at line 12 of file DcsAdTemp.h.


Constructor & Destructor Documentation

DcsAdTemp::DcsAdTemp ( ) [inline]

Definition at line 17 of file DcsAdTemp.h.

{ }
DcsAdTemp::DcsAdTemp ( const DcsAdTemp from) [inline]

Definition at line 19 of file DcsAdTemp.h.

    : DbiTableRow(from) { *this = from; }
DcsAdTemp::DcsAdTemp ( float  t1,
float  t2,
float  t3,
float  t4,
float  t5 
) [inline]

Definition at line 22 of file DcsAdTemp.h.

                                                              :
             m_Temp1(t1), m_Temp2(t2),
             m_Temp3(t3), m_Temp4(t4), 
             m_Temp5(t5) { }; 
virtual DcsAdTemp::~DcsAdTemp ( ) [inline, virtual]

Definition at line 27 of file DcsAdTemp.h.

{  };

Member Function Documentation

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

Reimplemented from DbiTableRow.

Definition at line 30 of file DcsAdTemp.h.

{ return kFALSE; }
Bool_t DcsAdTemp::Compare ( const DcsAdTemp that) const [inline]

Definition at line 32 of file DcsAdTemp.h.

                                               {
                return      m_Temp1     == that.m_Temp1
                       &&   m_Temp2     == that.m_Temp2
                       &&   m_Temp3     == that.m_Temp3
                       &&   m_Temp4     == that.m_Temp4
                       &&   m_Temp5     == that.m_Temp5;
   }
float DcsAdTemp::GetTemp1 ( ) const [inline]

Definition at line 40 of file DcsAdTemp.h.

{ return m_Temp1; }
float DcsAdTemp::GetTemp2 ( ) const [inline]

Definition at line 41 of file DcsAdTemp.h.

{ return m_Temp2; }
float DcsAdTemp::GetTemp3 ( ) const [inline]

Definition at line 42 of file DcsAdTemp.h.

{ return m_Temp3; }
float DcsAdTemp::GetTemp4 ( ) const [inline]

Definition at line 43 of file DcsAdTemp.h.

{ return m_Temp4; }
float DcsAdTemp::GetTemp5 ( ) const [inline]

Definition at line 44 of file DcsAdTemp.h.

{ return m_Temp5; }
virtual DbiTableRow* DcsAdTemp::CreateTableRow ( ) const [inline, virtual]

Implements DbiTableRow.

Definition at line 46 of file DcsAdTemp.h.

{ return new DcsAdTemp; }
void DcsAdTemp::Fill ( DbiResultSet rs,
const DbiValidityRec vrec 
) [virtual]

Implements DbiTableRow.

Definition at line 15 of file DcsAdTemp.cc.

                                             {

    Int_t numCol = rs.NumCols();
    //  The first column (SeqNo) has already been processed.
    for (Int_t curCol = 2; curCol <= numCol; ++curCol) {
      string colName = rs.CurColName();
      if (      colName == "TEMP_PT1"    )     rs >> m_Temp1;
      else if ( colName == "TEMP_PT2" )        rs >> m_Temp2;
      else if ( colName == "TEMP_PT3" )        rs >> m_Temp3;
      else if ( colName == "TEMP_PT4" )        rs >> m_Temp4;
      else if ( colName == "TEMP_PT5" )        rs >> m_Temp5;
      else {
        LOG(dbi,Logging::kDebug1) << "Ignoring column " << curCol 
                               << "(" << colName << ")"
                              << "; not part of DcsAdTemp" << std::endl;
        rs.IncrementCurCol();
      }
    }
    
}
void DcsAdTemp::Store ( DbiOutRowStream ors,
const DbiValidityRec vrec 
) const [virtual]

Reimplemented from DbiTableRow.

Definition at line 37 of file DcsAdTemp.cc.

                                                        {
  ors << m_Temp1 << m_Temp2 << m_Temp3 << m_Temp4 << m_Temp5; 
   
}

Member Data Documentation

float DcsAdTemp::m_Temp1 [private]

Definition at line 58 of file DcsAdTemp.h.

float DcsAdTemp::m_Temp2 [private]

Definition at line 59 of file DcsAdTemp.h.

float DcsAdTemp::m_Temp3 [private]

Definition at line 60 of file DcsAdTemp.h.

float DcsAdTemp::m_Temp4 [private]

Definition at line 61 of file DcsAdTemp.h.

float DcsAdTemp::m_Temp5 [private]

Definition at line 62 of file DcsAdTemp.h.


The documentation for this class was generated from the following files:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 09:57:12 for DcsDataSvc by doxygen 1.7.4