| Trees | Index | Help |
|---|
| Package libconfix :: Package core :: Package machinery :: Module require_string :: Class Require_String |
|
Marshallable--+ |Require--+ | Require_String
Require_Callable,
Require_CInclude,
Require_IDL,
Require_Symbol,
RequireRelocatedHeader| Method Summary | |
|---|---|
__init__(self,
string,
found_in,
urgency)
| |
found_in(self)
| |
Return marshalling data for my attributes. | |
is_equal(self,
other)
| |
(To be documented)... | |
string(self)
| |
When multiple equivalent Require objects are added to the same module, this adds unnecessary (and sometimes considerable) overhead to the resolving process. | |
| Inherited from Require | |
| |
| |
| |
| Inherited from Marshallable | |
| |
| |
| Class Variable Summary | |
|---|---|
| Inherited from Require | |
int |
URGENCY_DEFAULT = 0 |
int |
URGENCY_DONTCARE = 0 |
int |
URGENCY_ERROR = 2 |
int |
URGENCY_IGNORE = 0 |
int |
URGENCY_WARN = 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__`.
|
set_marshalling_data(self, data)(To be documented)
|
update(self, r)When multiple equivalent Require objects are added to the same module, this adds unnecessary (and sometimes considerable) overhead to the resolving process. This method is an attempt to collapse r with self. @rtype: boolean @return: A boolean that indicates whether the objects could be collapsed.
|
| Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Fri Nov 23 16:56:35 2007 | http://epydoc.sf.net |