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 *) |
|
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. |