Package libconfix :: Package plugins :: Package c :: Module base :: Class CBaseBuilder
[show private | hide private]
[frames | no frames]

Type CBaseBuilder

object --+            
         |            
   Builder --+        
             |        
  EntryBuilder --+    
                 |    
       FileBuilder --+
                     |
                    CBaseBuilder

Known Subclasses:
CompiledCBuilder, HeaderBuilder

Method Summary
  __init__(self, file)
  dependency_info(self)
  iface_pieces(self)
  initialize(self, package)
Initialize the builder object; called once in an object's lifetime.
    Inherited from FileBuilder
  file(self)
    Inherited from EntryBuilder
  __str__(self)
  entry(self)
  locally_unique_id(self)
A unique, opaque identifier that is supposed to distinguish this builder from its brothers in the same directory.
    Inherited from Builder
  add_buildinfo(self, b)
  add_internal_provide(self, p)
  add_provide(self, p)
  add_require(self, r)
  base_dependency_info_called(self)
  base_enlarge_called(self)
  base_output_called(self)
  base_relate_called(self)
  buildinfos(self)
  enlarge(self)
  force_enlarge(self)
Force one more round.
  force_enlarge_count(self)
  is_initialized(self)
See initialize().
  node(self)
  output(self)
  package(self)
  parentbuilder(self)
  relate(self, node, digraph, topolist)
  set_parentbuilder(self, parentbuilder)
  shortname(self)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name...
  __getattribute__(...)
x.__getattribute__('name') <==> x.name...
  __hash__(x)
x.__hash__() <==> hash(x)...
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T...
  __reduce__(...)
helper for pickle...
  __reduce_ex__(...)
helper for pickle...
  __repr__(x)
x.__repr__() <==> repr(x)...
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value...

Class Variable Summary
SRE_Pattern re_confix = //\s*CONFIX:([^\r\n]*)

Method Details

initialize(self, package)

Initialize the builder object; called once in an object's
lifetime.

The base class implementation does nothing but remembering the
package. Derived classes may implement something complicated
like parsing their file's content for confix calls, or
searching for C++ namespace definitions, or whatnot.

It a derived class implements this method, however, it must
make sure that it hands the call upwards the inheritance
chain; else, it won't see the package being set.
Overrides:
libconfix.core.machinery.builder.Builder.initialize (inherited documentation)

Class Variable Details

re_confix

Type:
SRE_Pattern
Value:
//\s*CONFIX:([^\r\n]*)                                                 

Generated by Epydoc 2.1 on Fri Nov 23 16:56:34 2007 http://epydoc.sf.net