EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FairDbOutRowStream.cxx File Reference
#include <sstream>
#include "FairDbFieldType.h"
#include "FairDbOutRowStream.h"
#include "FairDbTableMetaData.h"
#include "FairDbString.h"
#include "ValTimeStamp.h"
+ Include dependency graph for FairDbOutRowStream.cxx:

Go to the source code of this file.

Macros

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

Functions

 ClassImp (FairDbOutRowStream) FairDbOutRowStream
 

Macro Definition Documentation

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

Referenced by FairDbOutRowStream::operator<<().

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

Referenced by FairDbOutRowStream::operator<<().

Function Documentation

ClassImp ( FairDbOutRowStream  )

Definition at line 10 of file FairDbOutRowStream.cxx.

View newest version in sPHENIX GitHub at line 10 of file FairDbOutRowStream.cxx