CMS 3D CMS Logo

Classes | Functions

ConfigToolBase Namespace Reference

Classes

class  ConfigToolBase
class  parameter

Functions

def new_SortedKeysDict__copy__
def new_SortedKeysDict__deepcopy__

Function Documentation

def ConfigToolBase::new_SortedKeysDict__copy__ (   self)

Definition at line 11 of file ConfigToolBase.py.

00012                                     :
00013     return self.__class__(self)
00014 dicttypes.SortedKeysDict.__copy__ = new_SortedKeysDict__copy__

def ConfigToolBase::new_SortedKeysDict__deepcopy__ (   self,
  memo = None 
)

Definition at line 15 of file ConfigToolBase.py.

00016                                                    :
00017     from copy import deepcopy
00018     if memo is None:
00019         memo = {}
00020     d = memo.get(id(self), None)
00021     if d is not None:
00022         return d
00023     memo[id(self)] = d = self.__class__()
00024     d.__init__(deepcopy(self.items(), memo))
00025     return d
00026 dicttypes.SortedKeysDict.__deepcopy__ = new_SortedKeysDict__deepcopy__
00027