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 220 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 231 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 247 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 264 of file check-style.py.
References check-style.PatchChunk.__lines.
Referenced by check-style.PatchChunk.dst_len().
def check-style.PatchChunk.dst_len | ( | self | ) |
Get number of destinaton lines.
self | The current class |
Definition at line 280 of file check-style.py.
References FlameRtableTest.dst, HwmpRtableTest.dst, ns3::dot11s::HwmpProtocol::QueuedPacket.dst, check-style.PatchChunk.dst(), and ns3::ofi::SwitchPacketMetadata.dst.
Referenced by check-style.PatchChunk.write().
check-style.PatchChunk.src | ( | self | ) |
Get source lines.
source
self | The current class |
Definition at line 254 of file check-style.py.
References check-style.PatchChunk.__lines.
Referenced by check-style.PatchChunk.src_len().
def check-style.PatchChunk.src_len | ( | self | ) |
Get number of source lines.
self | The current class |
Definition at line 274 of file check-style.py.
References ns3::dot11s::HwmpProtocol::QueuedPacket.src, check-style.PatchChunk.src(), and ns3::ofi::SwitchPacketMetadata.src.
Referenced by check-style.PatchChunk.write().
def check-style.PatchChunk.src_start | ( | self | ) |
Source start function.
self | this object |
Definition at line 241 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 286 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().
|
private |
destination position
Definition at line 240 of file check-style.py.
Referenced by check-style.PatchChunk.write().
|
private |
list of lines
Definition at line 238 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 239 of file check-style.py.
Referenced by check-style.PatchChunk.src_start(), and check-style.PatchChunk.write().