Ejemplo n.º 1
0
    def __init__(self, attr_defs):
        NoteBookConnection.__init__(self)
        
        self._filename = None
        self._attr_defs = attr_defs
        self._index = None
        self._path_cache = PathCache()
        self._rootid = None

        self._index_file = None

        # attributes to not write to disk, they can be derived
        self._attr_suppress = set(["parentids", "childids"])
Ejemplo n.º 2
0
    def __init__(self):
        NoteBookConnection.__init__(self)
        
        self._filename = None
        self._index = None
        self._path_cache = PathCache()
        self._rootid = None

        self._index_file = None

        # attributes to not write to disk, they can be derived
        self._attr_suppress = set(["parentids", "childrenids"])
        self._attr_mask = maskdict.MaskDict({}, self._attr_suppress)
Ejemplo n.º 3
0
    def __init__(self):
        NoteBookConnection.__init__(self)
        
        self._filename = None
        self._index = None
        self._path_cache = PathCache()
        self._rootid = None

        self._index_file = None

        # attributes to not write to disk, they can be derived
        self._attr_suppress = set(["parentids", "childrenids"])
        self._attr_mask = maskdict.MaskDict({}, self._attr_suppress)