DbiResultSet.cxx File Reference

#include <sstream>
#include "DatabaseInterface/DbiFieldType.h"
#include "DatabaseInterface/DbiResultSet.h"
#include "DatabaseInterface/DbiString.h"
#include "DatabaseInterface/DbiStatement.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 IN(t)   istringstream in(AsString(t)); in
#define IN2(t, m)
#define IN3(t)

Functions

 CVSID ("$Id: DbiResultSet.cxx,v 1.40 2007/07/05 11:36:05 west Exp $")

Define Documentation

#define IN (  )     istringstream in(AsString(t)); in

Definition at line 128 of file DbiResultSet.cxx.

Referenced by DbiResultSet::operator>>().

#define IN2 ( t,
 ) 
Value:
int col = CurColNum()-1;                  \
  if ( CurRowNum() == 0 ) {                 \
    istringstream in(AsString(t));          \
    in >> dest;                             \
  }                                         \
  else {                                    \
    dest = fTSQLStatement->m(col);          \
    IncrementCurCol();                      \
  }                                         \

Definition at line 133 of file DbiResultSet.cxx.

Referenced by DbiResultSet::operator>>().

#define IN3 (  ) 
Value:
int col = this->CurColNum()-1;                                      \
const DbiFieldType& fType = this->ColFieldType(col+1);              \
if ( fType.GetSize() == 8 ) {                                       \
  dest=fTSQLStatement->GetUInt(col);                                \
}                                                                   \
else {                                                              \
  t dest_signed;                                                    \
  *this >> dest_signed;                                             \
  dest = dest_signed;                                               \
  if ( fType.GetSize() == 1 ) dest &= 0xff;                         \
  if ( fType.GetSize() == 2 ) dest &= 0xffff;                       \
  if ( fType.GetSize() == 4 ) dest &= 0xffffffff;                   \
}\

Definition at line 153 of file DbiResultSet.cxx.

Referenced by DbiResultSet::operator>>().


Function Documentation

CVSID ( "$Id: DbiResultSet.  cxx,
v 1.40 2007/07/05 11:36:05 west Exp $"   
)

Generated on 17 Jun 2018 for loon by  doxygen 1.6.1