Пример #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