PatchChunk class. More...
| Public Member Functions | |
| def | __init__ (self, src_pos, dst_pos) | 
| Initializer.  More... | |
| def | add_line (self, line) | 
| Add line function.  More... | |
| def | dst (self) | 
| Get destination lines.  More... | |
| def | dst_len (self) | 
| Get number of destinaton lines.  More... | |
| def | src (self) | 
| Get source lines.  More... | |
| def | src_len (self) | 
| Get number of source lines.  More... | |
| def | src_start (self) | 
| Source start function.  More... | |
| def | write (self, f) | 
| Write lines to file.  More... | |
| Private Attributes | |
| __dst_pos | |
| destination position  More... | |
| __lines | |
| list of lines  More... | |
| __src_pos | |
| source position  More... | |
PatchChunk class.
Definition at line 231 of file check-style.py.
| def check-style.PatchChunk.__init__ | ( | self, | |
| src_pos, | |||
| dst_pos | |||
| ) | 
Initializer.
| self | this object | 
| src_pos | source position | 
| dst_pos | destination position | 
Definition at line 242 of file check-style.py.
| def check-style.PatchChunk.add_line | ( | self, | |
| line | |||
| ) | 
Add line function.
| self | The current class | 
| line | line to add | 
Definition at line 258 of file check-style.py.
References check-style.PatchChunk.__lines.
| check-style.PatchChunk.dst | ( | self | ) | 
Get destination lines.
destination
| self | The current class | 
Definition at line 275 of file check-style.py.
References check-style.PatchChunk.__lines.
Referenced by check-style.PatchChunk.dst_len().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| def check-style.PatchChunk.dst_len | ( | self | ) | 
Get number of destinaton lines.
| self | The current class | 
Definition at line 291 of file check-style.py.
References SixlowpanIphcStatefulImplTest::Data.dst, FlameRtableTest.dst, HwmpRtableTest.dst, ns3::dot11s::HwmpProtocol::QueuedPacket.dst, check-style.PatchChunk.dst(), and ns3::ofi::SwitchPacketMetadata.dst.
Referenced by check-style.PatchChunk.write().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| check-style.PatchChunk.src | ( | self | ) | 
Get source lines.
source
| self | The current class | 
Definition at line 265 of file check-style.py.
References check-style.PatchChunk.__lines.
Referenced by check-style.PatchChunk.src_len().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| def check-style.PatchChunk.src_len | ( | self | ) | 
Get number of source lines.
| self | The current class | 
Definition at line 285 of file check-style.py.
References SixlowpanIphcStatefulImplTest::Data.src, ns3::dot11s::HwmpProtocol::QueuedPacket.src, check-style.PatchChunk.src(), and ns3::ofi::SwitchPacketMetadata.src.
Referenced by check-style.PatchChunk.write().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| def check-style.PatchChunk.src_start | ( | self | ) | 
Source start function.
| self | this object | 
Definition at line 252 of file check-style.py.
References check-style.PatchChunk.__src_pos.
| def check-style.PatchChunk.write | ( | self, | |
| f | |||
| ) | 
Write lines to file.
| self | The current class | 
| f | file to write to | 
Definition at line 297 of file check-style.py.
References check-style.PatchChunk.__dst_pos, check-style.PatchChunk.__lines, check-style.PatchChunk.__src_pos, check-style.PatchChunk.dst_len(), and check-style.PatchChunk.src_len().
Referenced by visualizer.ipython_view.IPythonView.onKeyPressExtend().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | private | 
destination position
Definition at line 251 of file check-style.py.
Referenced by check-style.PatchChunk.write().
| 
 | private | 
list of lines
Definition at line 249 of file check-style.py.
Referenced by check-style.PatchChunk.add_line(), check-style.PatchChunk.dst(), check-style.PatchChunk.src(), and check-style.PatchChunk.write().
| 
 | private | 
source position
Definition at line 250 of file check-style.py.
Referenced by check-style.PatchChunk.src_start(), and check-style.PatchChunk.write().