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 230 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 241 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 256 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 273 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 289 of file check-style.py.
References ns3::dot11s::HwmpProtocol::QueuedPacket.dst, HwmpRtableTest.dst, FlameRtableTest.dst, ns3::ofi::SwitchPacketMetadata.dst, SixlowpanIphcStatefulImplTest::Data.dst, and check-style.PatchChunk.dst().
Referenced by check-style.PatchChunk.write().
check-style.PatchChunk.src | ( | self | ) |
Get source lines.
source
self | The current class |
Definition at line 263 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 283 of file check-style.py.
References ns3::dot11s::HwmpProtocol::QueuedPacket.src, ns3::ofi::SwitchPacketMetadata.src, SixlowpanIphcStatefulImplTest::Data.src, and check-style.PatchChunk.src().
Referenced by check-style.PatchChunk.write().
def check-style.PatchChunk.src_start | ( | self | ) |
Source start function.
self | this object |
Definition at line 250 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 295 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 249 of file check-style.py.
Referenced by check-style.PatchChunk.write().
|
private |
list of lines
Definition at line 247 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 248 of file check-style.py.
Referenced by check-style.PatchChunk.src_start(), and check-style.PatchChunk.write().