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

API::EnumModule Class Reference

#include <python_api.h>

List of all members.

Public Methods

EnumModule & add (char *name, int value)
char * itemName (int value)
char * name ()
 operator PyObject * ()


Detailed Description

wraps a python module which is used as enum


Member Function Documentation

EnumModule& API::EnumModule::add char *    name,
int    value
 

add const with given name and value

char* API::EnumModule::itemName int    value
 

retrieves name of item

char* API::EnumModule::name   [inline]
 

retrieves name

API::EnumModule::operator PyObject *   [inline]
 

cast operator to PyObject


The documentation for this class was generated from the following file:
Generated on Wed Sep 10 03:46:24 2003 by doxygen1.2.18