/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 | Static Public Member Functions | Static Public Attributes | Private Attributes
DbiCtx Class Reference

#include <DbiCtx.h>

Collaboration diagram for DbiCtx:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 DbiCtx ()
 DbiCtx (const char *str)
void SetDefaults ()
virtual ~DbiCtx ()
int Update (const char *str)
DbiSqlContextMakeIntervalContext (DbiSqlContext::IntervalType ity=DbiSqlContext::kWithin)
const ContextGetContext ()
const TimeStampGetTimeStamp ()
SimFlag::SimFlag_t GetSimFlag ()
Site::Site_t GetSite ()
DetectorId::DetectorId_t GetDetectorId ()
void SetContext (const Context &context)
void SetTimeStamp (const TimeStamp &ts)
void SetSimFlag (SimFlag::SimFlag_t flag)
void SetSite (Site::Site_t site)
void SetDetectorId (DetectorId::DetectorId_t det)
Dbi::SubSite GetSubSite ()
Dbi::Task GetTask ()
Dbi::AbortTest GetAbortTest ()
Bool_t GetFindFullTimeWindow ()
Bool_t GetTimeStartFlooredVersionDate ()
Bool_t GetRequireUniqueVersionDate ()
UInt_t GetUniqueVersionDateSiteMask ()
UInt_t GetUniqueVersionDateSimMask ()
void SetSubSite (Dbi::SubSite subsite)
void SetTask (Dbi::Task task)
void SetAbortTest (Dbi::AbortTest abortTest)
void SetFindFullTimeWindow (Bool_t findFullTimeWindow)
void SetTimeStartFlooredVersionDate (Bool_t timeStartFlooredVersionDate)
void SetRequireUniqueVersionDate (Bool_t requireUniqueVersionDate)
void SetUniqueVersionDateSiteMask (UInt_t uniqueVersionDateSiteMask)
void SetUniqueVersionDateSimMask (UInt_t uniqueVersionDateSimMask)
void SetSeqNo (int seqNo)
void SetDbNo (int dbNo)
void SetSqlContext (const DbiSqlContext &sqlContext)
void SetSqlContext (const std::string &ssqlContext)
void SetDataSql (const std::string &dataSql)
void SetDataFillOpts (const std::string &dataFillOpts)
void SetValidityRec (const DbiValidityRec &validityRec)
void SetTableName (const std::string &tableName)
void SetDbName (const std::string &dbName)
void SetLogComment (const std::string &logComment)
void SetVersionDate (const TimeStamp &versionDate)
int GetSeqNo ()
int GetDbNo ()
const DbiSqlContextGetSqlContext ()
const std::string & GetDataSql ()
const std::string & GetDataFillOpts ()
const DbiValidityRecGetValidityRec ()
const std::string & GetTableName ()
const std::string & GetDbName ()
const std::string & GetLogComment ()
const TimeStampGetVersionDate ()
const ContextRangeGetContextRange ()
TimeStamp GetTimeStart ()
TimeStamp GetTimeEnd ()
int GetSiteMask ()
int GetSimMask ()
int GetAggNo ()
void SetContextRange (const ContextRange &range)
void SetTimeStart (const TimeStamp &tstart)
void SetTimeEnd (const TimeStamp &tend)
void SetSiteMask (int siteMask)
void SetSimMask (int simMask)
void SetAggNo (int aggNo)
Bool_t IsSet (int mask)
Bool_t IsValid ()
void LogMask (int needmask)
int GetMask ()
int GetUpdateMask ()
int GetCtorMask ()
void SetMask (int mask)
void SetUpdateMask (int mask)
void SetCtorMask (int mask)
void RegisterCreation (const char *msg)
void RegisterFail (const char *msg)
std::string AsString ()

Static Public Member Functions

static Dbi::AbortTest AbortTest_FromString (const char *str)
static Dbi::Task Task_FromString (const char *str)
static Dbi::SubSite SubSite_FromString (const char *str)
static Bool_t FindFullTimeWindow_FromString (const char *str)
static TimeStamp TimeStamp_FromString (const char *str)
static int SiteMask_FromString (const char *str)
static int SimMask_FromString (const char *str)
static int int_FromString (const char *str)
static Bool_t Bool_FromString (const char *str)
static std::string ObjName (const char *pfx, const char *cls)
static std::string MaskAsString (int msk)

