Xorn
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
Classes | Namespaces | Functions | Variables
clib.py File Reference

Go to the source code of this file.

Classes

class  xorn.geda.clib.DirectorySource
 Source object representing a directory of symbol files. More...
 
class  xorn.geda.clib.CommandSource
 Source object representing a pair of symbol-generating commands. More...
 

Namespaces

 xorn.geda.clib
 The component library system.
 

Functions

def xorn.geda.clib.sym_filename_filter
 Decide based on filename whether a file in a directory source is considered a symbol. More...
 
def xorn.geda.clib.add_source
 Add a component source to the library. More...
 
def xorn.geda.clib.lookup_source
 Get a component source by name. More...
 
def xorn.geda.clib.uniquify_source_name
 Make sure a source name is unique. More...
 
def xorn.geda.clib.refresh
 Rescan all available component libraries. More...
 
def xorn.geda.clib.reset
 Remove all component library sources. More...
 
def xorn.geda.clib.get_symbol
 Get symbol object for a given source object and symbol name. More...
 
def xorn.geda.clib.invalidate_symbol_data
 Invalidate cached data about a symbol. More...
 
def xorn.geda.clib.search
 Find all symbols matching a pattern. More...
 
def xorn.geda.clib.lookup_symbol_source
 Get source for a given symbol name. More...
 
def xorn.geda.clib.lookup_symbol
 Get symbol object for a given symbol name. More...
 
def xorn.geda.clib.used_symbols0
 Return a list of symbols used in a revision. More...
 
def xorn.geda.clib.used_symbols1
 Return a list of symbols used in a revision. More...
 

Variables

tuple xorn.geda.clib.Source = collections.namedtuple('Source', ['callback', 'symbols', 'name'])
 Named tuple class for storing data about a particular component source. More...
 
list xorn.geda.clib._sources = []
 List of source triples for all known component sources. More...
 
dictionary xorn.geda.clib._search_cache = {}
 Cache for search results of search. More...
 
dictionary xorn.geda.clib._symbol_cache = {}
 Symbol data cache. More...
 
 xorn.geda.clib.load_pixmaps = False
 Whether to load pixmaps referenced by symbols. More...