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

PyObjectPlus.h File Reference

#include "Python.h"

Go to the source code of this file.

Compounds

class  PyObjectPlus

Defines

#define _adr_py_lib_h_
#define Py_NEWARGS   1
#define Py_Return   Py_INCREF(Py_None); return Py_None;
#define Py_Error(E, M)    {PyErr_SetString(E, M); return NULL;}
#define Py_Try(F)    {if (!(F)) return NULL;}
#define Py_Assert(A,E,M)    {if (!(A)) {PyErr_SetString(E, M); return NULL;}}
#define Py_Header
#define _getattr_up(Parent)

Typedefs

typedef PyTypeObject* PyParentObject

Functions

void Py_Fatal (char *M)


Define Documentation

#define Py_Assert( A, E, M )   {if (!(A)) {PyErr_SetString(E, M); return NULL;}}
 

Definition at line 22 of file PyObjectPlus.h.

#define Py_Error( E, M )   {PyErr_SetString(E, M); return NULL;}
 

Definition at line 20 of file PyObjectPlus.h.

Referenced by PyObjectPlus::_repr(), and listvalue_buffer_item().

#define Py_Header
 

Initializer:

\
 public: \
  static PyTypeObject   Type; \
  static PyMethodDef    Methods[]; \
  static PyParentObject Parents[]; \
  virtual PyTypeObject *GetType(void) {return &Type;}; \
  virtual PyParentObject *GetParents(void) {return Parents;}

Definition at line 31 of file PyObjectPlus.h.

#define Py_NEWARGS   1
 

Definition at line 17 of file PyObjectPlus.h.

#define Py_Return   Py_INCREF(Py_None); return Py_None;
 

Definition at line 18 of file PyObjectPlus.h.

#define Py_Try( F )   {if (!(F)) return NULL;}
 

Definition at line 21 of file PyObjectPlus.h.

Referenced by EmbeddedClass::PyMake(), and PyObjectPlus::Py_isA().

#define _adr_py_lib_h_
 

Definition at line 4 of file PyObjectPlus.h.

#define _getattr_up( Parent )
 

Initializer:

\
  PyObject *rvalue = Py_FindMethod(Methods, this, attr); \
  if (rvalue == NULL) \
    { \
      PyErr_Clear(); \
      return Parent::_getattr(attr); \
    } \
  else \
    return rvalue

Definition at line 42 of file PyObjectPlus.h.

Referenced by CValue::_getattr(), SCA_ReplaceMeshActuator::_getattr(), SCA_RandomSensor::_getattr(), SCA_RandomActuator::_getattr(), SCA_PropertySensor::_getattr(), SCA_PropertyActuator::_getattr(), SCA_ORController::_getattr(), SCA_MouseSensor::_getattr(), SCA_KeyboardSensor::_getattr(), SCA_ISensor::_getattr(), SCA_IObject::_getattr(), SCA_ILogicBrick::_getattr(), SCA_EndObjectActuator::_getattr(), SCA_ANDController::_getattr(), SCA_AlwaysSensor::_getattr(), SCA_AddObjectActuator::_getattr(), CListValue::_getattr(), KX_TrackToActuator::_getattr(), KX_TouchSensor::_getattr(), KX_SoundActuator::_getattr(), KX_SceneActuator::_getattr(), KX_RaySensor::_getattr(), SCA_PythonController::_getattr(), KX_ObjectActuator::_getattr(), KX_NearSensor::_getattr(), KX_IpoActuator::_getattr(), KX_GameObject::_getattr(), KX_ConstraintActuator::_getattr(), KX_CameraActuator::_getattr(), EmbeddedClass::_getattr(), and DebugActuator::_getattr().


Typedef Documentation

typedef PyTypeObject* PyParentObject
 

Definition at line 56 of file PyObjectPlus.h.


Function Documentation

void Py_Fatal ( char * M ) [inline]
 

Definition at line 24 of file PyObjectPlus.h.


Generated at Thu Feb 1 13:03:22 2001 for Ketsji Game Engine by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000