rope.base.oi.objectdb ===================== .. py:module:: rope.base.oi.objectdb Classes ------- .. autoapisummary:: rope.base.oi.objectdb.ObjectDB rope.base.oi.objectdb.FileInfo rope.base.oi.objectdb.FileDict rope.base.oi.objectdb.ScopeInfo rope.base.oi.objectdb.CallInfo rope.base.oi.objectdb.FileListObserver Module Contents --------------- .. py:class:: ObjectDB(db, validation) .. py:attribute:: db .. py:attribute:: validation .. py:attribute:: observers :value: [] .. py:attribute:: files .. py:method:: validate_files() .. py:method:: validate_file(file) .. py:method:: file_moved(file, newfile) .. py:method:: get_files() .. py:method:: get_returned(path, key, args) .. py:method:: get_pername(path, key, name) .. py:method:: get_callinfos(path, key) .. py:method:: add_callinfo(path, key, args, returned) .. py:method:: add_pername(path, key, name, value) .. py:method:: add_file_list_observer(observer) .. py:method:: write() .. py:class:: FileInfo Bases: :py:obj:`dict` dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs dict(iterable) -> new dictionary initialized as if via: d = {} for k, v in iterable: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list. For example: dict(one=1, two=2) .. py:method:: create_scope(key) .. py:class:: FileDict Bases: :py:obj:`dict` dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs dict(iterable) -> new dictionary initialized as if via: d = {} for k, v in iterable: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list. For example: dict(one=1, two=2) .. py:method:: create(key) .. py:method:: rename(key, new_key) .. py:class:: ScopeInfo .. py:method:: get_per_name(name) .. py:method:: save_per_name(name, value) .. py:method:: get_returned(parameters) .. py:method:: get_call_infos() .. py:method:: add_call(parameters, returned) .. py:class:: CallInfo(args, returned) .. py:attribute:: args .. py:attribute:: returned .. py:method:: get_parameters() .. py:method:: get_returned() .. py:class:: FileListObserver .. py:method:: added(path) .. py:method:: removed(path)