Package libconfix :: Package core :: Package machinery :: Module buildinfo :: Class BuildInformation
[show private | hide private]
[frames | no frames]

Class BuildInformation

Marshallable --+
               |
              BuildInformation

Known Subclasses:
BuildInfo_ACInclude_m4, BuildInfo_CFLAGS, BuildInfo_CIncludePath_External, BuildInfo_CIncludePath_NativeInstalled, BuildInfo_CIncludePath_NativeLocal, BuildInfo_CLibrary_External, BuildInfo_CLibrary_NativeInstalled, BuildInfo_CLibrary_NativeLocal, BuildInfo_CommandlineMacros, BuildInfo_Configure_in, BuildInfo_CXXFLAGS, BuildInfo_IDL_Native

Method Summary
  __init__(self)
  get_marshalling_data(self)
Return marshalling data for my attributes.
  install(self)
  set_marshalling_data(self, data)
(To be documented)...
  unique_key(self)
Unique key to easily determine object equivalence.
    Inherited from Marshallable
  __getstate__(self)
  __setstate__(self, data)

Class Variable Summary
    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.repo.marshalling.Marshallable.get_marshalling_data (inherited documentation)

set_marshalling_data(self, data)

(To be documented)
Overrides:
libconfix.core.repo.marshalling.Marshallable.set_marshalling_data (inherited documentation)

unique_key(self)

Unique key to easily determine object equivalence. Used to
index BuildInformation objects, and to eventually sort out
duplicates.

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