DbiOutRowStream.cxx File Reference

#include <sstream>
#include "DatabaseInterface/DbiFieldType.h"
#include "DatabaseInterface/DbiOutRowStream.h"
#include "DatabaseInterface/DbiTableMetaData.h"
#include "LeakChecker/Lea.h"
#include "MessageService/MsgService.h"
#include "Util/UtilString.h"
#include "Validity/VldTimeStamp.h"

Go to the source code of this file.

Defines

#define OUT(t, v)
#define OUT2(t, v)

Functions

 CVSID ("$Id: DbiOutRowStream.cxx,v 1.19 2006/08/08 10:51:32 west Exp $")

Define Documentation

#define OUT ( t,
 ) 
Value:
if ( ! StoreDefaultIfInvalid(t) ) {    \
    ostringstream out;                   \
    out << setprecision(16)<< v;         \
    Store(out.str());                    \
  }                                      \

Definition at line 18 of file DbiOutRowStream.cxx.

Referenced by DbiOutRowStream::operator<<(), and DbiString::operator<<().

#define OUT2 ( t,
 ) 
Value:
const DbiFieldType& fType = this->ColFieldType(this->CurColNum());             \
  if ( fType.IsSigned() && fType.GetSize() != 8 ) {                              \
    Int_t v_signed = (Int_t) v;                                                  \
    if ( fType.GetType() == Dbi::kTiny  && v & 0x80   ) v_signed |= 0xffffff00;  \
    if ( fType.GetType() == Dbi::kShort && v & 0x8000 ) v_signed |= 0xffff0000;  \
    OUT(Dbi::kInt,v_signed); }                                                   \
  else {                                                                         \
    OUT(t,v);                                                                    \
  }                                                                              \

Definition at line 29 of file DbiOutRowStream.cxx.

Referenced by DbiOutRowStream::operator<<().


Function Documentation

CVSID ( "$Id: DbiOutRowStream.  cxx,
v 1.19 2006/08/08 10:51:32 west Exp $"   
)

Generated on 17 Jun 2018 for loon by  doxygen 1.6.1