src_files.template_class.template Class Reference

Public Member Functions

def __init__ (self, path)
 
def read_data (self)
 
def entries (self)
 
def __getitem__ (self, key)
 
def __setitem__ (self, key, value)
 

Public Attributes

 path
 
 data
 

Private Attributes

 __entries
 

Detailed Description

  Class to read a WinNet template file.

Definition at line 6 of file template_class.py.

Constructor & Destructor Documentation

◆ __init__()

def src_files.template_class.template.__init__ (   self,
  path 
)
  Initialize the template class.

Definition at line 11 of file template_class.py.

Member Function Documentation

◆ __getitem__()

def src_files.template_class.template.__getitem__ (   self,
  key 
)
  Get the value of a specific key.

Definition at line 51 of file template_class.py.

Here is the call graph for this function:

◆ __setitem__()

def src_files.template_class.template.__setitem__ (   self,
  key,
  value 
)
Set the value of a specific key.

Definition at line 59 of file template_class.py.

Here is the call graph for this function:

◆ entries()

def src_files.template_class.template.entries (   self)
  Get the entries of the template file.

Definition at line 40 of file template_class.py.

Here is the call graph for this function:

◆ read_data()

def src_files.template_class.template.read_data (   self)
  Read the data from the template file and store it in a dictionary.

Definition at line 18 of file template_class.py.

Member Data Documentation

◆ __entries

src_files.template_class.template.__entries
private

Definition at line 23 of file template_class.py.

◆ data

src_files.template_class.template.data

Definition at line 27 of file template_class.py.

◆ path

src_files.template_class.template.path

Definition at line 15 of file template_class.py.