/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 | Protected Member Functions | Private Member Functions | Private Attributes | Friends
DbiOutRowStream Class Reference

#include <DbiOutRowStream.h>

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

List of all members.

Public Member Functions

 DbiOutRowStream (const DbiTableMetaData *metaData)
virtual ~DbiOutRowStream ()
Bool_t HasGoodData () const
const string & GetCSV () const
Bool_t IsComplete () const
DbiOutRowStreamoperator<< (Bool_t src)
DbiOutRowStreamoperator<< (Char_t src)
DbiOutRowStreamoperator<< (const Char_t *src)
DbiOutRowStreamoperator<< (Short_t src)
DbiOutRowStreamoperator<< (UShort_t src)
DbiOutRowStreamoperator<< (Int_t src)
DbiOutRowStreamoperator<< (UInt_t src)
DbiOutRowStreamoperator<< (Float_t src)
DbiOutRowStreamoperator<< (Double_t src)
DbiOutRowStreamoperator<< (const string &src)
DbiOutRowStreamoperator<< (const TimeStamp &src)
void Clear ()
virtual const DbiFieldTypeColFieldType (UInt_t col) const
virtual string ColName (UInt_t col) const
virtual const DbiFieldTypeCurColFieldType () const
virtual string CurColName () const
virtual UInt_t CurColNum () const
Bool_t HasRowCounter () const
virtual UInt_t NumCols () const
virtual string TableName () const
virtual string TableNameTc () const
virtual const DbiTableMetaDataMetaData () const
virtual void DecrementCurCol ()
virtual void IncrementCurCol ()

Protected Member Functions

virtual void ClearCurCol ()

Private Member Functions

void Store (const string &str)
Bool_t StoreDefaultIfInvalid (Dbi::DataTypes type)

Private Attributes

Bool_t fBadData
 Set KTRUE if streamed bad data.
string fCSV
 Comma separated list of values.

Friends

class DbiConfigSet

Detailed Description

Id:
DbiOutRowStream.h,v 1.11 2006/08/08 10:51:32 west Exp

Definition at line 35 of file DbiOutRowStream.h.


Constructor & Destructor Documentation

DbiOutRowStream::DbiOutRowStream ( const DbiTableMetaData metaData)
virtual DbiOutRowStream::~DbiOutRowStream ( ) [virtual]

Member Function Documentation

Bool_t DbiOutRowStream::HasGoodData ( ) const [inline]

Definition at line 47 of file DbiOutRowStream.h.

{ return ! fBadData && IsComplete(); }
const string& DbiOutRowStream::GetCSV ( ) const [inline]

Definition at line 48 of file DbiOutRowStream.h.

{ return fCSV; }
Bool_t DbiOutRowStream::IsComplete ( ) const [inline]

Definition at line 49 of file DbiOutRowStream.h.

{ return CurColNum() == NumCols()+1; }
DbiOutRowStream& DbiOutRowStream::operator<< ( Bool_t  src)
DbiOutRowStream& DbiOutRowStream::operator<< ( Char_t  src)
DbiOutRowStream& DbiOutRowStream::operator<< ( const Char_t *  src)
DbiOutRowStream& DbiOutRowStream::operator<< ( Short_t  src)
DbiOutRowStream& DbiOutRowStream::operator<< ( UShort_t  src)
DbiOutRowStream& DbiOutRowStream::operator<< ( Int_t  src)
DbiOutRowStream& DbiOutRowStream::operator<< ( UInt_t  src)
DbiOutRowStream& DbiOutRowStream::operator<< ( Float_t  src)
DbiOutRowStream& DbiOutRowStream::operator<< ( Double_t  src)
DbiOutRowStream& DbiOutRowStream::operator<< ( const string &  src)
DbiOutRowStream& DbiOutRowStream::operator<< ( const TimeStamp src)
void DbiOutRowStream::Clear ( ) [inline]

Definition at line 67 of file DbiOutRowStream.h.

{ fBadData = kFALSE; fCSV.erase(); ClearCurCol();}
void DbiOutRowStream::Store ( const string &  str) [private]
Bool_t DbiOutRowStream::StoreDefaultIfInvalid ( Dbi::DataTypes  type) [private]
virtual const DbiFieldType& DbiRowStream::ColFieldType ( UInt_t  col) const [virtual, inherited]
virtual string DbiRowStream::ColName ( UInt_t  col) const [virtual, inherited]
virtual const DbiFieldType& DbiRowStream::CurColFieldType ( ) const [virtual, inherited]
virtual string DbiRowStream::CurColName ( ) const [virtual, inherited]
virtual UInt_t DbiRowStream::CurColNum ( ) const [inline, virtual, inherited]

Definition at line 46 of file DbiRowStream.h.

{ return fCurCol;}
Bool_t DbiRowStream::HasRowCounter ( ) const [inline, inherited]

Definition at line 47 of file DbiRowStream.h.

{ return fHasRowCounter; }
virtual UInt_t DbiRowStream::NumCols ( ) const [virtual, inherited]
virtual string DbiRowStream::TableName ( ) const [virtual, inherited]
virtual string DbiRowStream::TableNameTc ( ) const [virtual, inherited]
virtual const DbiTableMetaData* DbiRowStream::MetaData ( ) const [inline, virtual, inherited]

Definition at line 52 of file DbiRowStream.h.

{ return fMetaData; }
virtual void DbiRowStream::DecrementCurCol ( ) [inline, virtual, inherited]

Definition at line 55 of file DbiRowStream.h.

                                  { 
                            fCurCol = (fCurCol <= 1) ? 1 : fCurCol -1; }
virtual void DbiRowStream::IncrementCurCol ( ) [inline, virtual, inherited]

Definition at line 59 of file DbiRowStream.h.

{ ++fCurCol; }
virtual void DbiRowStream::ClearCurCol ( ) [inline, protected, virtual, inherited]

Definition at line 63 of file DbiRowStream.h.

{ fCurCol = 1; }

Friends And Related Function Documentation

friend class DbiConfigSet [friend]

Definition at line 38 of file DbiOutRowStream.h.


Member Data Documentation

Bool_t DbiOutRowStream::fBadData [private]

Set KTRUE if streamed bad data.

Definition at line 80 of file DbiOutRowStream.h.

string DbiOutRowStream::fCSV [private]

Comma separated list of values.

Definition at line 83 of file DbiOutRowStream.h.


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

Generated on Fri May 16 2014 09:56:45 for DatabaseInterface by doxygen 1.7.4