|
| | _s = ROOT.TObjString() |
| | _str = self._s.String() |
Definition at line 105 of file root_pickle.py.
◆ __init__()
| python.root_pickle.Write_Wrapper.__init__ |
( |
| self | ) |
|
Definition at line 106 of file root_pickle.py.
106 def __init__ (self):
107 self.reopen()
108
◆ getvalue()
| python.root_pickle.Write_Wrapper.getvalue |
( |
| self | ) |
|
Definition at line 129 of file root_pickle.py.
129 def getvalue (self):
130 return self._s
131
◆ reopen()
| python.root_pickle.Write_Wrapper.reopen |
( |
| self | ) |
|
Definition at line 132 of file root_pickle.py.
132 def reopen (self):
133 self._s = ROOT.TObjString()
134 self._str = self._s.String()
135 return
136
137
◆ write()
| python.root_pickle.Write_Wrapper.write |
( |
| self, |
|
|
| s ) |
Definition at line 109 of file root_pickle.py.
109 def write (self, s):
110 ss = self._str
111 log = []
112 for c in s:
113 code = c
114 if code == 0xff:
115 ss.Append (0xff)
116 ss.Append (0xfe)
117 log.append (0xff)
118 log.append (0xfe)
119 elif code == 0x00:
120 ss.Append (0xff)
121 ss.Append (0x01)
122 log.append (0xff)
123 log.append (0x01)
124 else:
125 ss.Append (code)
126 log.append (code)
127 return
128
◆ _s
| python.root_pickle.Write_Wrapper._s = ROOT.TObjString() |
|
protected |
◆ _str
| python.root_pickle.Write_Wrapper._str = self._s.String() |
|
protected |
The documentation for this class was generated from the following file: