carputils
Doxygen code documentation for the python framework controlling openCARP
Public Member Functions | List of all members
carputils.settings.paths.PathSettingsNamespace Class Reference

Modified namespace with extra error handling for paths. More...

Inheritance diagram for carputils.settings.paths.PathSettingsNamespace:
carputils.settings.namespace.SettingsNamespace

Public Member Functions

def __init__ (self, missing_error=True)
 
def __getattr__ (self, attr)
 
- Public Member Functions inherited from carputils.settings.namespace.SettingsNamespace
def __init__ (self, missing_error=True, errortype=AttributeError)
 
def get (self, key, fallback=None)
 Get an item without raising errors when missing, like dict().get() More...
 
def __getattr__ (self, attr)
 Custom attribute access code providing case-insensitivity. More...
 
def __getitem__ (self, key)
 Allow object to be used like dict. More...
 
def __setattr__ (self, attr, value)
 Custom attribute access code providing case-insensitivity and order logging. More...
 
def __setitem__ (self, key, value)
 Allow object to be used like dict. More...
 
def __iter__ (self)
 Return iterator over settings. More...
 
def __str__ (self)
 

Detailed Description

Modified namespace with extra error handling for paths.

Constructor & Destructor Documentation

◆ __init__()

def carputils.settings.paths.PathSettingsNamespace.__init__ (   self,
  missing_error = True 
)

Member Function Documentation

◆ __getattr__()

def carputils.settings.paths.PathSettingsNamespace.__getattr__ (   self,
  attr 
)

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