24 #ifndef _GEMALUA_VALUE_INFO_H_ 25 #define _GEMALUA_VALUE_INFO_H_ 40 virtual const char*
typeName()
const {
return "valueInfo"; }
59 int id (lua_State* L);
60 int description (lua_State* L);
61 int unit (lua_State* L);
62 int kind (lua_State* L);
63 int isNodeBased (lua_State* L);
64 int storageType (lua_State* L);
65 int dimType (lua_State* L);
66 int size (lua_State* L);
67 int nlin (lua_State* L);
68 int ncol (lua_State* L);
69 int isScalar (lua_State* L);
70 int defValue (lua_State* L);
71 int canStoreFunctions(lua_State* L);
72 int allocMode (lua_State* L);
73 int allocStrategy(lua_State* L);
74 int affectedNodes(lua_State* L);
75 int history (lua_State* L);
76 int setHistory (lua_State* L);
77 int ruleSet (lua_State* L);
78 int setRuleSet (lua_State* L);
79 int format (lua_State* L);
80 int setFormat (lua_State* L);
81 int constMap (lua_State* L);
82 int print (lua_State* L);
Declaration of the GmLuaObject class.
bool _ownsInfo
Are we the owner of _info?
Definition: gmLuaValueInfo.h:85
void takeOwnership()
Takes the info ownership from the proxy object.
Definition: gmLuaValueInfo.h:56
A proxy class to export GmValueInfo methods to the Lua environment.
Definition: gmLuaValueInfo.h:33
virtual const char * typeName() const
Returns the object type as will be stored in the object metatable.
Definition: gmLuaValueInfo.h:40
bool ownership() const
Returns true if the info object is owned by the proxy object.
Definition: gmLuaValueInfo.h:53
virtual void fillMetatable(lua_State *L, int index)=0
Function called by populateMetatable() to fill the metatable with exported methods by derived classes...
virtual void * getClassMetatableID()
Returns an unique identifier to identify an user object as a GmValueInfo object.
Definition: gmLuaValueInfo.h:47
void print(const GmMatrix &m, const GmLogCategory &logger, GmLogLevel level, int fieldWidth, char format, int precision)
GmValueInfo * _info
The wrapped value info object.
Definition: gmLuaValueInfo.h:84
virtual QString toString() const
Default method used by the __tostring metamethod to capture the result of tostring() over an object.
Definition: gmLuaObject.h:55
A proxy class to export object methods to the Lua environment.
Definition: gmLuaObject.h:35
GmValueInfo * info() const
Returns a pointer to the internal info object.
Definition: gmLuaValueInfo.h:50