#include <boost/python.hpp>
#include <string>
#include <map>
Go to the source code of this file.
Namespaces | |
namespace | OMF |
namespace | OMF::Python |
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. |