Static Public Attributes

static const char * Docstring

Private Attributes

std::string m_class
Context m_context
Dbi::SubSite m_subsite
Dbi::Task m_task
Dbi::AbortTest m_abortTest
Bool_t m_findFullTimeWindow
Bool_t m_timeStartFlooredVersionDate
Bool_t m_requireUniqueVersionDate
UInt_t m_uniqueVersionDateSiteMask
UInt_t m_uniqueVersionDateSimMask
ContextRange m_contextRange
int m_aggNo
int m_seqNo
int m_dbNo
DbiSqlContext m_sqlContext
std::string m_dataSql
std::string m_dataFillOpts
DbiValidityRec m_validityRec
std::string m_tableName
std::string m_dbName
std::string m_logComment
TimeStamp m_versionDate
int m_mask
int m_update
int m_ctor

Detailed Description

Definition at line 33 of file DbiCtx.h.


Constructor & Destructor Documentation

DbiCtx::DbiCtx ( )
DbiCtx::DbiCtx ( const char *  str)
virtual DbiCtx::~DbiCtx ( ) [virtual]

Member Function Documentation

void DbiCtx::SetDefaults ( )
int DbiCtx::Update ( const char *  str)
DbiSqlContext* DbiCtx::MakeIntervalContext ( DbiSqlContext::IntervalType  ity = DbiSqlContext::kWithin)
static Dbi::AbortTest DbiCtx::AbortTest_FromString ( const char *  str) [static]
static Dbi::Task DbiCtx::Task_FromString ( const char *  str) [static]
static Dbi::SubSite DbiCtx::SubSite_FromString ( const char *  str) [static]
static Bool_t DbiCtx::FindFullTimeWindow_FromString ( const char *  str) [static]
static TimeStamp DbiCtx::TimeStamp_FromString ( const char *  str) [static]
static int DbiCtx::SiteMask_FromString ( const char *  str) [static]
static int DbiCtx::SimMask_FromString ( const char *  str) [static]
static int DbiCtx::int_FromString ( const char *  str) [static]
static Bool_t DbiCtx::Bool_FromString ( const char *  str) [static]
static std::string DbiCtx::ObjName ( const char *  pfx,
const char *  cls 
) [static]
const Context& DbiCtx::GetContext ( ) [inline]

Definition at line 66 of file DbiCtx.h.

{     return m_context ; }
const TimeStamp& DbiCtx::GetTimeStamp ( ) [inline]

Definition at line 67 of file DbiCtx.h.

{ return m_context.GetTimeStamp() ; }
SimFlag::SimFlag_t DbiCtx::GetSimFlag ( ) [inline]

Definition at line 68 of file DbiCtx.h.

{ return m_context.GetSimFlag() ; }
Site::Site_t DbiCtx::GetSite ( ) [inline]

Definition at line 69 of file DbiCtx.h.

{       return m_context.GetSite() ; }
DetectorId::DetectorId_t DbiCtx::GetDetectorId ( ) [inline]

Definition at line 70 of file DbiCtx.h.

{ return m_context.GetDetId() ; }
void DbiCtx::SetContext ( const Context context)
void DbiCtx::SetTimeStamp ( const TimeStamp ts)
void DbiCtx::SetSimFlag ( SimFlag::SimFlag_t  flag)
void DbiCtx::SetSite ( Site::Site_t  site)
void DbiCtx::SetDetectorId ( DetectorId::DetectorId_t  det)
Dbi::SubSite DbiCtx::GetSubSite ( ) [inline]

Definition at line 102 of file DbiCtx.h.

{ return m_subsite ; }
Dbi::Task DbiCtx::GetTask ( ) [inline]

Definition at line 103 of file DbiCtx.h.

{     return m_task ; }
Dbi::AbortTest DbiCtx::GetAbortTest ( ) [inline]

Definition at line 104 of file DbiCtx.h.

{ return m_abortTest ; }
Bool_t DbiCtx::GetFindFullTimeWindow ( ) [inline]

Definition at line 105 of file DbiCtx.h.

