improvement of 2d-filter custom shader,
[blender.git] / source / gameengine / Expressions / Value.h
index d49c8debfdcbe75d70244e9ece03bc9b7126f2e3..bcf231cf4f0bd71679f18c7bbc1e924c0533a45c 100644 (file)
@@ -184,6 +184,7 @@ public:
 
 
 
+
 #ifndef NO_EXP_PYTHON_EMBEDDING
 #include "PyObjectPlus.h"
 #include "object.h"
@@ -252,6 +253,8 @@ public:
        virtual int                             _delattr(const STR_String& attr);
        virtual int                             _setattr(const STR_String& attr,PyObject* value);
        
+       virtual PyObject* ConvertKeysToPython( void );
+       
        KX_PYMETHOD(CValue,GetName);
 
 #else
@@ -283,6 +286,7 @@ public:
        STR_String                      GetPropertyText(const STR_String & inName,const STR_String& deftext="");                                                // Get text description of property with name <inName>, returns an empty string if there is no property named <inName>
        float                           GetPropertyNumber(const STR_String& inName,float defnumber);
        virtual bool            RemoveProperty(const STR_String & inName);                                              // Remove the property named <inName>, returns true if the property was succesfully removed, false if property was not found or could not be removed
+       virtual vector<STR_String>      GetPropertyNames();
        virtual void            ClearProperties();                                                                              // Clear all properties
 
        virtual void            SetPropertiesModified(bool inModified);                                 // Set all properties' modified flag to <inModified>
@@ -339,7 +343,7 @@ protected:
        virtual void            DisableRefCount();                                                                              // Disable reference counting for this value
        virtual void            AddDataToReplica(CValue* replica);                                              
        virtual                         ~CValue();
-private:                                                                                                                                               
+private:
        // Member variables                                                                                                                     
        std::map<STR_String,CValue*>*           m_pNamedPropertyArray;                                                                  // Properties for user/game etc
        ValueFlags                      m_ValFlags;                                                                                             // Frequently used flags in a bitfield (low memoryusage)