Xfem
The Xfem Plugin
Loading...
Searching...
No Matches
XfemLuaElement Class Reference

A proxy class to export XfemElement methods to the Lua environment. More...

#include <xfemLuaElement.h>

Inheritance diagram for XfemLuaElement:
Collaboration diagram for XfemLuaElement:

Public Member Functions

 XfemLuaElement (XfemElement *elem, const GmLogCategory &logger)
 Constructor.
 
virtual const char * typeName () const
 
virtual void fillMetatable (lua_State *L, int index)
 Prepares the object metatable for calling methods.
 
virtual void * getClassMetatableID ()
 Returns an unique identifier to identify an user object as a XfemLuaElement object.
 
- Public Member Functions inherited from GmLuaElement
 GmLuaElement (GmElement *elem, const GmLogCategory &logger)
 
- Public Member Functions inherited from GmLuaCell
 GmLuaCell (GmCell *cell, const GmLogCategory &logger)
 
virtual QString toString () const
 
GmCellcell () const
 
- Public Member Functions inherited from GmLuaObject
virtual void populateMetatable (lua_State *L, int index)
 
QVariant ptrToVariant ()
 
void ref ()
 

Private Member Functions

int enriched (lua_State *L)
 Returns true if the element has been enriched, false otherwise.
 

Additional Inherited Members

- Protected Member Functions inherited from GmLuaCell
void parseFillMatrixParameters (lua_State *L, GmValueAccessor **nodeAc, GmValueAccessor **uAc, int *index, bool *transposed, GmCellFillMode *mode, const char *fname)
 
void parseSizeMethodParameters (lua_State *L, GmValueAccessor **nodeAc, GmLuaMatrix **XProxy, int *index, GmCellGeometryMode *mode, const char *fname)
 
- Protected Member Functions inherited from GmLuaObject
 GmLuaObject (const GmLogCategory &logger)
 
- Protected Attributes inherited from GmLuaCell
int _cellId
 
GmCellMesh_mesh
 
- Protected Attributes inherited from GmLuaObject
const GmLogCategory_logger
 
QAtomicInteger< int > _refCount
 

Detailed Description

A proxy class to export XfemElement methods to the Lua environment.

Member Function Documentation

◆ fillMetatable()

void XfemLuaElement::fillMetatable ( lua_State * L,
int index )
virtual

Prepares the object metatable for calling methods.

Reimplemented from GmLuaElement.

◆ getClassMetatableID()

virtual void * XfemLuaElement::getClassMetatableID ( )
inlinevirtual

Returns an unique identifier to identify an user object as a XfemLuaElement object.

Reimplemented from GmLuaElement.

◆ typeName()

virtual const char * XfemLuaElement::typeName ( ) const
inlinevirtual

Reimplemented from GmLuaElement.


The documentation for this class was generated from the following files: