carputils
Doxygen code documentation for the python framework controlling openCARP
Public Member Functions | Static Public Member Functions | List of all members
carputils.cml.cmltree.CMLDictOperations Class Reference

Class defining dictionary operations. More...

Public Member Functions

def __init__ (self)
 Method to initialize a CMLDictOperations object. More...
 

Static Public Member Functions

def flatten (obj)
 Flatten dictionaries recursively. More...
 

Detailed Description

Class defining dictionary operations.

Constructor & Destructor Documentation

◆ __init__()

def carputils.cml.cmltree.CMLDictOperations.__init__ (   self)

Method to initialize a CMLDictOperations object.

Member Function Documentation

◆ flatten()

def carputils.cml.cmltree.CMLDictOperations.flatten (   obj)
static

Flatten dictionaries recursively.

This method flattens dictionaries of the type OrderedDict recursively.

Parameters
objroot dictionary
Returns
A flattened dictionary of the type OrderedDict

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