DbiDemoData2 Class Reference

#include <DbiDemoData2.h>

Inheritance diagram for DbiDemoData2:
DbiTableRow

List of all members.

Public Member Functions

 DbiDemoData2 ()
 DbiDemoData2 (const DbiDemoData2 &from)
virtual ~DbiDemoData2 ()
Bool_t CanL2Cache () const
Bool_t Compare (const DbiDemoData2 &that) const
Int_t GetAggregateNo () const
UInt_t GetIndex (UInt_t) const
UInt_t GetSubSystem () const
Float_t GetData () const
virtual DbiTableRowCreateTableRow () const
virtual void Fill (DbiResultSet &rs, const DbiValidityRec *vrec)
virtual void Store (DbiOutRowStream &ors, const DbiValidityRec *vrec) const

Private Attributes

Int_t fAggregateNo
Int_t fSubSystem
Float_t fData

Detailed Description

Definition at line 25 of file DbiDemoData2.h.


Constructor & Destructor Documentation

DbiDemoData2::DbiDemoData2 (  )  [inline]

Definition at line 33 of file DbiDemoData2.h.

References LEA_CTOR.

00033 { LEA_CTOR; }

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

Definition at line 34 of file DbiDemoData2.h.

References LEA_CTOR.

00035     : DbiTableRow(from) { LEA_CTOR; *this = from; }

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

Definition at line 36 of file DbiDemoData2.h.

References LEA_DTOR.

00036 { LEA_DTOR; };


Member Function Documentation

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

Reimplemented from DbiTableRow.

Definition at line 39 of file DbiDemoData2.h.

00039 { return kTRUE; }

Bool_t DbiDemoData2::Compare ( const DbiDemoData2 that  )  const [inline]

Definition at line 40 of file DbiDemoData2.h.

References fAggregateNo, fData, and fSubSystem.

00040                                                   {
00041                 return     fSubSystem   == that.fSubSystem
00042                        &&  fAggregateNo == that.fAggregateNo
00043                        &&  fData        == that.fData; }

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

Implements DbiTableRow.

Definition at line 49 of file DbiDemoData2.h.

00049                                               { 
00050                                               return new DbiDemoData2; }

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

Implements DbiTableRow.

Definition at line 51 of file DbiDemoData2.cxx.

References fAggregateNo, fData, and fSubSystem.

00052                                                           {
00053 //
00054 //
00055 //  Purpose:  Fill oject from Result Set
00056 //
00057 //  Arguments: 
00058 //    rs           in    Result Set used to fill object
00059 //    vrec         in    Associated validity record (or 0 if filling
00060 //                                                    DbiValidityRec)
00061 //
00062 //  Return:    
00063 //
00064 //  Contact:   N. West
00065 //
00066 //  Specification:-
00067 //  =============
00068 //
00069 //  o Fill object from current row of Result Set.
00070 
00071 //  Program Notes:-
00072 //  =============
00073 
00074 //  None.
00075 
00076 
00077   rs >> fAggregateNo >> fSubSystem >> fData;
00078    
00079 }

Int_t DbiDemoData2::GetAggregateNo (  )  const [inline, virtual]

Reimplemented from DbiTableRow.

Definition at line 44 of file DbiDemoData2.h.

References fAggregateNo.

00044 { return fAggregateNo; }

Float_t DbiDemoData2::GetData (  )  const [inline]

Definition at line 47 of file DbiDemoData2.h.

References fData.

00047 { return fData; }

UInt_t DbiDemoData2::GetIndex ( UInt_t   )  const [inline, virtual]

Reimplemented from DbiTableRow.

Definition at line 45 of file DbiDemoData2.h.

References fSubSystem.

00045 { return fSubSystem/10; }

UInt_t DbiDemoData2::GetSubSystem (  )  const [inline]

Definition at line 46 of file DbiDemoData2.h.

References fSubSystem.

00046 { return fSubSystem; }

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

Reimplemented from DbiTableRow.

Definition at line 83 of file DbiDemoData2.cxx.

References fAggregateNo, fData, and fSubSystem.

00084                                                                  {
00085 //
00086 //
00087 //  Purpose:  Stream object to output row stream
00088 //
00089 //  Arguments: 
00090 //    ors          in     Output row stream.
00091 //    vrec         in    Associated validity record (or 0 if filling
00092 //                                                    DbiValidityRec)
00093 //
00094 //  Return:    
00095 //
00096 //  Contact:   N. West
00097 //
00098 //  Specification:-
00099 //  =============
00100 //
00101 //  o  Stream object to output row stream.
00102 
00103 //  Program Notes:-
00104 //  =============
00105 
00106 //  None.
00107 
00108   ors << fAggregateNo << fSubSystem << fData;
00109    
00110 }


Member Data Documentation

Int_t DbiDemoData2::fAggregateNo [private]

Definition at line 63 of file DbiDemoData2.h.

Referenced by Compare(), Fill(), GetAggregateNo(), and Store().

Float_t DbiDemoData2::fData [private]

Definition at line 65 of file DbiDemoData2.h.

Referenced by Compare(), Fill(), GetData(), and Store().

Int_t DbiDemoData2::fSubSystem [private]

Definition at line 64 of file DbiDemoData2.h.

Referenced by Compare(), Fill(), GetIndex(), GetSubSystem(), 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