slim_builder_simple Class Reference
[SLIMpy/SCons Integration]

This function is for SCons integration with SLIMpy inline inside the SConstruct file. More...

List of all members.

Public Member Functions

def __new__
def __init__
def __call__
def create

Public Attributes

 env


Detailed Description

This function is for SCons integration with SLIMpy inline inside the SConstruct file.

This is a python decorator function.

Parameters:
func must be a function with signature func( vectors, [keywords=...] )
Postcondition:
the function slim_builder_simple is similar to slim_builder except that the preamble is handled automatically.
  • all of the sources in the SCons call are converted to vectors
  • the keyword arguments are tracked as dependencies
  • the return value of func may be a vector or a sequence of vectors that are automatically set as SLIMpy targets
Returns:
a Scons Default Environment Call
Example:
     from slimproj import *
     
     @slim_builder_simple
     def MyBuilder( vectors, [keyword arguments] ):
         
         ...function body ...
         
         return results
     
     MyBuilder( 'foo.rsf', 'bar.rsf'  )
See also:
depends_on

slim_builder

Definition at line 94 of file funtion_decorators.py.


Member Function Documentation

def __new__ (   cls,
  func 
)

Definition at line 95 of file funtion_decorators.py.

def __init__ (   self,
  env 
)

Definition at line 102 of file funtion_decorators.py.

def __call__ (   self,
  func 
)

Definition at line 105 of file funtion_decorators.py.

def create (   cls,
  func,
  env = None 
)

Definition at line 109 of file funtion_decorators.py.


Member Data Documentation

env

Definition at line 103 of file funtion_decorators.py.


The documentation for this class was generated from the following file:

Generated on Sun Aug 10 09:11:09 2008 for SLIMpy by  doxygen 1.5.6