Package libconfix :: Package plugins :: Package c :: Module dependency :: Class Provide_CInclude
[show private | hide private]
[frames | no frames]

Class Provide_CInclude

Marshallable --+        
               |        
         Provide --+    
                   |    
      Provide_String --+
                       |
                      Provide_CInclude


Method Summary
  __init__(self, filename, match)
  __str__(self)
  can_match_classes(self)
  get_marshalling_data(self)
Return marshalling data for my attributes.
  set_marshalling_data(self, data)
(To be documented)...
    Inherited from Provide_String
  is_equal(self, other)
  match(self)
  resolve(self, req)
Can self resolve the requirement?...
  string(self)
  update(self, other)
    Inherited from Marshallable
  __getstate__(self)
  __setstate__(self, data)

Class Variable Summary
int AUTO_MATCH = 3                                                                     
int EXACT_MATCH = 0                                                                     
int GLOB_MATCH = 2                                                                     
list MATCH_CLASSES = [<class libconfix.plugins.c.dependency.R...
int PREFIX_MATCH = 1                                                                     
    Inherited from Marshallable
str ATTRIBUTES = 'attributes'
str GENERATING_CLASS = 'generating_class'
str VERSIONS = 'versions'

Method Details

get_marshalling_data(self)

Return marshalling data for my attributes.

To be implemented by derived classes.

The returned marshalling data is a dictionary object that
contains relatively anonymous data which represents the object
to be marshalled. The dictionary is composed by derived
classes and must look as follows:

::

   {
      'generating_class': <class object of generating object>,
      'versions': <versions of contributions>,
      'attributes': <dictionary with direct attributes key/value pairs>,
   }

Called indirectly by `__getstate__`.
Overrides:
libconfix.core.machinery.provide_string.Provide_String.get_marshalling_data (inherited documentation)

set_marshalling_data(self, data)

(To be documented)
Overrides:
libconfix.core.machinery.provide_string.Provide_String.set_marshalling_data (inherited documentation)

Class Variable Details

AUTO_MATCH

Type:
int
Value:
3                                                                     

EXACT_MATCH

Type:
int
Value:
0                                                                     

GLOB_MATCH

Type:
int
Value:
2                                                                     

MATCH_CLASSES

Type:
list
Value:
[<class libconfix.plugins.c.dependency.Require_CInclude at 0x403cf20c>\
]                                                                      

PREFIX_MATCH

Type:
int
Value:
1                                                                     

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