示例#1
0
 def writeInto(self, output):
     if self._is_altered:
         self._write(output)
     else:
         return FakeField.writeInto(self, output)
示例#2
0
 def _propGetValue(self):
     if self._value is not None:
         return self._getValue()
     else:
         return FakeField._getValue(self)
示例#3
0
 def _getSize(self):
     if self._value is not None:
         return self._computeSize()
     else:
         return FakeField._getSize(self)
示例#4
0
 def __init__(self, parent, name, value=None):
     FakeField.__init__(self, parent, name)
     self._value = value
示例#5
0
 def writeInto(self, output):
     if self._is_altered:
         self._write(output)
     else:
         return FakeField.writeInto(self, output)
示例#6
0
 def _getSize(self):
     if self._value is not None:
         return self._computeSize()
     else:
         return FakeField._getSize(self)
示例#7
0
 def _propGetValue(self):
     if self._value is not None:
         return self._getValue()
     else:
         return FakeField._getValue(self)
示例#8
0
 def __init__(self, parent, name, value=None):
     FakeField.__init__(self, parent, name)
     self._value = value