# lTOC

from direct.pyinst.ltoc import lTOC

A class for managing lists of resources. Should be a UserList subclass. Doh. Like a list, but has merge(other) and filter() methods

## Inheritance:

lTOC:

## Methods of lTOC:

__init__
addFilter
filter
merge
prepend
toList
unique

__init__ def __init__(self, reslist=None, filters=None) Undocumented function.

addFilter def addFilter(self, filter) Undocumented function.

filter def filter(self) invoke all filters

merge def merge(self, other) merge in another ltoc, discarding dups and preserving order

prepend def prepend(self, res) Undocumented function.

toList def toList(self) return self as a list of (name, path, typ)

unique def unique(self) remove all duplicate entries, preserving order