Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.stsci.edu/spst/UnixTransition/doc/prd_file_tree.html
Дата изменения: Fri Apr 8 12:46:15 2016
Дата индексирования: Mon Apr 11 02:47:34 2016
Кодировка:

Поисковые слова: п п п п п п п п п п п п
Python: module prd_file_tree
 
 
prd_file_tree (version 01/28/04)
index
prd_file_tree.py

PURPOSE --
 Main class for PRD file elements organized by Subsystem (specific
 uvm_library).
  A list of PRD elements that make up a PRD file are sorted by
   subsystem. This allows the PRD file organization to have
   all the elements for a given subsystem together in alphabetical
   order.   
 
 
DEVELOPER --
K. Clark
 
MODIFICATION HISTORY --
 
o Initial implementation 6/ 6/02
o Update  8/ 4/03 KWC - Reorganized from prd_file.py.
o Update 11/ 7/03 KWC - list_subs now returns an ordered list. Changed
                         module name to build_prd_files.
o Update 12/30/03 RSK - Added getting tags for a collection

 
Modules
       
collection_data
copy
os
prd_dir_tree
prd_element
prd_subsystem
re
string
sys

 
Classes
       
prd_file_tree

 
class prd_file_tree
     Methods defined here:
__init__(self, prd_lib_name, PRDUVM_root_dir, collection_id)
Creates a new PRD file object.
 
Input parameters:
   PRD Library name = Main PRDUVM directory name for this file 
                        type (ie: plcp_ops).
   Dir tree list    = PRDUVM directory tree list of the elements
                       needed for this PRD file type.
   Collection id    = Collection id
append_sub(self, dir_name, subsys_obj)
Append a new subsytem object to this file.
find_subs_dir(self, subsystem_name)
Return the directory name if the requested subsystem name exists.
find_subs_name(self, element_name)
Return the subsystem name if an element name matches.
get_element_list(self, collection_id=None, tag_id=None)
Generate a sorted list of elements in this PRD file.
get_sub(self, dir_name)
Returns a subsystem object.
get_subsystem_tag(self, subsystem_name)
Return the tag for this subsystem given an collection name.
group_by_subsystem(self, PRDUVM_root_dir)
Goes through a PRDUVM directory tree and creates new subsystem
  objects with the files in the subsystem directory.
Makes note of the location of the PRD FD record.
have_all_subsys_in_library(self)
Checks if all the subsystems listed in the database are in
the uvm library.
list_subs(self)
Returns a sorted list of subsystems.
merge_dir_tree_list(self, new_dir_tree_list)
Merge a list of PRD PRDUVM files into the current file list
by either merging a matched element into an existing subsystem
or by creating a new "UPDATES" subsystem.
merge_file_objs(self, new_file_obj)
Merge the new file object into the current file listing by
either merging elements into an existing subsystem or creating
a new subsystem.
print_list(self)
Print out all the subsystems and elements in this file.

Data and other attributes defined here:
re_subs_order = <_sre.SRE_Pattern object>
re_ver_chk = <_sre.SRE_Pattern object>
re_ver_split = <_sre.SRE_Pattern object>

 
Data
        __version__ = '01/28/04'
debug_flag = 0