/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
DaqRawDataFileInfo Class Reference

#include <DaqRawDataFileInfo.h>

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

List of all members.

Public Member Functions

 DaqRawDataFileInfo ()
 DaqRawDataFileInfo (const DaqRawDataFileInfo &from)
virtual ~DaqRawDataFileInfo ()
Bool_t CanL2Cache () const
Bool_t Compare (const DaqRawDataFileInfo &that) const
int GetRunNo () const
int GetFileNo () const
string GetFileName () const
string GetStreamType () const
string GetStream () const
string GetFileState () const
int GetFileSize () const
string GetCheckSum () const
string GetTransferState () 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

int m_RunNo
int m_FileNo
string m_FileName
string m_StreamType
string m_Stream
string m_FileState
int m_FileSize
string m_CheckSum
string m_TransferState

Detailed Description

Definition at line 12 of file DaqRawDataFileInfo.h.


Constructor & Destructor Documentation

DaqRawDataFileInfo::DaqRawDataFileInfo ( ) [inline]

Definition at line 16 of file DaqRawDataFileInfo.h.

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

Definition at line 18 of file DaqRawDataFileInfo.h.

    : DbiTableRow(from) {  *this = from; }
virtual DaqRawDataFileInfo::~DaqRawDataFileInfo ( ) [inline, virtual]

Definition at line 28 of file DaqRawDataFileInfo.h.

{  };

Member Function Documentation

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

Reimplemented from DbiTableRow.

Definition at line 32 of file DaqRawDataFileInfo.h.

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

Definition at line 34 of file DaqRawDataFileInfo.h.

                                                        {
                return      m_RunNo            == that.m_RunNo
                       &&   m_FileNo           == that.m_FileNo
                       &&   m_FileName         == that.m_FileName
                       &&   m_StreamType       == that.m_StreamType
                       &&   m_Stream           == that.m_Stream
                       &&   m_FileState        == that.m_FileState
                       &&   m_FileSize         == that.m_FileSize 
                       &&   m_CheckSum         == that.m_CheckSum
                  &&   m_TransferState    == that.m_TransferState;
   }
int DaqRawDataFileInfo::GetRunNo ( ) const [inline]

Definition at line 47 of file DaqRawDataFileInfo.h.

{ return m_RunNo; }
int DaqRawDataFileInfo::GetFileNo ( ) const [inline]

Definition at line 48 of file DaqRawDataFileInfo.h.

{ return m_FileNo; }
string DaqRawDataFileInfo::GetFileName ( ) const [inline]

Definition at line 49 of file DaqRawDataFileInfo.h.

{ return m_FileName; }
string DaqRawDataFileInfo::GetStreamType ( ) const [inline]

Definition at line 50 of file DaqRawDataFileInfo.h.

{ return m_StreamType; }
string DaqRawDataFileInfo::GetStream ( ) const [inline]

Definition at line 51 of file DaqRawDataFileInfo.h.

{ return m_Stream; }
string DaqRawDataFileInfo::GetFileState ( ) const [inline]

Definition at line 52 of file DaqRawDataFileInfo.h.

{ return m_FileState; }
int DaqRawDataFileInfo::GetFileSize ( ) const [inline]

Definition at line 53 of file DaqRawDataFileInfo.h.

{ return m_FileSize; }
string DaqRawDataFileInfo::GetCheckSum ( ) const [inline]

Definition at line 54 of file DaqRawDataFileInfo.h.

{ return m_CheckSum;}
string DaqRawDataFileInfo::GetTransferState ( ) const [inline]

Definition at line 55 of file DaqRawDataFileInfo.h.

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

Implements DbiTableRow.

Definition at line 57 of file DaqRawDataFileInfo.h.

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

Implements DbiTableRow.

Definition at line 13 of file DaqRawDataFileInfo.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 == "RUNNO"    )           rs >> m_RunNo;
      else if ( colName == "FILENO" )             rs >> m_FileNo;
      else if ( colName == "FILENAME" )           rs >> m_FileName;
      else if ( colName == "STREAMTYPE" )         rs >> m_StreamType;
      else if ( colName == "STREAM" )             rs >> m_Stream;
      else if ( colName == "FILESTATE" )          rs >> m_FileState;
      else if ( colName == "FILESIZE" )           rs >> m_FileSize;
      else if ( colName == "CHECKSUM" )           rs >> m_CheckSum;
      else if ( colName == "TRANSFERSTATE" )      rs >> m_TransferState;
      else {
        LOG(dbi,Logging::kDebug1) << "Ignoring column " << curCol 
                               << "(" << colName << ")"
                              << "; not part of DaqRawDataFileInfo" << std::endl;
        rs.IncrementCurCol();
      }
    }
    
}
void DaqRawDataFileInfo::Store ( DbiOutRowStream ors,
const DbiValidityRec vrec 
) const [virtual]

Reimplemented from DbiTableRow.

Definition at line 39 of file DaqRawDataFileInfo.cc.


Member Data Documentation

Definition at line 70 of file DaqRawDataFileInfo.h.

Definition at line 71 of file DaqRawDataFileInfo.h.

Definition at line 72 of file DaqRawDataFileInfo.h.

Definition at line 73 of file DaqRawDataFileInfo.h.

string DaqRawDataFileInfo::m_Stream [private]

Definition at line 74 of file DaqRawDataFileInfo.h.

Definition at line 75 of file DaqRawDataFileInfo.h.

Definition at line 76 of file DaqRawDataFileInfo.h.

Definition at line 77 of file DaqRawDataFileInfo.h.

Definition at line 78 of file DaqRawDataFileInfo.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:56:59 for DbiRawDataFileSvc by doxygen 1.7.4