GeNN  3.3.0
GPU enhanced Neuronal Networks (GeNN)
generate_swig_interfaces.SwigExtendScope Class Reference
Inheritance diagram for generate_swig_interfaces.SwigExtendScope:

Public Member Functions

def __init__ (self, ofs, classToExtend)
 Adds extend block. More...
 
def __enter__ (self)
 
def __exit__ (self, exc_type, exc_value, traceback)
 

Public Attributes

 os
 
 classToExtend
 

Constructor & Destructor Documentation

◆ __init__()

def generate_swig_interfaces.SwigExtendScope.__init__ (   self,
  ofs,
  classToExtend 
)

Adds extend block.

The code within extend classToExtend { } block is used to add functionality to classes without touching the original implementation

Member Function Documentation

◆ __enter__()

def generate_swig_interfaces.SwigExtendScope.__enter__ (   self)

◆ __exit__()

def generate_swig_interfaces.SwigExtendScope.__exit__ (   self,
  exc_type,
  exc_value,
  traceback 
)

Member Data Documentation

◆ classToExtend

generate_swig_interfaces.SwigExtendScope.classToExtend

◆ os

generate_swig_interfaces.SwigExtendScope.os

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