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

Python.hpp File Reference

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


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:33 2004 for OpenModelingFramework by doxygen 1.3.8