A Discrete-Event Network Simulator
API
check-style.PatchChunkLine Class Reference

PatchChunkLine class. More...

+ Collaboration diagram for check-style.PatchChunkLine:

Public Member Functions

def __init__ (self)
 Initializer. More...
 
def append_to_line (self, s)
 Append to line. More...
 
def is_dst (self)
 Is destination. More...
 
def is_src (self)
 Is source. More...
 
def line (self)
 Get line. More...
 
def set_both (self, line)
 Set both. More...
 
def set_dst (self, line)
 Set destination. More...
 
def set_src (self, line)
 Set source. More...
 
def write (self, f)
 Write to file. More...
 

Static Public Attributes

int BOTH = 3
 Both. More...
 
int DST = 2
 Destination. More...
 
int SRC = 1
 Source. More...
 

Private Attributes

 __line
 line More...
 
 __type
 type More...
 

Detailed Description

PatchChunkLine class.

Definition at line 145 of file check-style.py.

Constructor & Destructor Documentation

◆ __init__()

def check-style.PatchChunkLine.__init__ (   self)

Initializer.

Parameters
selfThe current class

Definition at line 159 of file check-style.py.

Member Function Documentation

◆ append_to_line()

def check-style.PatchChunkLine.append_to_line (   self,
  s 
)

Append to line.

Parameters
selfThe current class
sline to append
Returns
none

Definition at line 189 of file check-style.py.

References check-style.PatchChunkLine.__line.

◆ is_dst()

def check-style.PatchChunkLine.is_dst (   self)

Is destination.

Parameters
selfThe current class
Returns
true if type is destination

Definition at line 208 of file check-style.py.

References check-style.PatchChunkLine.__type, ns3::LteRrcSap::ReportConfigEutra.BOTH, check-style.PatchChunkLine.BOTH, and check-style.PatchChunkLine.DST.

◆ is_src()

def check-style.PatchChunkLine.is_src (   self)

Is source.

Parameters
selfThe current class
Returns
true if type is source

Definition at line 202 of file check-style.py.

References check-style.PatchChunkLine.__type, ns3::LteRrcSap::ReportConfigEutra.BOTH, check-style.PatchChunkLine.BOTH, and check-style.PatchChunkLine.SRC.

◆ line()

def check-style.PatchChunkLine.line (   self)

Get line.

Parameters
selfThe current class
Returns
line

Definition at line 196 of file check-style.py.

References check-style.PatchChunkLine.__line.

◆ set_both()

def check-style.PatchChunkLine.set_both (   self,
  line 
)

Set both.

Parameters
selfThe current class
line
Returns
none

Definition at line 181 of file check-style.py.

References check-style.PatchChunkLine.__line, check-style.PatchChunkLine.__type, ns3::LteRrcSap::ReportConfigEutra.BOTH, and check-style.PatchChunkLine.BOTH.

◆ set_dst()

def check-style.PatchChunkLine.set_dst (   self,
  line 
)

Set destination.

Parameters
selfThe current class
linedestination line
Returns
none

Definition at line 173 of file check-style.py.

References check-style.PatchChunkLine.__line, check-style.PatchChunkLine.__type, and check-style.PatchChunkLine.DST.

◆ set_src()

def check-style.PatchChunkLine.set_src (   self,
  line 
)

Set source.

Parameters
selfThe current class
linesource line
Returns
none

Definition at line 165 of file check-style.py.

References check-style.PatchChunkLine.__line, check-style.PatchChunkLine.__type, and check-style.PatchChunkLine.SRC.

◆ write()

def check-style.PatchChunkLine.write (   self,
  f 
)

Write to file.

Parameters
selfThe current class
ffile
Returns
exception if invalid type

Definition at line 214 of file check-style.py.

References check-style.PatchChunkLine.__line, check-style.PatchChunkLine.__type, ns3::LteRrcSap::ReportConfigEutra.BOTH, check-style.PatchChunkLine.BOTH, check-style.PatchChunkLine.DST, and check-style.PatchChunkLine.SRC.

Referenced by visualizer.ipython_view.IPythonView.onKeyPressExtend().

+ Here is the caller graph for this function:

Member Data Documentation

◆ __line

◆ __type

◆ BOTH

check-style.PatchChunkLine.BOTH = 3
static

◆ DST

check-style.PatchChunkLine.DST = 2
static

◆ SRC

check-style.PatchChunkLine.SRC = 1
static

The documentation for this class was generated from the following file: