|
| | _s = ROOT.TObjString() |
| | _str = self._s.String() |
Definition at line 109 of file root_pickle.py.
◆ __init__()
| python.root_pickle.Write_Wrapper.__init__ |
( |
| self | ) |
|
Definition at line 110 of file root_pickle.py.
110 def __init__ (self):
111 self.reopen()
112
◆ getvalue()
| python.root_pickle.Write_Wrapper.getvalue |
( |
| self | ) |
|
Definition at line 133 of file root_pickle.py.
133 def getvalue (self):
134 return self._s
135
◆ reopen()
| python.root_pickle.Write_Wrapper.reopen |
( |
| self | ) |
|
Definition at line 136 of file root_pickle.py.
136 def reopen (self):
137 self._s = ROOT.TObjString()
138 self._str = self._s.String()
139 return
140
141
◆ write()
| python.root_pickle.Write_Wrapper.write |
( |
| self, |
|
|
| s ) |
Definition at line 113 of file root_pickle.py.
113 def write (self, s):
114 ss = self._str
115 log = []
116 for c in s:
117 code = c
118 if code == 0xff:
119 ss.Append (0xff)
120 ss.Append (0xfe)
121 log.append (0xff)
122 log.append (0xfe)
123 elif code == 0x00:
124 ss.Append (0xff)
125 ss.Append (0x01)
126 log.append (0xff)
127 log.append (0x01)
128 else:
129 ss.Append (code)
130 log.append (code)
131 return
132
◆ _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: