/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 | Public Attributes | Properties
DybPython::dbsvn::VChk Class Reference

List of all members.

Public Member Functions

def __init__
def __call__
def __repr__

Public Attributes

 vld

Properties

 voffset = property(lambda self:self.vld['VERSIONDATE'].datetime - self.vld['TIMESTART'].datetime )
 minoff = property(lambda self:float(total_seconds(self.voffset))/60.)

Detailed Description

Duplicated from DybDbi test_overlay as serverside checking has to be standalone

these checks assume that updates within a context  share the same TIMESTART, see #868

Definition at line 354 of file dbsvn.py.


Constructor & Destructor Documentation

def DybPython::dbsvn::VChk::__init__ (   self,
  vld 
)

Definition at line 360 of file dbsvn.py.

00361                            :
        self.vld = vld

Member Function Documentation

def DybPython::dbsvn::VChk::__call__ (   self)

Definition at line 364 of file dbsvn.py.

00365                       :
00366         mo = self.minoff
00367         if mo < 0:
00368             self.append( "negative minoff %s " % ( mo ))
00369         if float(int(mo)) != float(mo):
00370             self.append( "non integral minoff %s " % ( mo ) )
00371         if int(mo) > 100:
00372             self.append( "minoff expected to be small %s " % ( mo ) )
        return self
def DybPython::dbsvn::VChk::__repr__ (   self)

Definition at line 373 of file dbsvn.py.

00374                       :
00375         return "VChk SEQNO %s TIMESTART %s VERSIONDATE %s  %s" % ( self.vld['SEQNO'], self.vld['TIMESTART'], self.vld['VERSIONDATE'] , "  \n".join(self) )
00376 
00377 
00378 


Member Data Documentation

Definition at line 360 of file dbsvn.py.


Property Documentation

DybPython::dbsvn::VChk::voffset = property(lambda self:self.vld['VERSIONDATE'].datetime - self.vld['TIMESTART'].datetime ) [static]

Definition at line 362 of file dbsvn.py.

DybPython::dbsvn::VChk::minoff = property(lambda self:float(total_seconds(self.voffset))/60.) [static]

Definition at line 363 of file dbsvn.py.


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:55:41 for DybPython by doxygen 1.7.4