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

Value.h File Reference

#include <map>
#include "StdString.h"
#include "PyObjectPlus.h"
#include "object.h"

Go to the source code of this file.

Compounds

class  CAction
class  CPropValue
class  CValue
struct  HashableInt
struct  ValueFlags

Defines

#define assert(exp)    ((void)NULL)
#define trace(exp)    ((void)NULL)
#define debug(exp)    ((void)NULL)
#define assertd(exp)    ((void)NULL)
#define EDITOR_LEVEL_VERSION   0x06
#define KX_PYMETHOD(class_name, method_name)
 These macros are helpfull when embedding Python routines. More...

#define KX_PYMETHOD_DOC(class_name, method_name)
#define PLUGIN_DECLARE_SERIAL(class_name, root_base_class_name)

Enumerations

enum  VALUE_OPERATOR {
  VALUE_ADD_OPERATOR, VALUE_SUB_OPERATOR, VALUE_MUL_OPERATOR, VALUE_DIV_OPERATOR,
  VALUE_NEG_OPERATOR, VALUE_AND_OPERATOR, VALUE_OR_OPERATOR, VALUE_EQL_OPERATOR,
  VALUE_NEQ_OPERATOR, VALUE_GRE_OPERATOR, VALUE_LES_OPERATOR, VALUE_GEQ_OPERATOR,
  VALUE_LEQ_OPERATOR, VALUE_NOT_OPERATOR, VALUE_NO_OPERATOR
}
enum  VALUE_DATA_TYPE {
  VALUE_NO_TYPE, VALUE_INT_TYPE, VALUE_FLOAT_TYPE, VALUE_STRING_TYPE,
  VALUE_BOOL_TYPE, VALUE_ERROR_TYPE, VALUE_EMPTY_TYPE, VALUE_SOLID_TYPE,
  VALUE_COMBISOLID_TYPE, VALUE_VECTOR_TYPE, VALUE_MENU_TYPE, VALUE_ACTOR_TYPE,
  VALUE_MAX_TYPE
}


Define Documentation

#define EDITOR_LEVEL_VERSION   0x06
 

Definition at line 82 of file Value.h.

#define KX_PYMETHOD( class_name, method_name )
 

Initializer:

\
        PyObject* Py##method_name(PyObject* self, PyObject* args, PyObject* kwds); \
        static PyObject* sPy##method_name( PyObject* self, PyObject* args, PyObject* kwds) { \
                return ((class_name*) self)->Py##method_name(self, args, kwds);         \
        }; \
These macros are helpfull when embedding Python routines.

The second macro is one that also requires a documentation string

Definition at line 196 of file Value.h.

#define KX_PYMETHOD_DOC( class_name, method_name )
 

Initializer:

\
        PyObject* Py##method_name(PyObject* self, PyObject* args, PyObject* kwds); \
        static PyObject* sPy##method_name( PyObject* self, PyObject* args, PyObject* kwds) { \
                return ((class_name*) self)->Py##method_name(self, args, kwds);         \
        }; \
    static char method_name##_doc[]; \

Definition at line 202 of file Value.h.

#define PLUGIN_DECLARE_SERIAL( class_name, root_base_class_name )
 

Initializer:

\
public:                                                                                                                                                                                                 \
        virtual root_base_class_name *  Copy()                                  { return new class_name; }                                      \
        virtual bool EdSerialize(CompressorArchive& arch,class CFactoryManager* facmgr,bool bIsStoring);    \
        virtual bool EdIdSerialize(CompressorArchive& arch,class CFactoryManager* facmgr,bool bIsStoring)       \
{                                                                                                                                                                                                               \
        if (bIsStoring)                                                                                                                                                                         \
                arch.StoreString(#class_name);                                                                                                                                  \
                                                                                                                                                                                                                \
        return false;                                                                                                                                                                           \
}                                                                                                                                                                                                               \

Definition at line 393 of file Value.h.

#define assert( exp )   ((void)NULL)
 

Definition at line 52 of file Value.h.

Referenced by BL_ClearConvert(), BL_CreateSumoObjectNew(), CListValue::Calc(), CListValue::CalcFinal(), COperator2Expr::CheckLink(), CreateMaterialFromBlenderObject(), CreateShapePropsFromBlenderObject(), CExpression::~CExpression(), and SCA_LogicManager::~SCA_LogicManager().

#define assertd( exp )   ((void)NULL)
 

Definition at line 71 of file Value.h.

#define debug( exp )   ((void)NULL)
 

Definition at line 63 of file Value.h.

#define trace( exp )   ((void)NULL)
 

Definition at line 58 of file Value.h.

Referenced by CBoolValue::CBoolValue(), CErrorValue::GetReplica(), and CValue::SetProperty().


Enumeration Type Documentation

enum VALUE_DATA_TYPE
 

Enumeration values:
VALUE_NO_TYPE  
VALUE_INT_TYPE  
VALUE_FLOAT_TYPE  
VALUE_STRING_TYPE  
VALUE_BOOL_TYPE  
VALUE_ERROR_TYPE  
VALUE_EMPTY_TYPE  
VALUE_SOLID_TYPE  
VALUE_COMBISOLID_TYPE  
VALUE_VECTOR_TYPE  
VALUE_MENU_TYPE  
VALUE_ACTOR_TYPE  
VALUE_MAX_TYPE  

Definition at line 103 of file Value.h.

enum VALUE_OPERATOR
 

Enumeration values:
VALUE_ADD_OPERATOR  
VALUE_SUB_OPERATOR  
VALUE_MUL_OPERATOR  
VALUE_DIV_OPERATOR  
VALUE_NEG_OPERATOR  
VALUE_AND_OPERATOR  
VALUE_OR_OPERATOR  
VALUE_EQL_OPERATOR  
VALUE_NEQ_OPERATOR  
VALUE_GRE_OPERATOR  
VALUE_LES_OPERATOR  
VALUE_GEQ_OPERATOR  
VALUE_LEQ_OPERATOR  
VALUE_NOT_OPERATOR  
VALUE_NO_OPERATOR  

Definition at line 84 of file Value.h.


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