/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 | Static Public Attributes | Properties
vgroup::VF Class Reference

List of all members.

Public Member Functions

def __init__

Public Attributes

 type

Static Public Attributes

string xf = "SITEMASK SIMMASK SUBSITE TASK"
string qf = "SEQNO AGGREGATENO"
string tf = "TIMESTART TIMEEND INSERTDATE VERSIONDATE"
 af = xf+qf+tf
dictionary fmt = {'x':4,'q':6,'t':20,'e':6}

Properties

 as_ = property(lambda _:'%(as_)s' % _ if _.has_key('as_') else _['name'])
 asmin = property(lambda _:"min%(name)s" % _)
 asmax = property(lambda _:"max%(name)s" % _)
 asmm = property(lambda _:[_.asmin,_.asmax])
 sqlmin = property(lambda _:"min(%(name)s) as min%(name)s" % _)
 sqlmax = property(lambda _:"max(%(name)s) as max%(name)s" % _)
 sqlcol = property(lambda _:'%(name)s as %(as_)s' % _ if _.has_key('as_') else _['name'])
 sqlmm = property(lambda _:[_.sqlmin,_.sqlmax])
 fwid = property(lambda _:_.fmt[_.type])
 ffmt = property(lambda _:"%("+_.as_+")-"+str(_.fwid)+"s")
 fmin = property(lambda _:"%(min"+_['name']+")-"+str(_.fwid)+"s")
 fmax = property(lambda _:"%(max"+_['name']+")-"+str(_.fwid)+"s")
 fmtmm = property(lambda _:[_.fmin,_.fmax])
 lfm = property(lambda _:"%-" + str(_.fwid) + "s" )
 lfmt = property(lambda _:_.lfm % _.as_[:_.fwid])
 lmin = property(lambda _:_.lfm % _.asmin[:_.fwid])
 lmax = property(lambda _:_.lfm % _.asmax[:_.fwid])
 lmtmm = property(lambda _:[_.lmin,_.lmax])

Detailed Description

Validity field querying and presentation 

Definition at line 80 of file vgroup.py.


Constructor & Destructor Documentation

def vgroup::VF::__init__ (   self,
  name,
  kwa 
)

Definition at line 90 of file vgroup.py.

00091                                    :
00092         dict.__init__(self, name=name)
00093         self.update(kwa)
00094         if name in self.xf:
00095             self.type = 'x'
00096         elif name in self.qf:
00097             self.type = 'q'
00098         elif name in self.tf:
00099             self.type = 't'
00100         else:
00101             self.type = 'e'
00102             assert self['as_'], "non standard expression field names require an 'as_' specifer " 
00103         pass


Member Data Documentation

string vgroup::VF::xf = "SITEMASK SIMMASK SUBSITE TASK" [static]

Definition at line 84 of file vgroup.py.

string vgroup::VF::qf = "SEQNO AGGREGATENO" [static]

Definition at line 85 of file vgroup.py.

string vgroup::VF::tf = "TIMESTART TIMEEND INSERTDATE VERSIONDATE" [static]

Definition at line 86 of file vgroup.py.

vgroup::VF::af = xf+qf+tf [static]

Definition at line 87 of file vgroup.py.

dictionary vgroup::VF::fmt = {'x':4,'q':6,'t':20,'e':6} [static]

Definition at line 88 of file vgroup.py.

Definition at line 90 of file vgroup.py.


Property Documentation

vgroup::VF::as_ = property(lambda _:'%(as_)s' % _ if _.has_key('as_') else _['name']) [static]

Definition at line 105 of file vgroup.py.

vgroup::VF::asmin = property(lambda _:"min%(name)s" % _) [static]

Definition at line 106 of file vgroup.py.

vgroup::VF::asmax = property(lambda _:"max%(name)s" % _) [static]

Definition at line 107 of file vgroup.py.

vgroup::VF::asmm = property(lambda _:[_.asmin,_.asmax]) [static]

Definition at line 108 of file vgroup.py.

vgroup::VF::sqlmin = property(lambda _:"min(%(name)s) as min%(name)s" % _) [static]

Definition at line 111 of file vgroup.py.

vgroup::VF::sqlmax = property(lambda _:"max(%(name)s) as max%(name)s" % _) [static]

Definition at line 112 of file vgroup.py.

vgroup::VF::sqlcol = property(lambda _:'%(name)s as %(as_)s' % _ if _.has_key('as_') else _['name']) [static]

Definition at line 113 of file vgroup.py.

vgroup::VF::sqlmm = property(lambda _:[_.sqlmin,_.sqlmax]) [static]

Definition at line 114 of file vgroup.py.

vgroup::VF::fwid = property(lambda _:_.fmt[_.type]) [static]

Definition at line 117 of file vgroup.py.

vgroup::VF::ffmt = property(lambda _:"%("+_.as_+")-"+str(_.fwid)+"s") [static]

Definition at line 118 of file vgroup.py.

vgroup::VF::fmin = property(lambda _:"%(min"+_['name']+")-"+str(_.fwid)+"s") [static]

Definition at line 119 of file vgroup.py.

vgroup::VF::fmax = property(lambda _:"%(max"+_['name']+")-"+str(_.fwid)+"s") [static]

Definition at line 120 of file vgroup.py.

vgroup::VF::fmtmm = property(lambda _:[_.fmin,_.fmax]) [static]

Definition at line 121 of file vgroup.py.

vgroup::VF::lfm = property(lambda _:"%-" + str(_.fwid) + "s" ) [static]

Definition at line 124 of file vgroup.py.

vgroup::VF::lfmt = property(lambda _:_.lfm % _.as_[:_.fwid]) [static]

Definition at line 125 of file vgroup.py.

vgroup::VF::lmin = property(lambda _:_.lfm % _.asmin[:_.fwid]) [static]

Definition at line 126 of file vgroup.py.

vgroup::VF::lmax = property(lambda _:_.lfm % _.asmax[:_.fwid]) [static]

Definition at line 127 of file vgroup.py.

vgroup::VF::lmtmm = property(lambda _:[_.lmin,_.lmax]) [static]

Definition at line 128 of file vgroup.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:57:25 for DybDbi by doxygen 1.7.4