{ return m_findFullTimeWindow ; }
Bool_t DbiCtx::GetTimeStartFlooredVersionDate ( ) [inline]

Definition at line 107 of file DbiCtx.h.

Bool_t DbiCtx::GetRequireUniqueVersionDate ( ) [inline]

Definition at line 108 of file DbiCtx.h.

UInt_t DbiCtx::GetUniqueVersionDateSiteMask ( ) [inline]

Definition at line 109 of file DbiCtx.h.

UInt_t DbiCtx::GetUniqueVersionDateSimMask ( ) [inline]

Definition at line 110 of file DbiCtx.h.

void DbiCtx::SetSubSite ( Dbi::SubSite  subsite)
void DbiCtx::SetTask ( Dbi::Task  task)
void DbiCtx::SetAbortTest ( Dbi::AbortTest  abortTest)
void DbiCtx::SetFindFullTimeWindow ( Bool_t  findFullTimeWindow)
void DbiCtx::SetTimeStartFlooredVersionDate ( Bool_t  timeStartFlooredVersionDate)
void DbiCtx::SetRequireUniqueVersionDate ( Bool_t  requireUniqueVersionDate)
void DbiCtx::SetUniqueVersionDateSiteMask ( UInt_t  uniqueVersionDateSiteMask)
void DbiCtx::SetUniqueVersionDateSimMask ( UInt_t  uniqueVersionDateSimMask)
void DbiCtx::SetSeqNo ( int  seqNo)
void DbiCtx::SetDbNo ( int  dbNo)
void DbiCtx::SetSqlContext ( const DbiSqlContext sqlContext)
void DbiCtx::SetSqlContext ( const std::string &  ssqlContext)
void DbiCtx::SetDataSql ( const std::string &  dataSql)
void DbiCtx::SetDataFillOpts ( const std::string &  dataFillOpts)
void DbiCtx::SetValidityRec ( const DbiValidityRec validityRec)
void DbiCtx::SetTableName ( const std::string &  tableName)
void DbiCtx::SetDbName ( const std::string &  dbName)
void DbiCtx::SetLogComment ( const std::string &  logComment)
void DbiCtx::SetVersionDate ( const TimeStamp versionDate)
int DbiCtx::GetSeqNo ( ) [inline]

Definition at line 136 of file DbiCtx.h.

{ return m_seqNo ; }
int DbiCtx::GetDbNo ( ) [inline]

Definition at line 137 of file DbiCtx.h.

{  return m_dbNo  ; }
const DbiSqlContext& DbiCtx::GetSqlContext ( ) [inline]

Definition at line 138 of file DbiCtx.h.

{ return m_sqlContext ; }
const std::string& DbiCtx::GetDataSql ( ) [inline]

Definition at line 139 of file DbiCtx.h.

{ return m_dataSql ; }
const std::string& DbiCtx::GetDataFillOpts ( ) [inline]

Definition at line 140 of file DbiCtx.h.

{ return m_dataFillOpts ; }
const DbiValidityRec& DbiCtx::GetValidityRec ( ) [inline]

Definition at line 141 of file DbiCtx.h.

{ return m_validityRec ; }
const std::string& DbiCtx::GetTableName ( ) [inline]

Definition at line 142 of file DbiCtx.h.

{ return m_tableName ; }
const std::string& DbiCtx::GetDbName ( ) [inline]

Definition at line 143 of file DbiCtx.h.

{ return m_dbName ; }  
const std::string& DbiCtx::GetLogComment ( ) [inline]

Definition at line 144 of file DbiCtx.h.

{ return m_logComment ; }
const TimeStamp& DbiCtx::GetVersionDate ( ) [inline]

Definition at line 145 of file DbiCtx.h.

{ return m_versionDate ; }  
const ContextRange& DbiCtx::GetContextRange ( ) [inline]

Definition at line 151 of file DbiCtx.h.

{ return m_contextRange ; }
TimeStamp DbiCtx::GetTimeStart ( ) [inline]

Definition at line 152 of file DbiCtx.h.

TimeStamp DbiCtx::GetTimeEnd ( ) [inline]

Definition at line 153 of file DbiCtx.h.

{   return m_contextRange.GetTimeEnd() ;  }
int DbiCtx::GetSiteMask ( ) [inline]

