A class to contain the actual nif data.
Note that L{header} and L{blocks} are not automatically kept
in sync with the rest of the nif data, but they are
resynchronized when calling L{write}.
    | 
       
     | 
      
        
          __init__(self,
        version=67108866,
        user_version=0,
        user_version2=0) 
      Initialize nif data. | 
          
            source code
            
           | 
         
       
      
     | 
  
    | 
       
     | 
      
      
     | 
  
    | 
       
     | 
      
      
     | 
  
    | 
       
     | 
      
      
     | 
  
    | 
       
     | 
      
      
     | 
  
    | 
       
     | 
      
      
     | 
  
    | 
       
     | 
      
      
     | 
  
    | 
       
     | 
      
        
          inspect_version_only(self,
        stream) 
      This function checks the version only, and is faster
than the usual inspect function (which reads the full
header). | 
          
            source code
            
           | 
         
       
      
     | 
  
    | 
       
     | 
      
        
          get_global_child_nodes(self,
        edge_filter=(True, True)) 
      Generator which yields all children of this item in the
global view, of given edge type (default is edges of type 0). | 
          
            source code
            
           | 
         
       
      
     | 
  
    | 
       
     | 
      
      
     | 
  
    | 
      generator yielding DetailNodes
     | 
      
        
          get_detail_child_nodes(self,
        edge_filter=(True, True)) 
      Generator which yields all children of this item in the
detail view (by default, all acyclic and active ones). | 
          
            source code
            
           | 
         
       
      
     | 
  
    | 
      generator yielding strs
     | 
      
      
     | 
  
    | 
       
     | 
      
        
          inspect(self,
        stream) 
      Quickly checks whether the stream appears to contain
nif data, and read the nif header. | 
          
            source code
            
           | 
         
       
      
     | 
  
    | 
       
     | 
      
      
     | 
  
    | 
       
     | 
      
      
     | 
  
    | 
       
     | 
      
        
          _makeBlockList(self,
        root,
        block_index_dct,
        block_type_list,
        block_type_dct) 
      This is a helper function for write to set up the list of all blocks,
the block index map, and the block type map. | 
          
            source code
            
           | 
         
       
      
     | 
  
  
    | 
     Inherited from utils.graph.GlobalNode:
      get_global_child_edge_types,
      get_global_display,
      get_global_iterator
       
    Inherited from utils.graph.DetailNode:
      get_detail_child_edge_types,
      get_detail_display,
      get_detail_iterator
       
    Inherited from object:
      __delattr__,
      __format__,
      __getattribute__,
      __hash__,
      __new__,
      __reduce__,
      __reduce_ex__,
      __repr__,
      __setattr__,
      __sizeof__,
      __str__,
      __subclasshook__
       
     |