Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members


Detailed Description

If you're wondering why you're looking at a Python namespace specifically inside the OMF, just pretend that you aren't. I'm using this namespace to provide inter-module communication between otherwise isolated Python modules. In otherwords, I'm not cross-linking otherwise dependant libraries. Those resources are shared here.

It might also be worth noting that I'm NOT actually linking either boost or python because of this file. How am I getting away with this? Easy... I'm not invoking any methods and I'm treating the pointer values as opaque.


Classes

struct  OMF::Python::FactoryMap

Typedefs

typedef std::pair< unsigned,
PyObject * >(* 
FactoryMethod )(ModelObject *)


Typedef Documentation

typedef std::pair<unsigned, PyObject *>(* OMF::Python::FactoryMethod)(ModelObject *)
 

A simple factory method type. Methods of this type are used to instantiate and return Python objects. The integer in the return value is a unique identifier for the Python object. For example, it could be the hash code of the returned object.


Generated on Fri Sep 10 13:07:38 2004 for OpenModelingFramework by doxygen 1.3.8