A Discrete-Event Network Simulator
API
Public Member Functions | Private Attributes | List of all members
check-style.Patch Class Reference

Patch class. More...

Public Member Functions

def __init__ (self)
 Initializer. More...
 
def add_chunk (self, chunk)
 Add chunk. More...
 
def apply (self, filename)
 Apply function. More...
 
def chunks (self)
 Get the chunks. More...
 
def set_dst (self, dst)
 Set destination. More...
 
def set_src (self, src)
 Set source. More...
 
def write (self, f)
 Write to file. More...
 

Private Attributes

 __chunks
 chunks More...
 
 __dst
 destination More...
 
 __src
 source More...
 

Detailed Description

Patch class.

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

Constructor & Destructor Documentation

◆ __init__()

def check-style.Patch.__init__ (   self)

Initializer.

Parameters
selfThe current class
Returns
none

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

Member Function Documentation

◆ add_chunk()

def check-style.Patch.add_chunk (   self,
  chunk 
)

Add chunk.

Parameters
selfthis object
chunkchunk
Returns
none

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

References check-style.Patch.__chunks.

◆ apply()

def check-style.Patch.apply (   self,
  filename 
)

Apply function.

Parameters
selfThe current class
filenamefile name
Returns
none

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

◆ chunks()

def check-style.Patch.chunks (   self)

Get the chunks.

Parameters
selfThe current class
Returns
the chunks

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

References check-style.Patch.__chunks.

◆ set_dst()

def check-style.Patch.set_dst (   self,
  dst 
)

Set destination.

Parameters
selfthis object
dstdestintion
Returns
none

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

References check-style.Patch.__dst.

◆ set_src()

def check-style.Patch.set_src (   self,
  src 
)

Set source.

Parameters
selfthis object
srcsource
Returns
none

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

References check-style.Patch.__src.

◆ write()

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

Write to file.

Parameters
selfThe current class
fthe file
Returns
none

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

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

Member Data Documentation

◆ __chunks

check-style.Patch.__chunks
private

chunks

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

Referenced by check-style.Patch.add_chunk(), and check-style.Patch.chunks().

◆ __dst

check-style.Patch.__dst
private

destination

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

Referenced by check-style.Patch.set_dst().

◆ __src

check-style.Patch.__src
private

source

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

Referenced by check-style.Patch.set_src().


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