Definition at line 154 of file DbiCtx.h.

{               return m_contextRange.GetSiteMask() ; }
int DbiCtx::GetSimMask ( ) [inline]

Definition at line 155 of file DbiCtx.h.

{                return m_contextRange.GetSimMask() ; }
int DbiCtx::GetAggNo ( ) [inline]

Definition at line 156 of file DbiCtx.h.

{   return m_aggNo ; }
void DbiCtx::SetContextRange ( const ContextRange range)
void DbiCtx::SetTimeStart ( const TimeStamp tstart)
void DbiCtx::SetTimeEnd ( const TimeStamp tend)
void DbiCtx::SetSiteMask ( int  siteMask)
void DbiCtx::SetSimMask ( int  simMask)
void DbiCtx::SetAggNo ( int  aggNo)
Bool_t DbiCtx::IsSet ( int  mask)
Bool_t DbiCtx::IsValid ( )
void DbiCtx::LogMask ( int  needmask)
int DbiCtx::GetMask ( ) [inline]

Definition at line 172 of file DbiCtx.h.

{  return m_mask ; }           // settings (not necessarily changes)
int DbiCtx::GetUpdateMask ( ) [inline]

Definition at line 173 of file DbiCtx.h.

{  return m_update ; }   // changes
int DbiCtx::GetCtorMask ( ) [inline]

Definition at line 174 of file DbiCtx.h.

{  return m_ctor ; }   
void DbiCtx::SetMask ( int  mask) [inline]

Definition at line 176 of file DbiCtx.h.

{ m_mask = mask ; }
void DbiCtx::SetUpdateMask ( int  mask) [inline]

Definition at line 177 of file DbiCtx.h.

{ m_update = mask ; }
void DbiCtx::SetCtorMask ( int  mask) [inline]

Definition at line 178 of file DbiCtx.h.

{ m_ctor = mask ; }
void DbiCtx::RegisterCreation ( const char *  msg)
void DbiCtx::RegisterFail ( const char *  msg)
std::string DbiCtx::AsString ( )
static std::string DbiCtx::MaskAsString ( int  msk) [static]

Member Data Documentation

const char* DbiCtx::Docstring [static]

Definition at line 62 of file DbiCtx.h.

std::string DbiCtx::m_class [private]

Definition at line 188 of file DbiCtx.h.

Definition at line 190 of file DbiCtx.h.

Definition at line 191 of file DbiCtx.h.

Definition at line 192 of file DbiCtx.h.

Definition at line 193 of file DbiCtx.h.

Bool_t DbiCtx::m_findFullTimeWindow [private]

Definition at line 194 of file DbiCtx.h.

Definition at line 196 of file DbiCtx.h.

Definition at line 197 of file DbiCtx.h.

Definition at line 198 of file DbiCtx.h.

Definition at line 199 of file DbiCtx.h.

Definition at line 201 of file DbiCtx.h.

int DbiCtx::m_aggNo [private]

Definition at line 202 of file DbiCtx.h.

int DbiCtx::m_seqNo [private]

Definition at line 203 of file DbiCtx.h.

int DbiCtx::m_dbNo [private]

Definition at line 204 of file DbiCtx.h.

Definition at line 206 of file DbiCtx.h.

std::string DbiCtx::m_dataSql [private]

Definition at line 207 of file DbiCtx.h.

std::string DbiCtx::m_dataFillOpts [private]

Definition at line 208 of file DbiCtx.h.

Definition at line 209 of file DbiCtx.h.

std::string DbiCtx::m_tableName [private]

Definition at line 210 of file DbiCtx.h.

std::string DbiCtx::m_dbName [private]

Definition at line 211 of file DbiCtx.h.

std::string DbiCtx::m_logComment [private]

Definition at line 212 of file DbiCtx.h.

Definition at line 213 of file DbiCtx.h.

int DbiCtx::m_mask [private]

Definition at line 216 of file DbiCtx.h.

int DbiCtx::m_update [private]

Definition at line 217 of file DbiCtx.h.

int DbiCtx::m_ctor [private]

Definition at line 218 of file DbiCtx.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:57:24 for DybDbi by doxygen 1.7.4