/*
** Lua binding: Representations
** Generated automatically by tolua++-1.0.92 on Fri Feb 21 16:26:13 2014.
*/

#ifndef __cplusplus
#include "stdlib.h"
#endif
#include "string.h"

#include "components/lua/tolua++.h"

/* Exported function */
TOLUA_API int  tolua_Representations_open (lua_State* tolua_S);

#include "../../RepresentationBase.h"
#include "../../SingleAdapterRepresentationBase.h"
#include "../../CheckboxRepresentation.h"
#include "../../ComboboxRepresentation.h"
#include "../../EditboxRepresentation.h"
#include "../../LayoutHelper.h"
#include "../../SliderRepresentation.h"

/* function to release collected object via destructor */
#ifdef __cplusplus

static int tolua_collect_Ember__OgreView__Gui__Representations__ComboboxRepresentation_varconf__Variable_std__string_ (lua_State* tolua_S)
{
 Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,std::string>* self = (Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,std::string>*) tolua_tousertype(tolua_S,1,0);
	Mtolua_delete(self);
	return 0;
}

static int tolua_collect_Ember__OgreView__Gui__Representations__ComboboxRepresentation_Atlas__Message__Element_std__string_ (lua_State* tolua_S)
{
 Ember::OgreView::Gui::Representations::ComboboxRepresentation<Atlas::Message::Element,std::string>* self = (Ember::OgreView::Gui::Representations::ComboboxRepresentation<Atlas::Message::Element,std::string>*) tolua_tousertype(tolua_S,1,0);
	Mtolua_delete(self);
	return 0;
}

static int tolua_collect_Ember__OgreView__Gui__Representations__SliderRepresentation_varconf__Variable_ (lua_State* tolua_S)
{
 Ember::OgreView::Gui::Representations::SliderRepresentation<varconf::Variable>* self = (Ember::OgreView::Gui::Representations::SliderRepresentation<varconf::Variable>*) tolua_tousertype(tolua_S,1,0);
	Mtolua_delete(self);
	return 0;
}

static int tolua_collect_Ember__OgreView__Gui__Representations__EditboxRepresentation_Atlas__Message__Element_std__string_ (lua_State* tolua_S)
{
 Ember::OgreView::Gui::Representations::EditboxRepresentation<Atlas::Message::Element,std::string>* self = (Ember::OgreView::Gui::Representations::EditboxRepresentation<Atlas::Message::Element,std::string>*) tolua_tousertype(tolua_S,1,0);
	Mtolua_delete(self);
	return 0;
}

static int tolua_collect_Ember__OgreView__Gui__Representations__SliderRepresentation_Atlas__Message__Element_ (lua_State* tolua_S)
{
 Ember::OgreView::Gui::Representations::SliderRepresentation<Atlas::Message::Element>* self = (Ember::OgreView::Gui::Representations::SliderRepresentation<Atlas::Message::Element>*) tolua_tousertype(tolua_S,1,0);
	Mtolua_delete(self);
	return 0;
}

static int tolua_collect_Ember__OgreView__Gui__Representations__ComboboxRepresentation_varconf__Variable_int_ (lua_State* tolua_S)
{
 Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,int>* self = (Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,int>*) tolua_tousertype(tolua_S,1,0);
	Mtolua_delete(self);
	return 0;
}

static int tolua_collect_Ember__OgreView__Gui__Representations__CheckboxRepresentation_Atlas__Message__Element_ (lua_State* tolua_S)
{
 Ember::OgreView::Gui::Representations::CheckboxRepresentation<Atlas::Message::Element>* self = (Ember::OgreView::Gui::Representations::CheckboxRepresentation<Atlas::Message::Element>*) tolua_tousertype(tolua_S,1,0);
	Mtolua_delete(self);
	return 0;
}

static int tolua_collect_Ember__OgreView__Gui__Representations__EditboxRepresentation_varconf__Variable_std__string_ (lua_State* tolua_S)
{
 Ember::OgreView::Gui::Representations::EditboxRepresentation<varconf::Variable,std::string>* self = (Ember::OgreView::Gui::Representations::EditboxRepresentation<varconf::Variable,std::string>*) tolua_tousertype(tolua_S,1,0);
	Mtolua_delete(self);
	return 0;
}

static int tolua_collect_Ember__OgreView__Gui__Representations__RepresentationBase_Atlas__Message__Element_ (lua_State* tolua_S)
{
 Ember::OgreView::Gui::Representations::RepresentationBase<Atlas::Message::Element>* self = (Ember::OgreView::Gui::Representations::RepresentationBase<Atlas::Message::Element>*) tolua_tousertype(tolua_S,1,0);
	Mtolua_delete(self);
	return 0;
}

static int tolua_collect_Ember__OgreView__Gui__Representations__SingleAdapterRepresentationBase_Atlas__Message__Element_ (lua_State* tolua_S)
{
 Ember::OgreView::Gui::Representations::SingleAdapterRepresentationBase<Atlas::Message::Element>* self = (Ember::OgreView::Gui::Representations::SingleAdapterRepresentationBase<Atlas::Message::Element>*) tolua_tousertype(tolua_S,1,0);
	Mtolua_delete(self);
	return 0;
}

static int tolua_collect_Ember__OgreView__Gui__Representations__CheckboxRepresentation_varconf__Variable_ (lua_State* tolua_S)
{
 Ember::OgreView::Gui::Representations::CheckboxRepresentation<varconf::Variable>* self = (Ember::OgreView::Gui::Representations::CheckboxRepresentation<varconf::Variable>*) tolua_tousertype(tolua_S,1,0);
	Mtolua_delete(self);
	return 0;
}
#endif


/* function to register type */
static void tolua_reg_types (lua_State* tolua_S)
{
 tolua_usertype(tolua_S,"Ember::OgreView::Gui::Representations::RepresentationBase<Atlas::Message::Element>");
 tolua_usertype(tolua_S,"Ember::OgreView::Gui::Representations::EditboxRepresentation<Atlas::Message::Element,std::string>");
 tolua_usertype(tolua_S,"Ember::OgreView::Gui::Representations::SliderRepresentation<Atlas::Message::Element>");
 tolua_usertype(tolua_S,"Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,int>");
 tolua_usertype(tolua_S,"SingleAdapterRepresentationBase<ValueType>");
 tolua_usertype(tolua_S,"CEGUI::Window");
 tolua_usertype(tolua_S,"Ember::OgreView::Gui::Representations::SliderRepresentation<varconf::Variable>");
 tolua_usertype(tolua_S,"CEGUI::String");
 tolua_usertype(tolua_S,"Ember::OgreView::Gui::Representations::ComboboxRepresentation<Atlas::Message::Element,std::string>");
 tolua_usertype(tolua_S,"SingleAdapterRepresentationBase<varconf::Variable>");
 tolua_usertype(tolua_S,"Ember::OgreView::Gui::Representations::LayoutHelper");
 tolua_usertype(tolua_S,"Ember::OgreView::Gui::Representations::EditboxRepresentation<varconf::Variable,std::string>");
 tolua_usertype(tolua_S,"varconf::Variable");
 tolua_usertype(tolua_S,"Ember::OgreView::Gui::Representations::CheckboxRepresentation<varconf::Variable>");
 tolua_usertype(tolua_S,"Ember::OgreView::Gui::Representations::CheckboxRepresentation<Atlas::Message::Element>");
 tolua_usertype(tolua_S,"sigc::signal<void>");
 tolua_usertype(tolua_S,"Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,std::string>");
 tolua_usertype(tolua_S,"Atlas::Message::Element");
 tolua_usertype(tolua_S,"Ember::OgreView::Gui::Representations::SingleAdapterRepresentationBase<Atlas::Message::Element>");
}

/* method: delete of class  Ember::OgreView::Gui::Representations::RepresentationBase<Atlas::Message::Element> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_AtlasRepresentationBase_delete00
static int tolua_Representations_Ember_OgreView_Gui_Representations_AtlasRepresentationBase_delete00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::RepresentationBase<Atlas::Message::Element>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::RepresentationBase<Atlas::Message::Element>* self = (Ember::OgreView::Gui::Representations::RepresentationBase<Atlas::Message::Element>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL);
#endif
  Mtolua_delete(self);
 }
 return 0;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: getGuiRoot of class  Ember::OgreView::Gui::Representations::RepresentationBase<Atlas::Message::Element> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_AtlasRepresentationBase_getGuiRoot00
static int tolua_Representations_Ember_OgreView_Gui_Representations_AtlasRepresentationBase_getGuiRoot00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::RepresentationBase<Atlas::Message::Element>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::RepresentationBase<Atlas::Message::Element>* self = (Ember::OgreView::Gui::Representations::RepresentationBase<Atlas::Message::Element>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'getGuiRoot'", NULL);
#endif
  {
   CEGUI::Window* tolua_ret = (CEGUI::Window*)  self->getGuiRoot();
    tolua_pushusertype(tolua_S,(void*)tolua_ret,"CEGUI::Window");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'getGuiRoot'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: setEditedValue of class  Ember::OgreView::Gui::Representations::RepresentationBase<Atlas::Message::Element> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_AtlasRepresentationBase_setEditedValue00
static int tolua_Representations_Ember_OgreView_Gui_Representations_AtlasRepresentationBase_setEditedValue00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::RepresentationBase<Atlas::Message::Element>",0,&tolua_err) ||
     (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Atlas::Message::Element",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,3,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::RepresentationBase<Atlas::Message::Element>* self = (Ember::OgreView::Gui::Representations::RepresentationBase<Atlas::Message::Element>*)  tolua_tousertype(tolua_S,1,0);
  const Atlas::Message::Element* v = ((const Atlas::Message::Element*)  tolua_tousertype(tolua_S,2,0));
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'setEditedValue'", NULL);
#endif
  {
   self->setEditedValue(*v);
  }
 }
 return 0;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'setEditedValue'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: getEditedValue of class  Ember::OgreView::Gui::Representations::RepresentationBase<Atlas::Message::Element> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_AtlasRepresentationBase_getEditedValue00
static int tolua_Representations_Ember_OgreView_Gui_Representations_AtlasRepresentationBase_getEditedValue00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"const Ember::OgreView::Gui::Representations::RepresentationBase<Atlas::Message::Element>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  const Ember::OgreView::Gui::Representations::RepresentationBase<Atlas::Message::Element>* self = (const Ember::OgreView::Gui::Representations::RepresentationBase<Atlas::Message::Element>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'getEditedValue'", NULL);
#endif
  {
   const Atlas::Message::Element& tolua_ret = (const Atlas::Message::Element&)  self->getEditedValue();
    tolua_pushusertype(tolua_S,(void*)&tolua_ret,"const Atlas::Message::Element");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'getEditedValue'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: getEventValueChangedSignal of class  Ember::OgreView::Gui::Representations::RepresentationBase<Atlas::Message::Element> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_AtlasRepresentationBase_getEventValueChangedSignal00
static int tolua_Representations_Ember_OgreView_Gui_Representations_AtlasRepresentationBase_getEventValueChangedSignal00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::RepresentationBase<Atlas::Message::Element>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::RepresentationBase<Atlas::Message::Element>* self = (Ember::OgreView::Gui::Representations::RepresentationBase<Atlas::Message::Element>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'getEventValueChangedSignal'", NULL);
#endif
  {
   sigc::signal<void>& tolua_ret = (sigc::signal<void>&)  self->getEventValueChangedSignal();
    tolua_pushusertype(tolua_S,(void*)&tolua_ret,"sigc::signal<void>");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'getEventValueChangedSignal'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: getOriginalValue of class  Ember::OgreView::Gui::Representations::RepresentationBase<Atlas::Message::Element> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_AtlasRepresentationBase_getOriginalValue00
static int tolua_Representations_Ember_OgreView_Gui_Representations_AtlasRepresentationBase_getOriginalValue00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"const Ember::OgreView::Gui::Representations::RepresentationBase<Atlas::Message::Element>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  const Ember::OgreView::Gui::Representations::RepresentationBase<Atlas::Message::Element>* self = (const Ember::OgreView::Gui::Representations::RepresentationBase<Atlas::Message::Element>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'getOriginalValue'", NULL);
#endif
  {
   const Atlas::Message::Element& tolua_ret = (const Atlas::Message::Element&)  self->getOriginalValue();
    tolua_pushusertype(tolua_S,(void*)&tolua_ret,"const Atlas::Message::Element");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'getOriginalValue'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: hasChanges of class  Ember::OgreView::Gui::Representations::RepresentationBase<Atlas::Message::Element> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_AtlasRepresentationBase_hasChanges00
static int tolua_Representations_Ember_OgreView_Gui_Representations_AtlasRepresentationBase_hasChanges00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"const Ember::OgreView::Gui::Representations::RepresentationBase<Atlas::Message::Element>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  const Ember::OgreView::Gui::Representations::RepresentationBase<Atlas::Message::Element>* self = (const Ember::OgreView::Gui::Representations::RepresentationBase<Atlas::Message::Element>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'hasChanges'", NULL);
#endif
  {
   bool tolua_ret = (bool)  self->hasChanges();
   tolua_pushboolean(tolua_S,(bool)tolua_ret);
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'hasChanges'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: isRemoved of class  Ember::OgreView::Gui::Representations::RepresentationBase<Atlas::Message::Element> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_AtlasRepresentationBase_isRemoved00
static int tolua_Representations_Ember_OgreView_Gui_Representations_AtlasRepresentationBase_isRemoved00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"const Ember::OgreView::Gui::Representations::RepresentationBase<Atlas::Message::Element>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  const Ember::OgreView::Gui::Representations::RepresentationBase<Atlas::Message::Element>* self = (const Ember::OgreView::Gui::Representations::RepresentationBase<Atlas::Message::Element>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'isRemoved'", NULL);
#endif
  {
   bool tolua_ret = (bool)  self->isRemoved();
   tolua_pushboolean(tolua_S,(bool)tolua_ret);
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'isRemoved'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: addSuggestion of class  Ember::OgreView::Gui::Representations::RepresentationBase<Atlas::Message::Element> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_AtlasRepresentationBase_addSuggestion00
static int tolua_Representations_Ember_OgreView_Gui_Representations_AtlasRepresentationBase_addSuggestion00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::RepresentationBase<Atlas::Message::Element>",0,&tolua_err) ||
     !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,3,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::RepresentationBase<Atlas::Message::Element>* self = (Ember::OgreView::Gui::Representations::RepresentationBase<Atlas::Message::Element>*)  tolua_tousertype(tolua_S,1,0);
  const std::string suggestion = ((const std::string)  tolua_tocppstring(tolua_S,2,0));
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'addSuggestion'", NULL);
#endif
  {
   self->addSuggestion(suggestion);
   tolua_pushcppstring(tolua_S,(const char*)suggestion);
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'addSuggestion'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: delete of class  Ember::OgreView::Gui::Representations::SingleAdapterRepresentationBase<Atlas::Message::Element> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_AtlasSingleAdapterRepresentationBase_delete00
static int tolua_Representations_Ember_OgreView_Gui_Representations_AtlasSingleAdapterRepresentationBase_delete00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::SingleAdapterRepresentationBase<Atlas::Message::Element>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::SingleAdapterRepresentationBase<Atlas::Message::Element>* self = (Ember::OgreView::Gui::Representations::SingleAdapterRepresentationBase<Atlas::Message::Element>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL);
#endif
  Mtolua_delete(self);
 }
 return 0;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: getGuiRoot of class  Ember::OgreView::Gui::Representations::SingleAdapterRepresentationBase<Atlas::Message::Element> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_AtlasSingleAdapterRepresentationBase_getGuiRoot00
static int tolua_Representations_Ember_OgreView_Gui_Representations_AtlasSingleAdapterRepresentationBase_getGuiRoot00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::SingleAdapterRepresentationBase<Atlas::Message::Element>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::SingleAdapterRepresentationBase<Atlas::Message::Element>* self = (Ember::OgreView::Gui::Representations::SingleAdapterRepresentationBase<Atlas::Message::Element>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'getGuiRoot'", NULL);
#endif
  {
   CEGUI::Window* tolua_ret = (CEGUI::Window*)  self->getGuiRoot();
    tolua_pushusertype(tolua_S,(void*)tolua_ret,"CEGUI::Window");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'getGuiRoot'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: new of class  Ember::OgreView::Gui::Representations::CheckboxRepresentation<Atlas::Message::Element> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_AtlasCheckboxRepresentation_new00
static int tolua_Representations_Ember_OgreView_Gui_Representations_AtlasCheckboxRepresentation_new00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertable(tolua_S,1,"Ember::OgreView::Gui::Representations::CheckboxRepresentation<Atlas::Message::Element>",0,&tolua_err) ||
     (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Atlas::Message::Element",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,3,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  const Atlas::Message::Element* value = ((const Atlas::Message::Element*)  tolua_tousertype(tolua_S,2,0));
  {
   Ember::OgreView::Gui::Representations::CheckboxRepresentation<Atlas::Message::Element>* tolua_ret = (Ember::OgreView::Gui::Representations::CheckboxRepresentation<Atlas::Message::Element>*)  Mtolua_new((Ember::OgreView::Gui::Representations::CheckboxRepresentation<Atlas::Message::Element>)(*value));
    tolua_pushusertype(tolua_S,(void*)tolua_ret,"Ember::OgreView::Gui::Representations::CheckboxRepresentation<Atlas::Message::Element>");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: new_local of class  Ember::OgreView::Gui::Representations::CheckboxRepresentation<Atlas::Message::Element> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_AtlasCheckboxRepresentation_new00_local
static int tolua_Representations_Ember_OgreView_Gui_Representations_AtlasCheckboxRepresentation_new00_local(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertable(tolua_S,1,"Ember::OgreView::Gui::Representations::CheckboxRepresentation<Atlas::Message::Element>",0,&tolua_err) ||
     (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Atlas::Message::Element",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,3,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  const Atlas::Message::Element* value = ((const Atlas::Message::Element*)  tolua_tousertype(tolua_S,2,0));
  {
   Ember::OgreView::Gui::Representations::CheckboxRepresentation<Atlas::Message::Element>* tolua_ret = (Ember::OgreView::Gui::Representations::CheckboxRepresentation<Atlas::Message::Element>*)  Mtolua_new((Ember::OgreView::Gui::Representations::CheckboxRepresentation<Atlas::Message::Element>)(*value));
    tolua_pushusertype(tolua_S,(void*)tolua_ret,"Ember::OgreView::Gui::Representations::CheckboxRepresentation<Atlas::Message::Element>");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: delete of class  Ember::OgreView::Gui::Representations::CheckboxRepresentation<Atlas::Message::Element> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_AtlasCheckboxRepresentation_delete00
static int tolua_Representations_Ember_OgreView_Gui_Representations_AtlasCheckboxRepresentation_delete00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::CheckboxRepresentation<Atlas::Message::Element>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::CheckboxRepresentation<Atlas::Message::Element>* self = (Ember::OgreView::Gui::Representations::CheckboxRepresentation<Atlas::Message::Element>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL);
#endif
  Mtolua_delete(self);
 }
 return 0;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: getGuiRoot of class  Ember::OgreView::Gui::Representations::CheckboxRepresentation<Atlas::Message::Element> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_AtlasCheckboxRepresentation_getGuiRoot00
static int tolua_Representations_Ember_OgreView_Gui_Representations_AtlasCheckboxRepresentation_getGuiRoot00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::CheckboxRepresentation<Atlas::Message::Element>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::CheckboxRepresentation<Atlas::Message::Element>* self = (Ember::OgreView::Gui::Representations::CheckboxRepresentation<Atlas::Message::Element>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'getGuiRoot'", NULL);
#endif
  {
   CEGUI::Window* tolua_ret = (CEGUI::Window*)  self->getGuiRoot();
    tolua_pushusertype(tolua_S,(void*)tolua_ret,"CEGUI::Window");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'getGuiRoot'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: getEventValueChangedSignal of class  Ember::OgreView::Gui::Representations::CheckboxRepresentation<Atlas::Message::Element> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_AtlasCheckboxRepresentation_getEventValueChangedSignal00
static int tolua_Representations_Ember_OgreView_Gui_Representations_AtlasCheckboxRepresentation_getEventValueChangedSignal00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::CheckboxRepresentation<Atlas::Message::Element>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::CheckboxRepresentation<Atlas::Message::Element>* self = (Ember::OgreView::Gui::Representations::CheckboxRepresentation<Atlas::Message::Element>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'getEventValueChangedSignal'", NULL);
#endif
  {
   sigc::signal<void>& tolua_ret = (sigc::signal<void>&)  self->getEventValueChangedSignal();
    tolua_pushusertype(tolua_S,(void*)&tolua_ret,"sigc::signal<void>");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'getEventValueChangedSignal'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: setEditedValue of class  Ember::OgreView::Gui::Representations::CheckboxRepresentation<Atlas::Message::Element> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_AtlasCheckboxRepresentation_setEditedValue00
static int tolua_Representations_Ember_OgreView_Gui_Representations_AtlasCheckboxRepresentation_setEditedValue00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::CheckboxRepresentation<Atlas::Message::Element>",0,&tolua_err) ||
     (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Atlas::Message::Element",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,3,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::CheckboxRepresentation<Atlas::Message::Element>* self = (Ember::OgreView::Gui::Representations::CheckboxRepresentation<Atlas::Message::Element>*)  tolua_tousertype(tolua_S,1,0);
  const Atlas::Message::Element* v = ((const Atlas::Message::Element*)  tolua_tousertype(tolua_S,2,0));
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'setEditedValue'", NULL);
#endif
  {
   self->setEditedValue(*v);
  }
 }
 return 0;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'setEditedValue'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: getEditedValue of class  Ember::OgreView::Gui::Representations::CheckboxRepresentation<Atlas::Message::Element> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_AtlasCheckboxRepresentation_getEditedValue00
static int tolua_Representations_Ember_OgreView_Gui_Representations_AtlasCheckboxRepresentation_getEditedValue00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"const Ember::OgreView::Gui::Representations::CheckboxRepresentation<Atlas::Message::Element>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  const Ember::OgreView::Gui::Representations::CheckboxRepresentation<Atlas::Message::Element>* self = (const Ember::OgreView::Gui::Representations::CheckboxRepresentation<Atlas::Message::Element>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'getEditedValue'", NULL);
#endif
  {
   const Atlas::Message::Element& tolua_ret = (const Atlas::Message::Element&)  self->getEditedValue();
    tolua_pushusertype(tolua_S,(void*)&tolua_ret,"const Atlas::Message::Element");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'getEditedValue'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: getOriginalValue of class  Ember::OgreView::Gui::Representations::CheckboxRepresentation<Atlas::Message::Element> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_AtlasCheckboxRepresentation_getOriginalValue00
static int tolua_Representations_Ember_OgreView_Gui_Representations_AtlasCheckboxRepresentation_getOriginalValue00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"const Ember::OgreView::Gui::Representations::CheckboxRepresentation<Atlas::Message::Element>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  const Ember::OgreView::Gui::Representations::CheckboxRepresentation<Atlas::Message::Element>* self = (const Ember::OgreView::Gui::Representations::CheckboxRepresentation<Atlas::Message::Element>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'getOriginalValue'", NULL);
#endif
  {
   const Atlas::Message::Element& tolua_ret = (const Atlas::Message::Element&)  self->getOriginalValue();
    tolua_pushusertype(tolua_S,(void*)&tolua_ret,"const Atlas::Message::Element");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'getOriginalValue'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: applyChanges of class  Ember::OgreView::Gui::Representations::CheckboxRepresentation<Atlas::Message::Element> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_AtlasCheckboxRepresentation_applyChanges00
static int tolua_Representations_Ember_OgreView_Gui_Representations_AtlasCheckboxRepresentation_applyChanges00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::CheckboxRepresentation<Atlas::Message::Element>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::CheckboxRepresentation<Atlas::Message::Element>* self = (Ember::OgreView::Gui::Representations::CheckboxRepresentation<Atlas::Message::Element>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'applyChanges'", NULL);
#endif
  {
   self->applyChanges();
  }
 }
 return 0;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'applyChanges'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: hasChanges of class  Ember::OgreView::Gui::Representations::CheckboxRepresentation<Atlas::Message::Element> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_AtlasCheckboxRepresentation_hasChanges00
static int tolua_Representations_Ember_OgreView_Gui_Representations_AtlasCheckboxRepresentation_hasChanges00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"const Ember::OgreView::Gui::Representations::CheckboxRepresentation<Atlas::Message::Element>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  const Ember::OgreView::Gui::Representations::CheckboxRepresentation<Atlas::Message::Element>* self = (const Ember::OgreView::Gui::Representations::CheckboxRepresentation<Atlas::Message::Element>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'hasChanges'", NULL);
#endif
  {
   bool tolua_ret = (bool)  self->hasChanges();
   tolua_pushboolean(tolua_S,(bool)tolua_ret);
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'hasChanges'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: new of class  Ember::OgreView::Gui::Representations::CheckboxRepresentation<varconf::Variable> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_VarconfCheckboxRepresentation_new00
static int tolua_Representations_Ember_OgreView_Gui_Representations_VarconfCheckboxRepresentation_new00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertable(tolua_S,1,"Ember::OgreView::Gui::Representations::CheckboxRepresentation<varconf::Variable>",0,&tolua_err) ||
     (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const varconf::Variable",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,3,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  const varconf::Variable* value = ((const varconf::Variable*)  tolua_tousertype(tolua_S,2,0));
  {
   Ember::OgreView::Gui::Representations::CheckboxRepresentation<varconf::Variable>* tolua_ret = (Ember::OgreView::Gui::Representations::CheckboxRepresentation<varconf::Variable>*)  Mtolua_new((Ember::OgreView::Gui::Representations::CheckboxRepresentation<varconf::Variable>)(*value));
    tolua_pushusertype(tolua_S,(void*)tolua_ret,"Ember::OgreView::Gui::Representations::CheckboxRepresentation<varconf::Variable>");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: new_local of class  Ember::OgreView::Gui::Representations::CheckboxRepresentation<varconf::Variable> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_VarconfCheckboxRepresentation_new00_local
static int tolua_Representations_Ember_OgreView_Gui_Representations_VarconfCheckboxRepresentation_new00_local(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertable(tolua_S,1,"Ember::OgreView::Gui::Representations::CheckboxRepresentation<varconf::Variable>",0,&tolua_err) ||
     (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const varconf::Variable",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,3,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  const varconf::Variable* value = ((const varconf::Variable*)  tolua_tousertype(tolua_S,2,0));
  {
   Ember::OgreView::Gui::Representations::CheckboxRepresentation<varconf::Variable>* tolua_ret = (Ember::OgreView::Gui::Representations::CheckboxRepresentation<varconf::Variable>*)  Mtolua_new((Ember::OgreView::Gui::Representations::CheckboxRepresentation<varconf::Variable>)(*value));
    tolua_pushusertype(tolua_S,(void*)tolua_ret,"Ember::OgreView::Gui::Representations::CheckboxRepresentation<varconf::Variable>");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: delete of class  Ember::OgreView::Gui::Representations::CheckboxRepresentation<varconf::Variable> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_VarconfCheckboxRepresentation_delete00
static int tolua_Representations_Ember_OgreView_Gui_Representations_VarconfCheckboxRepresentation_delete00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::CheckboxRepresentation<varconf::Variable>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::CheckboxRepresentation<varconf::Variable>* self = (Ember::OgreView::Gui::Representations::CheckboxRepresentation<varconf::Variable>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL);
#endif
  Mtolua_delete(self);
 }
 return 0;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: getGuiRoot of class  Ember::OgreView::Gui::Representations::CheckboxRepresentation<varconf::Variable> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_VarconfCheckboxRepresentation_getGuiRoot00
static int tolua_Representations_Ember_OgreView_Gui_Representations_VarconfCheckboxRepresentation_getGuiRoot00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::CheckboxRepresentation<varconf::Variable>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::CheckboxRepresentation<varconf::Variable>* self = (Ember::OgreView::Gui::Representations::CheckboxRepresentation<varconf::Variable>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'getGuiRoot'", NULL);
#endif
  {
   CEGUI::Window* tolua_ret = (CEGUI::Window*)  self->getGuiRoot();
    tolua_pushusertype(tolua_S,(void*)tolua_ret,"CEGUI::Window");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'getGuiRoot'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: getEventValueChangedSignal of class  Ember::OgreView::Gui::Representations::CheckboxRepresentation<varconf::Variable> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_VarconfCheckboxRepresentation_getEventValueChangedSignal00
static int tolua_Representations_Ember_OgreView_Gui_Representations_VarconfCheckboxRepresentation_getEventValueChangedSignal00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::CheckboxRepresentation<varconf::Variable>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::CheckboxRepresentation<varconf::Variable>* self = (Ember::OgreView::Gui::Representations::CheckboxRepresentation<varconf::Variable>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'getEventValueChangedSignal'", NULL);
#endif
  {
   sigc::signal<void>& tolua_ret = (sigc::signal<void>&)  self->getEventValueChangedSignal();
    tolua_pushusertype(tolua_S,(void*)&tolua_ret,"sigc::signal<void>");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'getEventValueChangedSignal'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: setEditedValue of class  Ember::OgreView::Gui::Representations::CheckboxRepresentation<varconf::Variable> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_VarconfCheckboxRepresentation_setEditedValue00
static int tolua_Representations_Ember_OgreView_Gui_Representations_VarconfCheckboxRepresentation_setEditedValue00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::CheckboxRepresentation<varconf::Variable>",0,&tolua_err) ||
     (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const varconf::Variable",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,3,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::CheckboxRepresentation<varconf::Variable>* self = (Ember::OgreView::Gui::Representations::CheckboxRepresentation<varconf::Variable>*)  tolua_tousertype(tolua_S,1,0);
  const varconf::Variable* v = ((const varconf::Variable*)  tolua_tousertype(tolua_S,2,0));
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'setEditedValue'", NULL);
#endif
  {
   self->setEditedValue(*v);
  }
 }
 return 0;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'setEditedValue'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: getEditedValue of class  Ember::OgreView::Gui::Representations::CheckboxRepresentation<varconf::Variable> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_VarconfCheckboxRepresentation_getEditedValue00
static int tolua_Representations_Ember_OgreView_Gui_Representations_VarconfCheckboxRepresentation_getEditedValue00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"const Ember::OgreView::Gui::Representations::CheckboxRepresentation<varconf::Variable>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  const Ember::OgreView::Gui::Representations::CheckboxRepresentation<varconf::Variable>* self = (const Ember::OgreView::Gui::Representations::CheckboxRepresentation<varconf::Variable>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'getEditedValue'", NULL);
#endif
  {
   const varconf::Variable& tolua_ret = (const varconf::Variable&)  self->getEditedValue();
    tolua_pushusertype(tolua_S,(void*)&tolua_ret,"const varconf::Variable");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'getEditedValue'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: getOriginalValue of class  Ember::OgreView::Gui::Representations::CheckboxRepresentation<varconf::Variable> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_VarconfCheckboxRepresentation_getOriginalValue00
static int tolua_Representations_Ember_OgreView_Gui_Representations_VarconfCheckboxRepresentation_getOriginalValue00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"const Ember::OgreView::Gui::Representations::CheckboxRepresentation<varconf::Variable>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  const Ember::OgreView::Gui::Representations::CheckboxRepresentation<varconf::Variable>* self = (const Ember::OgreView::Gui::Representations::CheckboxRepresentation<varconf::Variable>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'getOriginalValue'", NULL);
#endif
  {
   const varconf::Variable& tolua_ret = (const varconf::Variable&)  self->getOriginalValue();
    tolua_pushusertype(tolua_S,(void*)&tolua_ret,"const varconf::Variable");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'getOriginalValue'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: applyChanges of class  Ember::OgreView::Gui::Representations::CheckboxRepresentation<varconf::Variable> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_VarconfCheckboxRepresentation_applyChanges00
static int tolua_Representations_Ember_OgreView_Gui_Representations_VarconfCheckboxRepresentation_applyChanges00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::CheckboxRepresentation<varconf::Variable>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::CheckboxRepresentation<varconf::Variable>* self = (Ember::OgreView::Gui::Representations::CheckboxRepresentation<varconf::Variable>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'applyChanges'", NULL);
#endif
  {
   self->applyChanges();
  }
 }
 return 0;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'applyChanges'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: hasChanges of class  Ember::OgreView::Gui::Representations::CheckboxRepresentation<varconf::Variable> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_VarconfCheckboxRepresentation_hasChanges00
static int tolua_Representations_Ember_OgreView_Gui_Representations_VarconfCheckboxRepresentation_hasChanges00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"const Ember::OgreView::Gui::Representations::CheckboxRepresentation<varconf::Variable>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  const Ember::OgreView::Gui::Representations::CheckboxRepresentation<varconf::Variable>* self = (const Ember::OgreView::Gui::Representations::CheckboxRepresentation<varconf::Variable>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'hasChanges'", NULL);
#endif
  {
   bool tolua_ret = (bool)  self->hasChanges();
   tolua_pushboolean(tolua_S,(bool)tolua_ret);
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'hasChanges'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: new of class  Ember::OgreView::Gui::Representations::ComboboxRepresentation<Atlas::Message::Element,std::string> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringComboboxRepresentation_new00
static int tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringComboboxRepresentation_new00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertable(tolua_S,1,"Ember::OgreView::Gui::Representations::ComboboxRepresentation<Atlas::Message::Element,std::string>",0,&tolua_err) ||
     (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Atlas::Message::Element",0,&tolua_err)) ||
     !tolua_isboolean(tolua_S,3,1,&tolua_err) ||
     !tolua_isnoobj(tolua_S,4,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  const Atlas::Message::Element* value = ((const Atlas::Message::Element*)  tolua_tousertype(tolua_S,2,0));
  bool suggestionOnly = ((bool)  tolua_toboolean(tolua_S,3,false));
  {
   Ember::OgreView::Gui::Representations::ComboboxRepresentation<Atlas::Message::Element,std::string>* tolua_ret = (Ember::OgreView::Gui::Representations::ComboboxRepresentation<Atlas::Message::Element,std::string>*)  Mtolua_new((Ember::OgreView::Gui::Representations::ComboboxRepresentation<Atlas::Message::Element,std::string>)(*value,suggestionOnly));
    tolua_pushusertype(tolua_S,(void*)tolua_ret,"Ember::OgreView::Gui::Representations::ComboboxRepresentation<Atlas::Message::Element,std::string>");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: new_local of class  Ember::OgreView::Gui::Representations::ComboboxRepresentation<Atlas::Message::Element,std::string> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringComboboxRepresentation_new00_local
static int tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringComboboxRepresentation_new00_local(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertable(tolua_S,1,"Ember::OgreView::Gui::Representations::ComboboxRepresentation<Atlas::Message::Element,std::string>",0,&tolua_err) ||
     (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Atlas::Message::Element",0,&tolua_err)) ||
     !tolua_isboolean(tolua_S,3,1,&tolua_err) ||
     !tolua_isnoobj(tolua_S,4,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  const Atlas::Message::Element* value = ((const Atlas::Message::Element*)  tolua_tousertype(tolua_S,2,0));
  bool suggestionOnly = ((bool)  tolua_toboolean(tolua_S,3,false));
  {
   Ember::OgreView::Gui::Representations::ComboboxRepresentation<Atlas::Message::Element,std::string>* tolua_ret = (Ember::OgreView::Gui::Representations::ComboboxRepresentation<Atlas::Message::Element,std::string>*)  Mtolua_new((Ember::OgreView::Gui::Representations::ComboboxRepresentation<Atlas::Message::Element,std::string>)(*value,suggestionOnly));
    tolua_pushusertype(tolua_S,(void*)tolua_ret,"Ember::OgreView::Gui::Representations::ComboboxRepresentation<Atlas::Message::Element,std::string>");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: delete of class  Ember::OgreView::Gui::Representations::ComboboxRepresentation<Atlas::Message::Element,std::string> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringComboboxRepresentation_delete00
static int tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringComboboxRepresentation_delete00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::ComboboxRepresentation<Atlas::Message::Element,std::string>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::ComboboxRepresentation<Atlas::Message::Element,std::string>* self = (Ember::OgreView::Gui::Representations::ComboboxRepresentation<Atlas::Message::Element,std::string>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL);
#endif
  Mtolua_delete(self);
 }
 return 0;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: getGuiRoot of class  Ember::OgreView::Gui::Representations::ComboboxRepresentation<Atlas::Message::Element,std::string> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringComboboxRepresentation_getGuiRoot00
static int tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringComboboxRepresentation_getGuiRoot00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::ComboboxRepresentation<Atlas::Message::Element,std::string>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::ComboboxRepresentation<Atlas::Message::Element,std::string>* self = (Ember::OgreView::Gui::Representations::ComboboxRepresentation<Atlas::Message::Element,std::string>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'getGuiRoot'", NULL);
#endif
  {
   CEGUI::Window* tolua_ret = (CEGUI::Window*)  self->getGuiRoot();
    tolua_pushusertype(tolua_S,(void*)tolua_ret,"CEGUI::Window");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'getGuiRoot'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: addSuggestion of class  Ember::OgreView::Gui::Representations::ComboboxRepresentation<Atlas::Message::Element,std::string> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringComboboxRepresentation_addSuggestion00
static int tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringComboboxRepresentation_addSuggestion00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::ComboboxRepresentation<Atlas::Message::Element,std::string>",0,&tolua_err) ||
     !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,3,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::ComboboxRepresentation<Atlas::Message::Element,std::string>* self = (Ember::OgreView::Gui::Representations::ComboboxRepresentation<Atlas::Message::Element,std::string>*)  tolua_tousertype(tolua_S,1,0);
  const std::string suggestion = ((const std::string)  tolua_tocppstring(tolua_S,2,0));
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'addSuggestion'", NULL);
#endif
  {
   self->addSuggestion(suggestion);
   tolua_pushcppstring(tolua_S,(const char*)suggestion);
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'addSuggestion'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: getEventValueChangedSignal of class  Ember::OgreView::Gui::Representations::ComboboxRepresentation<Atlas::Message::Element,std::string> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringComboboxRepresentation_getEventValueChangedSignal00
static int tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringComboboxRepresentation_getEventValueChangedSignal00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::ComboboxRepresentation<Atlas::Message::Element,std::string>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::ComboboxRepresentation<Atlas::Message::Element,std::string>* self = (Ember::OgreView::Gui::Representations::ComboboxRepresentation<Atlas::Message::Element,std::string>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'getEventValueChangedSignal'", NULL);
#endif
  {
   sigc::signal<void>& tolua_ret = (sigc::signal<void>&)  self->getEventValueChangedSignal();
    tolua_pushusertype(tolua_S,(void*)&tolua_ret,"sigc::signal<void>");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'getEventValueChangedSignal'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: setEditedValue of class  Ember::OgreView::Gui::Representations::ComboboxRepresentation<Atlas::Message::Element,std::string> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringComboboxRepresentation_setEditedValue00
static int tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringComboboxRepresentation_setEditedValue00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::ComboboxRepresentation<Atlas::Message::Element,std::string>",0,&tolua_err) ||
     (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Atlas::Message::Element",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,3,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::ComboboxRepresentation<Atlas::Message::Element,std::string>* self = (Ember::OgreView::Gui::Representations::ComboboxRepresentation<Atlas::Message::Element,std::string>*)  tolua_tousertype(tolua_S,1,0);
  const Atlas::Message::Element* v = ((const Atlas::Message::Element*)  tolua_tousertype(tolua_S,2,0));
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'setEditedValue'", NULL);
#endif
  {
   self->setEditedValue(*v);
  }
 }
 return 0;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'setEditedValue'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: getEditedValue of class  Ember::OgreView::Gui::Representations::ComboboxRepresentation<Atlas::Message::Element,std::string> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringComboboxRepresentation_getEditedValue00
static int tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringComboboxRepresentation_getEditedValue00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"const Ember::OgreView::Gui::Representations::ComboboxRepresentation<Atlas::Message::Element,std::string>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  const Ember::OgreView::Gui::Representations::ComboboxRepresentation<Atlas::Message::Element,std::string>* self = (const Ember::OgreView::Gui::Representations::ComboboxRepresentation<Atlas::Message::Element,std::string>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'getEditedValue'", NULL);
#endif
  {
   const Atlas::Message::Element& tolua_ret = (const Atlas::Message::Element&)  self->getEditedValue();
    tolua_pushusertype(tolua_S,(void*)&tolua_ret,"const Atlas::Message::Element");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'getEditedValue'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: getOriginalValue of class  Ember::OgreView::Gui::Representations::ComboboxRepresentation<Atlas::Message::Element,std::string> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringComboboxRepresentation_getOriginalValue00
static int tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringComboboxRepresentation_getOriginalValue00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"const Ember::OgreView::Gui::Representations::ComboboxRepresentation<Atlas::Message::Element,std::string>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  const Ember::OgreView::Gui::Representations::ComboboxRepresentation<Atlas::Message::Element,std::string>* self = (const Ember::OgreView::Gui::Representations::ComboboxRepresentation<Atlas::Message::Element,std::string>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'getOriginalValue'", NULL);
#endif
  {
   const Atlas::Message::Element& tolua_ret = (const Atlas::Message::Element&)  self->getOriginalValue();
    tolua_pushusertype(tolua_S,(void*)&tolua_ret,"const Atlas::Message::Element");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'getOriginalValue'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: applyChanges of class  Ember::OgreView::Gui::Representations::ComboboxRepresentation<Atlas::Message::Element,std::string> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringComboboxRepresentation_applyChanges00
static int tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringComboboxRepresentation_applyChanges00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::ComboboxRepresentation<Atlas::Message::Element,std::string>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::ComboboxRepresentation<Atlas::Message::Element,std::string>* self = (Ember::OgreView::Gui::Representations::ComboboxRepresentation<Atlas::Message::Element,std::string>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'applyChanges'", NULL);
#endif
  {
   self->applyChanges();
  }
 }
 return 0;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'applyChanges'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: hasChanges of class  Ember::OgreView::Gui::Representations::ComboboxRepresentation<Atlas::Message::Element,std::string> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringComboboxRepresentation_hasChanges00
static int tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringComboboxRepresentation_hasChanges00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"const Ember::OgreView::Gui::Representations::ComboboxRepresentation<Atlas::Message::Element,std::string>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  const Ember::OgreView::Gui::Representations::ComboboxRepresentation<Atlas::Message::Element,std::string>* self = (const Ember::OgreView::Gui::Representations::ComboboxRepresentation<Atlas::Message::Element,std::string>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'hasChanges'", NULL);
#endif
  {
   bool tolua_ret = (bool)  self->hasChanges();
   tolua_pushboolean(tolua_S,(bool)tolua_ret);
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'hasChanges'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: new of class  Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,std::string> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringComboboxRepresentation_new00
static int tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringComboboxRepresentation_new00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertable(tolua_S,1,"Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,std::string>",0,&tolua_err) ||
     (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const varconf::Variable",0,&tolua_err)) ||
     !tolua_isboolean(tolua_S,3,1,&tolua_err) ||
     !tolua_isnoobj(tolua_S,4,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  const varconf::Variable* value = ((const varconf::Variable*)  tolua_tousertype(tolua_S,2,0));
  bool suggestionOnly = ((bool)  tolua_toboolean(tolua_S,3,false));
  {
   Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,std::string>* tolua_ret = (Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,std::string>*)  Mtolua_new((Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,std::string>)(*value,suggestionOnly));
    tolua_pushusertype(tolua_S,(void*)tolua_ret,"Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,std::string>");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: new_local of class  Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,std::string> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringComboboxRepresentation_new00_local
static int tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringComboboxRepresentation_new00_local(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertable(tolua_S,1,"Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,std::string>",0,&tolua_err) ||
     (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const varconf::Variable",0,&tolua_err)) ||
     !tolua_isboolean(tolua_S,3,1,&tolua_err) ||
     !tolua_isnoobj(tolua_S,4,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  const varconf::Variable* value = ((const varconf::Variable*)  tolua_tousertype(tolua_S,2,0));
  bool suggestionOnly = ((bool)  tolua_toboolean(tolua_S,3,false));
  {
   Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,std::string>* tolua_ret = (Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,std::string>*)  Mtolua_new((Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,std::string>)(*value,suggestionOnly));
    tolua_pushusertype(tolua_S,(void*)tolua_ret,"Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,std::string>");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: delete of class  Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,std::string> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringComboboxRepresentation_delete00
static int tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringComboboxRepresentation_delete00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,std::string>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,std::string>* self = (Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,std::string>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL);
#endif
  Mtolua_delete(self);
 }
 return 0;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: getGuiRoot of class  Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,std::string> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringComboboxRepresentation_getGuiRoot00
static int tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringComboboxRepresentation_getGuiRoot00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,std::string>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,std::string>* self = (Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,std::string>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'getGuiRoot'", NULL);
#endif
  {
   CEGUI::Window* tolua_ret = (CEGUI::Window*)  self->getGuiRoot();
    tolua_pushusertype(tolua_S,(void*)tolua_ret,"CEGUI::Window");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'getGuiRoot'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: addSuggestion of class  Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,std::string> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringComboboxRepresentation_addSuggestion00
static int tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringComboboxRepresentation_addSuggestion00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,std::string>",0,&tolua_err) ||
     !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,3,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,std::string>* self = (Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,std::string>*)  tolua_tousertype(tolua_S,1,0);
  const std::string suggestion = ((const std::string)  tolua_tocppstring(tolua_S,2,0));
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'addSuggestion'", NULL);
#endif
  {
   self->addSuggestion(suggestion);
   tolua_pushcppstring(tolua_S,(const char*)suggestion);
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'addSuggestion'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: getEventValueChangedSignal of class  Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,std::string> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringComboboxRepresentation_getEventValueChangedSignal00
static int tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringComboboxRepresentation_getEventValueChangedSignal00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,std::string>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,std::string>* self = (Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,std::string>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'getEventValueChangedSignal'", NULL);
#endif
  {
   sigc::signal<void>& tolua_ret = (sigc::signal<void>&)  self->getEventValueChangedSignal();
    tolua_pushusertype(tolua_S,(void*)&tolua_ret,"sigc::signal<void>");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'getEventValueChangedSignal'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: setEditedValue of class  Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,std::string> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringComboboxRepresentation_setEditedValue00
static int tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringComboboxRepresentation_setEditedValue00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,std::string>",0,&tolua_err) ||
     (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const varconf::Variable",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,3,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,std::string>* self = (Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,std::string>*)  tolua_tousertype(tolua_S,1,0);
  const varconf::Variable* v = ((const varconf::Variable*)  tolua_tousertype(tolua_S,2,0));
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'setEditedValue'", NULL);
#endif
  {
   self->setEditedValue(*v);
  }
 }
 return 0;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'setEditedValue'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: getEditedValue of class  Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,std::string> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringComboboxRepresentation_getEditedValue00
static int tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringComboboxRepresentation_getEditedValue00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"const Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,std::string>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  const Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,std::string>* self = (const Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,std::string>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'getEditedValue'", NULL);
#endif
  {
   const varconf::Variable& tolua_ret = (const varconf::Variable&)  self->getEditedValue();
    tolua_pushusertype(tolua_S,(void*)&tolua_ret,"const varconf::Variable");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'getEditedValue'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: getOriginalValue of class  Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,std::string> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringComboboxRepresentation_getOriginalValue00
static int tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringComboboxRepresentation_getOriginalValue00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"const Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,std::string>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  const Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,std::string>* self = (const Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,std::string>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'getOriginalValue'", NULL);
#endif
  {
   const varconf::Variable& tolua_ret = (const varconf::Variable&)  self->getOriginalValue();
    tolua_pushusertype(tolua_S,(void*)&tolua_ret,"const varconf::Variable");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'getOriginalValue'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: applyChanges of class  Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,std::string> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringComboboxRepresentation_applyChanges00
static int tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringComboboxRepresentation_applyChanges00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,std::string>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,std::string>* self = (Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,std::string>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'applyChanges'", NULL);
#endif
  {
   self->applyChanges();
  }
 }
 return 0;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'applyChanges'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: hasChanges of class  Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,std::string> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringComboboxRepresentation_hasChanges00
static int tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringComboboxRepresentation_hasChanges00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"const Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,std::string>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  const Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,std::string>* self = (const Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,std::string>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'hasChanges'", NULL);
#endif
  {
   bool tolua_ret = (bool)  self->hasChanges();
   tolua_pushboolean(tolua_S,(bool)tolua_ret);
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'hasChanges'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: new of class  Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,int> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_VarconfIntComboboxRepresentation_new00
static int tolua_Representations_Ember_OgreView_Gui_Representations_VarconfIntComboboxRepresentation_new00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertable(tolua_S,1,"Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,int>",0,&tolua_err) ||
     (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const varconf::Variable",0,&tolua_err)) ||
     !tolua_isboolean(tolua_S,3,1,&tolua_err) ||
     !tolua_isnoobj(tolua_S,4,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  const varconf::Variable* value = ((const varconf::Variable*)  tolua_tousertype(tolua_S,2,0));
  bool suggestionOnly = ((bool)  tolua_toboolean(tolua_S,3,false));
  {
   Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,int>* tolua_ret = (Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,int>*)  Mtolua_new((Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,int>)(*value,suggestionOnly));
    tolua_pushusertype(tolua_S,(void*)tolua_ret,"Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,int>");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: new_local of class  Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,int> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_VarconfIntComboboxRepresentation_new00_local
static int tolua_Representations_Ember_OgreView_Gui_Representations_VarconfIntComboboxRepresentation_new00_local(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertable(tolua_S,1,"Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,int>",0,&tolua_err) ||
     (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const varconf::Variable",0,&tolua_err)) ||
     !tolua_isboolean(tolua_S,3,1,&tolua_err) ||
     !tolua_isnoobj(tolua_S,4,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  const varconf::Variable* value = ((const varconf::Variable*)  tolua_tousertype(tolua_S,2,0));
  bool suggestionOnly = ((bool)  tolua_toboolean(tolua_S,3,false));
  {
   Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,int>* tolua_ret = (Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,int>*)  Mtolua_new((Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,int>)(*value,suggestionOnly));
    tolua_pushusertype(tolua_S,(void*)tolua_ret,"Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,int>");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: delete of class  Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,int> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_VarconfIntComboboxRepresentation_delete00
static int tolua_Representations_Ember_OgreView_Gui_Representations_VarconfIntComboboxRepresentation_delete00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,int>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,int>* self = (Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,int>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL);
#endif
  Mtolua_delete(self);
 }
 return 0;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: getGuiRoot of class  Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,int> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_VarconfIntComboboxRepresentation_getGuiRoot00
static int tolua_Representations_Ember_OgreView_Gui_Representations_VarconfIntComboboxRepresentation_getGuiRoot00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,int>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,int>* self = (Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,int>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'getGuiRoot'", NULL);
#endif
  {
   CEGUI::Window* tolua_ret = (CEGUI::Window*)  self->getGuiRoot();
    tolua_pushusertype(tolua_S,(void*)tolua_ret,"CEGUI::Window");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'getGuiRoot'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: addSuggestion of class  Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,int> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_VarconfIntComboboxRepresentation_addSuggestion00
static int tolua_Representations_Ember_OgreView_Gui_Representations_VarconfIntComboboxRepresentation_addSuggestion00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,int>",0,&tolua_err) ||
     !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,3,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,int>* self = (Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,int>*)  tolua_tousertype(tolua_S,1,0);
  const std::string suggestion = ((const std::string)  tolua_tocppstring(tolua_S,2,0));
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'addSuggestion'", NULL);
#endif
  {
   self->addSuggestion(suggestion);
   tolua_pushcppstring(tolua_S,(const char*)suggestion);
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'addSuggestion'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: getEventValueChangedSignal of class  Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,int> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_VarconfIntComboboxRepresentation_getEventValueChangedSignal00
static int tolua_Representations_Ember_OgreView_Gui_Representations_VarconfIntComboboxRepresentation_getEventValueChangedSignal00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,int>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,int>* self = (Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,int>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'getEventValueChangedSignal'", NULL);
#endif
  {
   sigc::signal<void>& tolua_ret = (sigc::signal<void>&)  self->getEventValueChangedSignal();
    tolua_pushusertype(tolua_S,(void*)&tolua_ret,"sigc::signal<void>");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'getEventValueChangedSignal'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: setEditedValue of class  Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,int> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_VarconfIntComboboxRepresentation_setEditedValue00
static int tolua_Representations_Ember_OgreView_Gui_Representations_VarconfIntComboboxRepresentation_setEditedValue00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,int>",0,&tolua_err) ||
     (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const varconf::Variable",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,3,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,int>* self = (Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,int>*)  tolua_tousertype(tolua_S,1,0);
  const varconf::Variable* v = ((const varconf::Variable*)  tolua_tousertype(tolua_S,2,0));
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'setEditedValue'", NULL);
#endif
  {
   self->setEditedValue(*v);
  }
 }
 return 0;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'setEditedValue'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: getEditedValue of class  Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,int> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_VarconfIntComboboxRepresentation_getEditedValue00
static int tolua_Representations_Ember_OgreView_Gui_Representations_VarconfIntComboboxRepresentation_getEditedValue00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"const Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,int>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  const Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,int>* self = (const Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,int>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'getEditedValue'", NULL);
#endif
  {
   const varconf::Variable& tolua_ret = (const varconf::Variable&)  self->getEditedValue();
    tolua_pushusertype(tolua_S,(void*)&tolua_ret,"const varconf::Variable");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'getEditedValue'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: getOriginalValue of class  Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,int> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_VarconfIntComboboxRepresentation_getOriginalValue00
static int tolua_Representations_Ember_OgreView_Gui_Representations_VarconfIntComboboxRepresentation_getOriginalValue00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"const Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,int>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  const Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,int>* self = (const Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,int>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'getOriginalValue'", NULL);
#endif
  {
   const varconf::Variable& tolua_ret = (const varconf::Variable&)  self->getOriginalValue();
    tolua_pushusertype(tolua_S,(void*)&tolua_ret,"const varconf::Variable");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'getOriginalValue'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: applyChanges of class  Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,int> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_VarconfIntComboboxRepresentation_applyChanges00
static int tolua_Representations_Ember_OgreView_Gui_Representations_VarconfIntComboboxRepresentation_applyChanges00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,int>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,int>* self = (Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,int>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'applyChanges'", NULL);
#endif
  {
   self->applyChanges();
  }
 }
 return 0;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'applyChanges'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: hasChanges of class  Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,int> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_VarconfIntComboboxRepresentation_hasChanges00
static int tolua_Representations_Ember_OgreView_Gui_Representations_VarconfIntComboboxRepresentation_hasChanges00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"const Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,int>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  const Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,int>* self = (const Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,int>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'hasChanges'", NULL);
#endif
  {
   bool tolua_ret = (bool)  self->hasChanges();
   tolua_pushboolean(tolua_S,(bool)tolua_ret);
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'hasChanges'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: new of class  Ember::OgreView::Gui::Representations::EditboxRepresentation<Atlas::Message::Element,std::string> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringEditboxRepresentation_new00
static int tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringEditboxRepresentation_new00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertable(tolua_S,1,"Ember::OgreView::Gui::Representations::EditboxRepresentation<Atlas::Message::Element,std::string>",0,&tolua_err) ||
     (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Atlas::Message::Element",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,3,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  const Atlas::Message::Element* value = ((const Atlas::Message::Element*)  tolua_tousertype(tolua_S,2,0));
  {
   Ember::OgreView::Gui::Representations::EditboxRepresentation<Atlas::Message::Element,std::string>* tolua_ret = (Ember::OgreView::Gui::Representations::EditboxRepresentation<Atlas::Message::Element,std::string>*)  Mtolua_new((Ember::OgreView::Gui::Representations::EditboxRepresentation<Atlas::Message::Element,std::string>)(*value));
    tolua_pushusertype(tolua_S,(void*)tolua_ret,"Ember::OgreView::Gui::Representations::EditboxRepresentation<Atlas::Message::Element,std::string>");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: new_local of class  Ember::OgreView::Gui::Representations::EditboxRepresentation<Atlas::Message::Element,std::string> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringEditboxRepresentation_new00_local
static int tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringEditboxRepresentation_new00_local(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertable(tolua_S,1,"Ember::OgreView::Gui::Representations::EditboxRepresentation<Atlas::Message::Element,std::string>",0,&tolua_err) ||
     (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Atlas::Message::Element",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,3,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  const Atlas::Message::Element* value = ((const Atlas::Message::Element*)  tolua_tousertype(tolua_S,2,0));
  {
   Ember::OgreView::Gui::Representations::EditboxRepresentation<Atlas::Message::Element,std::string>* tolua_ret = (Ember::OgreView::Gui::Representations::EditboxRepresentation<Atlas::Message::Element,std::string>*)  Mtolua_new((Ember::OgreView::Gui::Representations::EditboxRepresentation<Atlas::Message::Element,std::string>)(*value));
    tolua_pushusertype(tolua_S,(void*)tolua_ret,"Ember::OgreView::Gui::Representations::EditboxRepresentation<Atlas::Message::Element,std::string>");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: delete of class  Ember::OgreView::Gui::Representations::EditboxRepresentation<Atlas::Message::Element,std::string> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringEditboxRepresentation_delete00
static int tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringEditboxRepresentation_delete00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::EditboxRepresentation<Atlas::Message::Element,std::string>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::EditboxRepresentation<Atlas::Message::Element,std::string>* self = (Ember::OgreView::Gui::Representations::EditboxRepresentation<Atlas::Message::Element,std::string>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL);
#endif
  Mtolua_delete(self);
 }
 return 0;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: getGuiRoot of class  Ember::OgreView::Gui::Representations::EditboxRepresentation<Atlas::Message::Element,std::string> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringEditboxRepresentation_getGuiRoot00
static int tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringEditboxRepresentation_getGuiRoot00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::EditboxRepresentation<Atlas::Message::Element,std::string>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::EditboxRepresentation<Atlas::Message::Element,std::string>* self = (Ember::OgreView::Gui::Representations::EditboxRepresentation<Atlas::Message::Element,std::string>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'getGuiRoot'", NULL);
#endif
  {
   CEGUI::Window* tolua_ret = (CEGUI::Window*)  self->getGuiRoot();
    tolua_pushusertype(tolua_S,(void*)tolua_ret,"CEGUI::Window");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'getGuiRoot'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: getEventValueChangedSignal of class  Ember::OgreView::Gui::Representations::EditboxRepresentation<Atlas::Message::Element,std::string> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringEditboxRepresentation_getEventValueChangedSignal00
static int tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringEditboxRepresentation_getEventValueChangedSignal00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::EditboxRepresentation<Atlas::Message::Element,std::string>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::EditboxRepresentation<Atlas::Message::Element,std::string>* self = (Ember::OgreView::Gui::Representations::EditboxRepresentation<Atlas::Message::Element,std::string>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'getEventValueChangedSignal'", NULL);
#endif
  {
   sigc::signal<void>& tolua_ret = (sigc::signal<void>&)  self->getEventValueChangedSignal();
    tolua_pushusertype(tolua_S,(void*)&tolua_ret,"sigc::signal<void>");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'getEventValueChangedSignal'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: setEditedValue of class  Ember::OgreView::Gui::Representations::EditboxRepresentation<Atlas::Message::Element,std::string> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringEditboxRepresentation_setEditedValue00
static int tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringEditboxRepresentation_setEditedValue00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::EditboxRepresentation<Atlas::Message::Element,std::string>",0,&tolua_err) ||
     (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Atlas::Message::Element",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,3,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::EditboxRepresentation<Atlas::Message::Element,std::string>* self = (Ember::OgreView::Gui::Representations::EditboxRepresentation<Atlas::Message::Element,std::string>*)  tolua_tousertype(tolua_S,1,0);
  const Atlas::Message::Element* v = ((const Atlas::Message::Element*)  tolua_tousertype(tolua_S,2,0));
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'setEditedValue'", NULL);
#endif
  {
   self->setEditedValue(*v);
  }
 }
 return 0;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'setEditedValue'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: getEditedValue of class  Ember::OgreView::Gui::Representations::EditboxRepresentation<Atlas::Message::Element,std::string> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringEditboxRepresentation_getEditedValue00
static int tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringEditboxRepresentation_getEditedValue00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"const Ember::OgreView::Gui::Representations::EditboxRepresentation<Atlas::Message::Element,std::string>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  const Ember::OgreView::Gui::Representations::EditboxRepresentation<Atlas::Message::Element,std::string>* self = (const Ember::OgreView::Gui::Representations::EditboxRepresentation<Atlas::Message::Element,std::string>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'getEditedValue'", NULL);
#endif
  {
   const Atlas::Message::Element& tolua_ret = (const Atlas::Message::Element&)  self->getEditedValue();
    tolua_pushusertype(tolua_S,(void*)&tolua_ret,"const Atlas::Message::Element");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'getEditedValue'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: getOriginalValue of class  Ember::OgreView::Gui::Representations::EditboxRepresentation<Atlas::Message::Element,std::string> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringEditboxRepresentation_getOriginalValue00
static int tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringEditboxRepresentation_getOriginalValue00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"const Ember::OgreView::Gui::Representations::EditboxRepresentation<Atlas::Message::Element,std::string>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  const Ember::OgreView::Gui::Representations::EditboxRepresentation<Atlas::Message::Element,std::string>* self = (const Ember::OgreView::Gui::Representations::EditboxRepresentation<Atlas::Message::Element,std::string>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'getOriginalValue'", NULL);
#endif
  {
   const Atlas::Message::Element& tolua_ret = (const Atlas::Message::Element&)  self->getOriginalValue();
    tolua_pushusertype(tolua_S,(void*)&tolua_ret,"const Atlas::Message::Element");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'getOriginalValue'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: applyChanges of class  Ember::OgreView::Gui::Representations::EditboxRepresentation<Atlas::Message::Element,std::string> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringEditboxRepresentation_applyChanges00
static int tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringEditboxRepresentation_applyChanges00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::EditboxRepresentation<Atlas::Message::Element,std::string>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::EditboxRepresentation<Atlas::Message::Element,std::string>* self = (Ember::OgreView::Gui::Representations::EditboxRepresentation<Atlas::Message::Element,std::string>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'applyChanges'", NULL);
#endif
  {
   self->applyChanges();
  }
 }
 return 0;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'applyChanges'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: hasChanges of class  Ember::OgreView::Gui::Representations::EditboxRepresentation<Atlas::Message::Element,std::string> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringEditboxRepresentation_hasChanges00
static int tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringEditboxRepresentation_hasChanges00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"const Ember::OgreView::Gui::Representations::EditboxRepresentation<Atlas::Message::Element,std::string>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  const Ember::OgreView::Gui::Representations::EditboxRepresentation<Atlas::Message::Element,std::string>* self = (const Ember::OgreView::Gui::Representations::EditboxRepresentation<Atlas::Message::Element,std::string>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'hasChanges'", NULL);
#endif
  {
   bool tolua_ret = (bool)  self->hasChanges();
   tolua_pushboolean(tolua_S,(bool)tolua_ret);
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'hasChanges'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: new of class  Ember::OgreView::Gui::Representations::EditboxRepresentation<varconf::Variable,std::string> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringEditboxRepresentation_new00
static int tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringEditboxRepresentation_new00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertable(tolua_S,1,"Ember::OgreView::Gui::Representations::EditboxRepresentation<varconf::Variable,std::string>",0,&tolua_err) ||
     (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const varconf::Variable",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,3,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  const varconf::Variable* value = ((const varconf::Variable*)  tolua_tousertype(tolua_S,2,0));
  {
   Ember::OgreView::Gui::Representations::EditboxRepresentation<varconf::Variable,std::string>* tolua_ret = (Ember::OgreView::Gui::Representations::EditboxRepresentation<varconf::Variable,std::string>*)  Mtolua_new((Ember::OgreView::Gui::Representations::EditboxRepresentation<varconf::Variable,std::string>)(*value));
    tolua_pushusertype(tolua_S,(void*)tolua_ret,"Ember::OgreView::Gui::Representations::EditboxRepresentation<varconf::Variable,std::string>");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: new_local of class  Ember::OgreView::Gui::Representations::EditboxRepresentation<varconf::Variable,std::string> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringEditboxRepresentation_new00_local
static int tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringEditboxRepresentation_new00_local(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertable(tolua_S,1,"Ember::OgreView::Gui::Representations::EditboxRepresentation<varconf::Variable,std::string>",0,&tolua_err) ||
     (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const varconf::Variable",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,3,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  const varconf::Variable* value = ((const varconf::Variable*)  tolua_tousertype(tolua_S,2,0));
  {
   Ember::OgreView::Gui::Representations::EditboxRepresentation<varconf::Variable,std::string>* tolua_ret = (Ember::OgreView::Gui::Representations::EditboxRepresentation<varconf::Variable,std::string>*)  Mtolua_new((Ember::OgreView::Gui::Representations::EditboxRepresentation<varconf::Variable,std::string>)(*value));
    tolua_pushusertype(tolua_S,(void*)tolua_ret,"Ember::OgreView::Gui::Representations::EditboxRepresentation<varconf::Variable,std::string>");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: delete of class  Ember::OgreView::Gui::Representations::EditboxRepresentation<varconf::Variable,std::string> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringEditboxRepresentation_delete00
static int tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringEditboxRepresentation_delete00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::EditboxRepresentation<varconf::Variable,std::string>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::EditboxRepresentation<varconf::Variable,std::string>* self = (Ember::OgreView::Gui::Representations::EditboxRepresentation<varconf::Variable,std::string>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL);
#endif
  Mtolua_delete(self);
 }
 return 0;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: getGuiRoot of class  Ember::OgreView::Gui::Representations::EditboxRepresentation<varconf::Variable,std::string> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringEditboxRepresentation_getGuiRoot00
static int tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringEditboxRepresentation_getGuiRoot00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::EditboxRepresentation<varconf::Variable,std::string>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::EditboxRepresentation<varconf::Variable,std::string>* self = (Ember::OgreView::Gui::Representations::EditboxRepresentation<varconf::Variable,std::string>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'getGuiRoot'", NULL);
#endif
  {
   CEGUI::Window* tolua_ret = (CEGUI::Window*)  self->getGuiRoot();
    tolua_pushusertype(tolua_S,(void*)tolua_ret,"CEGUI::Window");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'getGuiRoot'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: getEventValueChangedSignal of class  Ember::OgreView::Gui::Representations::EditboxRepresentation<varconf::Variable,std::string> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringEditboxRepresentation_getEventValueChangedSignal00
static int tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringEditboxRepresentation_getEventValueChangedSignal00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::EditboxRepresentation<varconf::Variable,std::string>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::EditboxRepresentation<varconf::Variable,std::string>* self = (Ember::OgreView::Gui::Representations::EditboxRepresentation<varconf::Variable,std::string>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'getEventValueChangedSignal'", NULL);
#endif
  {
   sigc::signal<void>& tolua_ret = (sigc::signal<void>&)  self->getEventValueChangedSignal();
    tolua_pushusertype(tolua_S,(void*)&tolua_ret,"sigc::signal<void>");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'getEventValueChangedSignal'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: setEditedValue of class  Ember::OgreView::Gui::Representations::EditboxRepresentation<varconf::Variable,std::string> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringEditboxRepresentation_setEditedValue00
static int tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringEditboxRepresentation_setEditedValue00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::EditboxRepresentation<varconf::Variable,std::string>",0,&tolua_err) ||
     (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const varconf::Variable",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,3,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::EditboxRepresentation<varconf::Variable,std::string>* self = (Ember::OgreView::Gui::Representations::EditboxRepresentation<varconf::Variable,std::string>*)  tolua_tousertype(tolua_S,1,0);
  const varconf::Variable* v = ((const varconf::Variable*)  tolua_tousertype(tolua_S,2,0));
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'setEditedValue'", NULL);
#endif
  {
   self->setEditedValue(*v);
  }
 }
 return 0;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'setEditedValue'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: getEditedValue of class  Ember::OgreView::Gui::Representations::EditboxRepresentation<varconf::Variable,std::string> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringEditboxRepresentation_getEditedValue00
static int tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringEditboxRepresentation_getEditedValue00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"const Ember::OgreView::Gui::Representations::EditboxRepresentation<varconf::Variable,std::string>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  const Ember::OgreView::Gui::Representations::EditboxRepresentation<varconf::Variable,std::string>* self = (const Ember::OgreView::Gui::Representations::EditboxRepresentation<varconf::Variable,std::string>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'getEditedValue'", NULL);
#endif
  {
   const varconf::Variable& tolua_ret = (const varconf::Variable&)  self->getEditedValue();
    tolua_pushusertype(tolua_S,(void*)&tolua_ret,"const varconf::Variable");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'getEditedValue'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: getOriginalValue of class  Ember::OgreView::Gui::Representations::EditboxRepresentation<varconf::Variable,std::string> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringEditboxRepresentation_getOriginalValue00
static int tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringEditboxRepresentation_getOriginalValue00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"const Ember::OgreView::Gui::Representations::EditboxRepresentation<varconf::Variable,std::string>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  const Ember::OgreView::Gui::Representations::EditboxRepresentation<varconf::Variable,std::string>* self = (const Ember::OgreView::Gui::Representations::EditboxRepresentation<varconf::Variable,std::string>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'getOriginalValue'", NULL);
#endif
  {
   const varconf::Variable& tolua_ret = (const varconf::Variable&)  self->getOriginalValue();
    tolua_pushusertype(tolua_S,(void*)&tolua_ret,"const varconf::Variable");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'getOriginalValue'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: applyChanges of class  Ember::OgreView::Gui::Representations::EditboxRepresentation<varconf::Variable,std::string> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringEditboxRepresentation_applyChanges00
static int tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringEditboxRepresentation_applyChanges00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::EditboxRepresentation<varconf::Variable,std::string>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::EditboxRepresentation<varconf::Variable,std::string>* self = (Ember::OgreView::Gui::Representations::EditboxRepresentation<varconf::Variable,std::string>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'applyChanges'", NULL);
#endif
  {
   self->applyChanges();
  }
 }
 return 0;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'applyChanges'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: hasChanges of class  Ember::OgreView::Gui::Representations::EditboxRepresentation<varconf::Variable,std::string> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringEditboxRepresentation_hasChanges00
static int tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringEditboxRepresentation_hasChanges00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"const Ember::OgreView::Gui::Representations::EditboxRepresentation<varconf::Variable,std::string>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  const Ember::OgreView::Gui::Representations::EditboxRepresentation<varconf::Variable,std::string>* self = (const Ember::OgreView::Gui::Representations::EditboxRepresentation<varconf::Variable,std::string>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'hasChanges'", NULL);
#endif
  {
   bool tolua_ret = (bool)  self->hasChanges();
   tolua_pushboolean(tolua_S,(bool)tolua_ret);
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'hasChanges'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: loadLayout of class  Ember::OgreView::Gui::Representations::LayoutHelper */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_LayoutHelper_loadLayout00
static int tolua_Representations_Ember_OgreView_Gui_Representations_LayoutHelper_loadLayout00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertable(tolua_S,1,"Ember::OgreView::Gui::Representations::LayoutHelper",0,&tolua_err) ||
     !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
     (tolua_isvaluenil(tolua_S,3,&tolua_err) || !tolua_isusertype(tolua_S,3,"CEGUI::String",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,4,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  const std::string layout = ((const std::string)  tolua_tocppstring(tolua_S,2,0));
  CEGUI::String* prefix = ((CEGUI::String*)  tolua_tousertype(tolua_S,3,0));
  {
   CEGUI::Window* tolua_ret = (CEGUI::Window*)  Ember::OgreView::Gui::Representations::LayoutHelper::loadLayout(layout,*prefix);
    tolua_pushusertype(tolua_S,(void*)tolua_ret,"CEGUI::Window");
   tolua_pushcppstring(tolua_S,(const char*)layout);
  }
 }
 return 2;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'loadLayout'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: new of class  Ember::OgreView::Gui::Representations::SliderRepresentation<Atlas::Message::Element> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_AtlasSliderRepresentation_new00
static int tolua_Representations_Ember_OgreView_Gui_Representations_AtlasSliderRepresentation_new00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertable(tolua_S,1,"Ember::OgreView::Gui::Representations::SliderRepresentation<Atlas::Message::Element>",0,&tolua_err) ||
     (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Atlas::Message::Element",0,&tolua_err)) ||
     !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
     !tolua_isboolean(tolua_S,4,1,&tolua_err) ||
     !tolua_isnoobj(tolua_S,5,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  const Atlas::Message::Element* value = ((const Atlas::Message::Element*)  tolua_tousertype(tolua_S,2,0));
  float max = ((float)  tolua_tonumber(tolua_S,3,0));
  bool showValue = ((bool)  tolua_toboolean(tolua_S,4,true));
  {
   Ember::OgreView::Gui::Representations::SliderRepresentation<Atlas::Message::Element>* tolua_ret = (Ember::OgreView::Gui::Representations::SliderRepresentation<Atlas::Message::Element>*)  Mtolua_new((Ember::OgreView::Gui::Representations::SliderRepresentation<Atlas::Message::Element>)(*value,max,showValue));
    tolua_pushusertype(tolua_S,(void*)tolua_ret,"Ember::OgreView::Gui::Representations::SliderRepresentation<Atlas::Message::Element>");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: new_local of class  Ember::OgreView::Gui::Representations::SliderRepresentation<Atlas::Message::Element> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_AtlasSliderRepresentation_new00_local
static int tolua_Representations_Ember_OgreView_Gui_Representations_AtlasSliderRepresentation_new00_local(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertable(tolua_S,1,"Ember::OgreView::Gui::Representations::SliderRepresentation<Atlas::Message::Element>",0,&tolua_err) ||
     (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Atlas::Message::Element",0,&tolua_err)) ||
     !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
     !tolua_isboolean(tolua_S,4,1,&tolua_err) ||
     !tolua_isnoobj(tolua_S,5,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  const Atlas::Message::Element* value = ((const Atlas::Message::Element*)  tolua_tousertype(tolua_S,2,0));
  float max = ((float)  tolua_tonumber(tolua_S,3,0));
  bool showValue = ((bool)  tolua_toboolean(tolua_S,4,true));
  {
   Ember::OgreView::Gui::Representations::SliderRepresentation<Atlas::Message::Element>* tolua_ret = (Ember::OgreView::Gui::Representations::SliderRepresentation<Atlas::Message::Element>*)  Mtolua_new((Ember::OgreView::Gui::Representations::SliderRepresentation<Atlas::Message::Element>)(*value,max,showValue));
    tolua_pushusertype(tolua_S,(void*)tolua_ret,"Ember::OgreView::Gui::Representations::SliderRepresentation<Atlas::Message::Element>");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: delete of class  Ember::OgreView::Gui::Representations::SliderRepresentation<Atlas::Message::Element> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_AtlasSliderRepresentation_delete00
static int tolua_Representations_Ember_OgreView_Gui_Representations_AtlasSliderRepresentation_delete00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::SliderRepresentation<Atlas::Message::Element>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::SliderRepresentation<Atlas::Message::Element>* self = (Ember::OgreView::Gui::Representations::SliderRepresentation<Atlas::Message::Element>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL);
#endif
  Mtolua_delete(self);
 }
 return 0;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: getGuiRoot of class  Ember::OgreView::Gui::Representations::SliderRepresentation<Atlas::Message::Element> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_AtlasSliderRepresentation_getGuiRoot00
static int tolua_Representations_Ember_OgreView_Gui_Representations_AtlasSliderRepresentation_getGuiRoot00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::SliderRepresentation<Atlas::Message::Element>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::SliderRepresentation<Atlas::Message::Element>* self = (Ember::OgreView::Gui::Representations::SliderRepresentation<Atlas::Message::Element>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'getGuiRoot'", NULL);
#endif
  {
   CEGUI::Window* tolua_ret = (CEGUI::Window*)  self->getGuiRoot();
    tolua_pushusertype(tolua_S,(void*)tolua_ret,"CEGUI::Window");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'getGuiRoot'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: getEventValueChangedSignal of class  Ember::OgreView::Gui::Representations::SliderRepresentation<Atlas::Message::Element> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_AtlasSliderRepresentation_getEventValueChangedSignal00
static int tolua_Representations_Ember_OgreView_Gui_Representations_AtlasSliderRepresentation_getEventValueChangedSignal00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::SliderRepresentation<Atlas::Message::Element>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::SliderRepresentation<Atlas::Message::Element>* self = (Ember::OgreView::Gui::Representations::SliderRepresentation<Atlas::Message::Element>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'getEventValueChangedSignal'", NULL);
#endif
  {
   sigc::signal<void>& tolua_ret = (sigc::signal<void>&)  self->getEventValueChangedSignal();
    tolua_pushusertype(tolua_S,(void*)&tolua_ret,"sigc::signal<void>");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'getEventValueChangedSignal'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: setEditedValue of class  Ember::OgreView::Gui::Representations::SliderRepresentation<Atlas::Message::Element> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_AtlasSliderRepresentation_setEditedValue00
static int tolua_Representations_Ember_OgreView_Gui_Representations_AtlasSliderRepresentation_setEditedValue00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::SliderRepresentation<Atlas::Message::Element>",0,&tolua_err) ||
     (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Atlas::Message::Element",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,3,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::SliderRepresentation<Atlas::Message::Element>* self = (Ember::OgreView::Gui::Representations::SliderRepresentation<Atlas::Message::Element>*)  tolua_tousertype(tolua_S,1,0);
  const Atlas::Message::Element* v = ((const Atlas::Message::Element*)  tolua_tousertype(tolua_S,2,0));
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'setEditedValue'", NULL);
#endif
  {
   self->setEditedValue(*v);
  }
 }
 return 0;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'setEditedValue'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: getEditedValue of class  Ember::OgreView::Gui::Representations::SliderRepresentation<Atlas::Message::Element> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_AtlasSliderRepresentation_getEditedValue00
static int tolua_Representations_Ember_OgreView_Gui_Representations_AtlasSliderRepresentation_getEditedValue00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"const Ember::OgreView::Gui::Representations::SliderRepresentation<Atlas::Message::Element>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  const Ember::OgreView::Gui::Representations::SliderRepresentation<Atlas::Message::Element>* self = (const Ember::OgreView::Gui::Representations::SliderRepresentation<Atlas::Message::Element>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'getEditedValue'", NULL);
#endif
  {
   const Atlas::Message::Element& tolua_ret = (const Atlas::Message::Element&)  self->getEditedValue();
    tolua_pushusertype(tolua_S,(void*)&tolua_ret,"const Atlas::Message::Element");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'getEditedValue'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: getOriginalValue of class  Ember::OgreView::Gui::Representations::SliderRepresentation<Atlas::Message::Element> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_AtlasSliderRepresentation_getOriginalValue00
static int tolua_Representations_Ember_OgreView_Gui_Representations_AtlasSliderRepresentation_getOriginalValue00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"const Ember::OgreView::Gui::Representations::SliderRepresentation<Atlas::Message::Element>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  const Ember::OgreView::Gui::Representations::SliderRepresentation<Atlas::Message::Element>* self = (const Ember::OgreView::Gui::Representations::SliderRepresentation<Atlas::Message::Element>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'getOriginalValue'", NULL);
#endif
  {
   const Atlas::Message::Element& tolua_ret = (const Atlas::Message::Element&)  self->getOriginalValue();
    tolua_pushusertype(tolua_S,(void*)&tolua_ret,"const Atlas::Message::Element");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'getOriginalValue'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: applyChanges of class  Ember::OgreView::Gui::Representations::SliderRepresentation<Atlas::Message::Element> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_AtlasSliderRepresentation_applyChanges00
static int tolua_Representations_Ember_OgreView_Gui_Representations_AtlasSliderRepresentation_applyChanges00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::SliderRepresentation<Atlas::Message::Element>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::SliderRepresentation<Atlas::Message::Element>* self = (Ember::OgreView::Gui::Representations::SliderRepresentation<Atlas::Message::Element>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'applyChanges'", NULL);
#endif
  {
   self->applyChanges();
  }
 }
 return 0;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'applyChanges'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: hasChanges of class  Ember::OgreView::Gui::Representations::SliderRepresentation<Atlas::Message::Element> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_AtlasSliderRepresentation_hasChanges00
static int tolua_Representations_Ember_OgreView_Gui_Representations_AtlasSliderRepresentation_hasChanges00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"const Ember::OgreView::Gui::Representations::SliderRepresentation<Atlas::Message::Element>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  const Ember::OgreView::Gui::Representations::SliderRepresentation<Atlas::Message::Element>* self = (const Ember::OgreView::Gui::Representations::SliderRepresentation<Atlas::Message::Element>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'hasChanges'", NULL);
#endif
  {
   bool tolua_ret = (bool)  self->hasChanges();
   tolua_pushboolean(tolua_S,(bool)tolua_ret);
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'hasChanges'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: new of class  Ember::OgreView::Gui::Representations::SliderRepresentation<varconf::Variable> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_VarconfSliderRepresentation_new00
static int tolua_Representations_Ember_OgreView_Gui_Representations_VarconfSliderRepresentation_new00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertable(tolua_S,1,"Ember::OgreView::Gui::Representations::SliderRepresentation<varconf::Variable>",0,&tolua_err) ||
     (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const varconf::Variable",0,&tolua_err)) ||
     !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
     !tolua_isboolean(tolua_S,4,1,&tolua_err) ||
     !tolua_isnoobj(tolua_S,5,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  const varconf::Variable* value = ((const varconf::Variable*)  tolua_tousertype(tolua_S,2,0));
  float max = ((float)  tolua_tonumber(tolua_S,3,0));
  bool showValue = ((bool)  tolua_toboolean(tolua_S,4,true));
  {
   Ember::OgreView::Gui::Representations::SliderRepresentation<varconf::Variable>* tolua_ret = (Ember::OgreView::Gui::Representations::SliderRepresentation<varconf::Variable>*)  Mtolua_new((Ember::OgreView::Gui::Representations::SliderRepresentation<varconf::Variable>)(*value,max,showValue));
    tolua_pushusertype(tolua_S,(void*)tolua_ret,"Ember::OgreView::Gui::Representations::SliderRepresentation<varconf::Variable>");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: new_local of class  Ember::OgreView::Gui::Representations::SliderRepresentation<varconf::Variable> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_VarconfSliderRepresentation_new00_local
static int tolua_Representations_Ember_OgreView_Gui_Representations_VarconfSliderRepresentation_new00_local(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertable(tolua_S,1,"Ember::OgreView::Gui::Representations::SliderRepresentation<varconf::Variable>",0,&tolua_err) ||
     (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const varconf::Variable",0,&tolua_err)) ||
     !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
     !tolua_isboolean(tolua_S,4,1,&tolua_err) ||
     !tolua_isnoobj(tolua_S,5,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  const varconf::Variable* value = ((const varconf::Variable*)  tolua_tousertype(tolua_S,2,0));
  float max = ((float)  tolua_tonumber(tolua_S,3,0));
  bool showValue = ((bool)  tolua_toboolean(tolua_S,4,true));
  {
   Ember::OgreView::Gui::Representations::SliderRepresentation<varconf::Variable>* tolua_ret = (Ember::OgreView::Gui::Representations::SliderRepresentation<varconf::Variable>*)  Mtolua_new((Ember::OgreView::Gui::Representations::SliderRepresentation<varconf::Variable>)(*value,max,showValue));
    tolua_pushusertype(tolua_S,(void*)tolua_ret,"Ember::OgreView::Gui::Representations::SliderRepresentation<varconf::Variable>");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: delete of class  Ember::OgreView::Gui::Representations::SliderRepresentation<varconf::Variable> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_VarconfSliderRepresentation_delete00
static int tolua_Representations_Ember_OgreView_Gui_Representations_VarconfSliderRepresentation_delete00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::SliderRepresentation<varconf::Variable>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::SliderRepresentation<varconf::Variable>* self = (Ember::OgreView::Gui::Representations::SliderRepresentation<varconf::Variable>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL);
#endif
  Mtolua_delete(self);
 }
 return 0;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: getGuiRoot of class  Ember::OgreView::Gui::Representations::SliderRepresentation<varconf::Variable> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_VarconfSliderRepresentation_getGuiRoot00
static int tolua_Representations_Ember_OgreView_Gui_Representations_VarconfSliderRepresentation_getGuiRoot00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::SliderRepresentation<varconf::Variable>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::SliderRepresentation<varconf::Variable>* self = (Ember::OgreView::Gui::Representations::SliderRepresentation<varconf::Variable>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'getGuiRoot'", NULL);
#endif
  {
   CEGUI::Window* tolua_ret = (CEGUI::Window*)  self->getGuiRoot();
    tolua_pushusertype(tolua_S,(void*)tolua_ret,"CEGUI::Window");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'getGuiRoot'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: getEventValueChangedSignal of class  Ember::OgreView::Gui::Representations::SliderRepresentation<varconf::Variable> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_VarconfSliderRepresentation_getEventValueChangedSignal00
static int tolua_Representations_Ember_OgreView_Gui_Representations_VarconfSliderRepresentation_getEventValueChangedSignal00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::SliderRepresentation<varconf::Variable>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::SliderRepresentation<varconf::Variable>* self = (Ember::OgreView::Gui::Representations::SliderRepresentation<varconf::Variable>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'getEventValueChangedSignal'", NULL);
#endif
  {
   sigc::signal<void>& tolua_ret = (sigc::signal<void>&)  self->getEventValueChangedSignal();
    tolua_pushusertype(tolua_S,(void*)&tolua_ret,"sigc::signal<void>");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'getEventValueChangedSignal'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: setEditedValue of class  Ember::OgreView::Gui::Representations::SliderRepresentation<varconf::Variable> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_VarconfSliderRepresentation_setEditedValue00
static int tolua_Representations_Ember_OgreView_Gui_Representations_VarconfSliderRepresentation_setEditedValue00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::SliderRepresentation<varconf::Variable>",0,&tolua_err) ||
     (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const varconf::Variable",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,3,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::SliderRepresentation<varconf::Variable>* self = (Ember::OgreView::Gui::Representations::SliderRepresentation<varconf::Variable>*)  tolua_tousertype(tolua_S,1,0);
  const varconf::Variable* v = ((const varconf::Variable*)  tolua_tousertype(tolua_S,2,0));
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'setEditedValue'", NULL);
#endif
  {
   self->setEditedValue(*v);
  }
 }
 return 0;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'setEditedValue'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: getEditedValue of class  Ember::OgreView::Gui::Representations::SliderRepresentation<varconf::Variable> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_VarconfSliderRepresentation_getEditedValue00
static int tolua_Representations_Ember_OgreView_Gui_Representations_VarconfSliderRepresentation_getEditedValue00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"const Ember::OgreView::Gui::Representations::SliderRepresentation<varconf::Variable>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  const Ember::OgreView::Gui::Representations::SliderRepresentation<varconf::Variable>* self = (const Ember::OgreView::Gui::Representations::SliderRepresentation<varconf::Variable>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'getEditedValue'", NULL);
#endif
  {
   const varconf::Variable& tolua_ret = (const varconf::Variable&)  self->getEditedValue();
    tolua_pushusertype(tolua_S,(void*)&tolua_ret,"const varconf::Variable");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'getEditedValue'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: getOriginalValue of class  Ember::OgreView::Gui::Representations::SliderRepresentation<varconf::Variable> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_VarconfSliderRepresentation_getOriginalValue00
static int tolua_Representations_Ember_OgreView_Gui_Representations_VarconfSliderRepresentation_getOriginalValue00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"const Ember::OgreView::Gui::Representations::SliderRepresentation<varconf::Variable>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  const Ember::OgreView::Gui::Representations::SliderRepresentation<varconf::Variable>* self = (const Ember::OgreView::Gui::Representations::SliderRepresentation<varconf::Variable>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'getOriginalValue'", NULL);
#endif
  {
   const varconf::Variable& tolua_ret = (const varconf::Variable&)  self->getOriginalValue();
    tolua_pushusertype(tolua_S,(void*)&tolua_ret,"const varconf::Variable");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'getOriginalValue'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: applyChanges of class  Ember::OgreView::Gui::Representations::SliderRepresentation<varconf::Variable> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_VarconfSliderRepresentation_applyChanges00
static int tolua_Representations_Ember_OgreView_Gui_Representations_VarconfSliderRepresentation_applyChanges00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::OgreView::Gui::Representations::SliderRepresentation<varconf::Variable>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::OgreView::Gui::Representations::SliderRepresentation<varconf::Variable>* self = (Ember::OgreView::Gui::Representations::SliderRepresentation<varconf::Variable>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'applyChanges'", NULL);
#endif
  {
   self->applyChanges();
  }
 }
 return 0;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'applyChanges'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: hasChanges of class  Ember::OgreView::Gui::Representations::SliderRepresentation<varconf::Variable> */
#ifndef TOLUA_DISABLE_tolua_Representations_Ember_OgreView_Gui_Representations_VarconfSliderRepresentation_hasChanges00
static int tolua_Representations_Ember_OgreView_Gui_Representations_VarconfSliderRepresentation_hasChanges00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"const Ember::OgreView::Gui::Representations::SliderRepresentation<varconf::Variable>",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  const Ember::OgreView::Gui::Representations::SliderRepresentation<varconf::Variable>* self = (const Ember::OgreView::Gui::Representations::SliderRepresentation<varconf::Variable>*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'hasChanges'", NULL);
#endif
  {
   bool tolua_ret = (bool)  self->hasChanges();
   tolua_pushboolean(tolua_S,(bool)tolua_ret);
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'hasChanges'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* Open function */
TOLUA_API int tolua_Representations_open (lua_State* tolua_S)
{
 tolua_open(tolua_S);
 tolua_reg_types(tolua_S);
 tolua_module(tolua_S,NULL,0);
 tolua_beginmodule(tolua_S,NULL);
  tolua_module(tolua_S,"Ember",0);
  tolua_beginmodule(tolua_S,"Ember");
   tolua_module(tolua_S,"OgreView",0);
   tolua_beginmodule(tolua_S,"OgreView");
    tolua_module(tolua_S,"Gui",0);
    tolua_beginmodule(tolua_S,"Gui");
     tolua_module(tolua_S,"Representations",0);
     tolua_beginmodule(tolua_S,"Representations");
      #ifdef __cplusplus
      tolua_cclass(tolua_S,"AtlasRepresentationBase","Ember::OgreView::Gui::Representations::RepresentationBase<Atlas::Message::Element>","",tolua_collect_Ember__OgreView__Gui__Representations__RepresentationBase_Atlas__Message__Element_);
      #else
      tolua_cclass(tolua_S,"AtlasRepresentationBase","Ember::OgreView::Gui::Representations::RepresentationBase<Atlas::Message::Element>","",NULL);
      #endif
      tolua_beginmodule(tolua_S,"AtlasRepresentationBase");
       tolua_function(tolua_S,"delete",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasRepresentationBase_delete00);
       tolua_function(tolua_S,"getGuiRoot",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasRepresentationBase_getGuiRoot00);
       tolua_function(tolua_S,"setEditedValue",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasRepresentationBase_setEditedValue00);
       tolua_function(tolua_S,"getEditedValue",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasRepresentationBase_getEditedValue00);
       tolua_function(tolua_S,"getEventValueChangedSignal",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasRepresentationBase_getEventValueChangedSignal00);
       tolua_function(tolua_S,"getOriginalValue",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasRepresentationBase_getOriginalValue00);
       tolua_function(tolua_S,"hasChanges",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasRepresentationBase_hasChanges00);
       tolua_function(tolua_S,"isRemoved",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasRepresentationBase_isRemoved00);
       tolua_function(tolua_S,"addSuggestion",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasRepresentationBase_addSuggestion00);
      tolua_endmodule(tolua_S);
     tolua_endmodule(tolua_S);
    tolua_endmodule(tolua_S);
   tolua_endmodule(tolua_S);
  tolua_endmodule(tolua_S);
  tolua_module(tolua_S,"Ember",0);
  tolua_beginmodule(tolua_S,"Ember");
   tolua_module(tolua_S,"OgreView",0);
   tolua_beginmodule(tolua_S,"OgreView");
    tolua_module(tolua_S,"Gui",0);
    tolua_beginmodule(tolua_S,"Gui");
     tolua_module(tolua_S,"Representations",0);
     tolua_beginmodule(tolua_S,"Representations");
      #ifdef __cplusplus
      tolua_cclass(tolua_S,"AtlasSingleAdapterRepresentationBase","Ember::OgreView::Gui::Representations::SingleAdapterRepresentationBase<Atlas::Message::Element>","Ember::OgreView::Gui::Representations::RepresentationBase<Atlas::Message::Element>",tolua_collect_Ember__OgreView__Gui__Representations__SingleAdapterRepresentationBase_Atlas__Message__Element_);
      #else
      tolua_cclass(tolua_S,"AtlasSingleAdapterRepresentationBase","Ember::OgreView::Gui::Representations::SingleAdapterRepresentationBase<Atlas::Message::Element>","Ember::OgreView::Gui::Representations::RepresentationBase<Atlas::Message::Element>",NULL);
      #endif
      tolua_beginmodule(tolua_S,"AtlasSingleAdapterRepresentationBase");
       tolua_function(tolua_S,"delete",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasSingleAdapterRepresentationBase_delete00);
       tolua_function(tolua_S,"getGuiRoot",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasSingleAdapterRepresentationBase_getGuiRoot00);
      tolua_endmodule(tolua_S);
     tolua_endmodule(tolua_S);
    tolua_endmodule(tolua_S);
   tolua_endmodule(tolua_S);
  tolua_endmodule(tolua_S);
  tolua_module(tolua_S,"Ember",0);
  tolua_beginmodule(tolua_S,"Ember");
   tolua_module(tolua_S,"OgreView",0);
   tolua_beginmodule(tolua_S,"OgreView");
    tolua_module(tolua_S,"Gui",0);
    tolua_beginmodule(tolua_S,"Gui");
     tolua_module(tolua_S,"Representations",0);
     tolua_beginmodule(tolua_S,"Representations");
      #ifdef __cplusplus
      tolua_cclass(tolua_S,"AtlasCheckboxRepresentation","Ember::OgreView::Gui::Representations::CheckboxRepresentation<Atlas::Message::Element>","Ember::OgreView::Gui::Representations::SingleAdapterRepresentationBase<Atlas::Message::Element>",tolua_collect_Ember__OgreView__Gui__Representations__CheckboxRepresentation_Atlas__Message__Element_);
      #else
      tolua_cclass(tolua_S,"AtlasCheckboxRepresentation","Ember::OgreView::Gui::Representations::CheckboxRepresentation<Atlas::Message::Element>","Ember::OgreView::Gui::Representations::SingleAdapterRepresentationBase<Atlas::Message::Element>",NULL);
      #endif
      tolua_beginmodule(tolua_S,"AtlasCheckboxRepresentation");
       tolua_function(tolua_S,"new",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasCheckboxRepresentation_new00);
       tolua_function(tolua_S,"new_local",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasCheckboxRepresentation_new00_local);
       tolua_function(tolua_S,".call",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasCheckboxRepresentation_new00_local);
       tolua_function(tolua_S,"delete",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasCheckboxRepresentation_delete00);
       tolua_function(tolua_S,"getGuiRoot",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasCheckboxRepresentation_getGuiRoot00);
       tolua_function(tolua_S,"getEventValueChangedSignal",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasCheckboxRepresentation_getEventValueChangedSignal00);
       tolua_function(tolua_S,"setEditedValue",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasCheckboxRepresentation_setEditedValue00);
       tolua_function(tolua_S,"getEditedValue",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasCheckboxRepresentation_getEditedValue00);
       tolua_function(tolua_S,"getOriginalValue",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasCheckboxRepresentation_getOriginalValue00);
       tolua_function(tolua_S,"applyChanges",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasCheckboxRepresentation_applyChanges00);
       tolua_function(tolua_S,"hasChanges",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasCheckboxRepresentation_hasChanges00);
      tolua_endmodule(tolua_S);
      #ifdef __cplusplus
      tolua_cclass(tolua_S,"VarconfCheckboxRepresentation","Ember::OgreView::Gui::Representations::CheckboxRepresentation<varconf::Variable>","SingleAdapterRepresentationBase<varconf::Variable>",tolua_collect_Ember__OgreView__Gui__Representations__CheckboxRepresentation_varconf__Variable_);
      #else
      tolua_cclass(tolua_S,"VarconfCheckboxRepresentation","Ember::OgreView::Gui::Representations::CheckboxRepresentation<varconf::Variable>","SingleAdapterRepresentationBase<varconf::Variable>",NULL);
      #endif
      tolua_beginmodule(tolua_S,"VarconfCheckboxRepresentation");
       tolua_function(tolua_S,"new",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfCheckboxRepresentation_new00);
       tolua_function(tolua_S,"new_local",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfCheckboxRepresentation_new00_local);
       tolua_function(tolua_S,".call",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfCheckboxRepresentation_new00_local);
       tolua_function(tolua_S,"delete",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfCheckboxRepresentation_delete00);
       tolua_function(tolua_S,"getGuiRoot",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfCheckboxRepresentation_getGuiRoot00);
       tolua_function(tolua_S,"getEventValueChangedSignal",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfCheckboxRepresentation_getEventValueChangedSignal00);
       tolua_function(tolua_S,"setEditedValue",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfCheckboxRepresentation_setEditedValue00);
       tolua_function(tolua_S,"getEditedValue",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfCheckboxRepresentation_getEditedValue00);
       tolua_function(tolua_S,"getOriginalValue",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfCheckboxRepresentation_getOriginalValue00);
       tolua_function(tolua_S,"applyChanges",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfCheckboxRepresentation_applyChanges00);
       tolua_function(tolua_S,"hasChanges",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfCheckboxRepresentation_hasChanges00);
      tolua_endmodule(tolua_S);
     tolua_endmodule(tolua_S);
    tolua_endmodule(tolua_S);
   tolua_endmodule(tolua_S);
  tolua_endmodule(tolua_S);
  tolua_module(tolua_S,"Ember",0);
  tolua_beginmodule(tolua_S,"Ember");
   tolua_module(tolua_S,"OgreView",0);
   tolua_beginmodule(tolua_S,"OgreView");
    tolua_module(tolua_S,"Gui",0);
    tolua_beginmodule(tolua_S,"Gui");
     tolua_module(tolua_S,"Representations",0);
     tolua_beginmodule(tolua_S,"Representations");
      #ifdef __cplusplus
      tolua_cclass(tolua_S,"AtlasStringComboboxRepresentation","Ember::OgreView::Gui::Representations::ComboboxRepresentation<Atlas::Message::Element,std::string>","SingleAdapterRepresentationBase<ValueType>",tolua_collect_Ember__OgreView__Gui__Representations__ComboboxRepresentation_Atlas__Message__Element_std__string_);
      #else
      tolua_cclass(tolua_S,"AtlasStringComboboxRepresentation","Ember::OgreView::Gui::Representations::ComboboxRepresentation<Atlas::Message::Element,std::string>","SingleAdapterRepresentationBase<ValueType>",NULL);
      #endif
      tolua_beginmodule(tolua_S,"AtlasStringComboboxRepresentation");
       tolua_function(tolua_S,"new",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringComboboxRepresentation_new00);
       tolua_function(tolua_S,"new_local",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringComboboxRepresentation_new00_local);
       tolua_function(tolua_S,".call",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringComboboxRepresentation_new00_local);
       tolua_function(tolua_S,"delete",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringComboboxRepresentation_delete00);
       tolua_function(tolua_S,"getGuiRoot",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringComboboxRepresentation_getGuiRoot00);
       tolua_function(tolua_S,"addSuggestion",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringComboboxRepresentation_addSuggestion00);
       tolua_function(tolua_S,"getEventValueChangedSignal",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringComboboxRepresentation_getEventValueChangedSignal00);
       tolua_function(tolua_S,"setEditedValue",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringComboboxRepresentation_setEditedValue00);
       tolua_function(tolua_S,"getEditedValue",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringComboboxRepresentation_getEditedValue00);
       tolua_function(tolua_S,"getOriginalValue",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringComboboxRepresentation_getOriginalValue00);
       tolua_function(tolua_S,"applyChanges",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringComboboxRepresentation_applyChanges00);
       tolua_function(tolua_S,"hasChanges",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringComboboxRepresentation_hasChanges00);
      tolua_endmodule(tolua_S);
      #ifdef __cplusplus
      tolua_cclass(tolua_S,"VarconfStringComboboxRepresentation","Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,std::string>","SingleAdapterRepresentationBase<ValueType>",tolua_collect_Ember__OgreView__Gui__Representations__ComboboxRepresentation_varconf__Variable_std__string_);
      #else
      tolua_cclass(tolua_S,"VarconfStringComboboxRepresentation","Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,std::string>","SingleAdapterRepresentationBase<ValueType>",NULL);
      #endif
      tolua_beginmodule(tolua_S,"VarconfStringComboboxRepresentation");
       tolua_function(tolua_S,"new",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringComboboxRepresentation_new00);
       tolua_function(tolua_S,"new_local",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringComboboxRepresentation_new00_local);
       tolua_function(tolua_S,".call",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringComboboxRepresentation_new00_local);
       tolua_function(tolua_S,"delete",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringComboboxRepresentation_delete00);
       tolua_function(tolua_S,"getGuiRoot",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringComboboxRepresentation_getGuiRoot00);
       tolua_function(tolua_S,"addSuggestion",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringComboboxRepresentation_addSuggestion00);
       tolua_function(tolua_S,"getEventValueChangedSignal",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringComboboxRepresentation_getEventValueChangedSignal00);
       tolua_function(tolua_S,"setEditedValue",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringComboboxRepresentation_setEditedValue00);
       tolua_function(tolua_S,"getEditedValue",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringComboboxRepresentation_getEditedValue00);
       tolua_function(tolua_S,"getOriginalValue",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringComboboxRepresentation_getOriginalValue00);
       tolua_function(tolua_S,"applyChanges",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringComboboxRepresentation_applyChanges00);
       tolua_function(tolua_S,"hasChanges",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringComboboxRepresentation_hasChanges00);
      tolua_endmodule(tolua_S);
      #ifdef __cplusplus
      tolua_cclass(tolua_S,"VarconfIntComboboxRepresentation","Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,int>","SingleAdapterRepresentationBase<ValueType>",tolua_collect_Ember__OgreView__Gui__Representations__ComboboxRepresentation_varconf__Variable_int_);
      #else
      tolua_cclass(tolua_S,"VarconfIntComboboxRepresentation","Ember::OgreView::Gui::Representations::ComboboxRepresentation<varconf::Variable,int>","SingleAdapterRepresentationBase<ValueType>",NULL);
      #endif
      tolua_beginmodule(tolua_S,"VarconfIntComboboxRepresentation");
       tolua_function(tolua_S,"new",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfIntComboboxRepresentation_new00);
       tolua_function(tolua_S,"new_local",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfIntComboboxRepresentation_new00_local);
       tolua_function(tolua_S,".call",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfIntComboboxRepresentation_new00_local);
       tolua_function(tolua_S,"delete",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfIntComboboxRepresentation_delete00);
       tolua_function(tolua_S,"getGuiRoot",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfIntComboboxRepresentation_getGuiRoot00);
       tolua_function(tolua_S,"addSuggestion",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfIntComboboxRepresentation_addSuggestion00);
       tolua_function(tolua_S,"getEventValueChangedSignal",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfIntComboboxRepresentation_getEventValueChangedSignal00);
       tolua_function(tolua_S,"setEditedValue",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfIntComboboxRepresentation_setEditedValue00);
       tolua_function(tolua_S,"getEditedValue",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfIntComboboxRepresentation_getEditedValue00);
       tolua_function(tolua_S,"getOriginalValue",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfIntComboboxRepresentation_getOriginalValue00);
       tolua_function(tolua_S,"applyChanges",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfIntComboboxRepresentation_applyChanges00);
       tolua_function(tolua_S,"hasChanges",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfIntComboboxRepresentation_hasChanges00);
      tolua_endmodule(tolua_S);
     tolua_endmodule(tolua_S);
    tolua_endmodule(tolua_S);
   tolua_endmodule(tolua_S);
  tolua_endmodule(tolua_S);
  tolua_module(tolua_S,"Ember",0);
  tolua_beginmodule(tolua_S,"Ember");
   tolua_module(tolua_S,"OgreView",0);
   tolua_beginmodule(tolua_S,"OgreView");
    tolua_module(tolua_S,"Gui",0);
    tolua_beginmodule(tolua_S,"Gui");
     tolua_module(tolua_S,"Representations",0);
     tolua_beginmodule(tolua_S,"Representations");
      #ifdef __cplusplus
      tolua_cclass(tolua_S,"AtlasStringEditboxRepresentation","Ember::OgreView::Gui::Representations::EditboxRepresentation<Atlas::Message::Element,std::string>","SingleAdapterRepresentationBase<ValueType>",tolua_collect_Ember__OgreView__Gui__Representations__EditboxRepresentation_Atlas__Message__Element_std__string_);
      #else
      tolua_cclass(tolua_S,"AtlasStringEditboxRepresentation","Ember::OgreView::Gui::Representations::EditboxRepresentation<Atlas::Message::Element,std::string>","SingleAdapterRepresentationBase<ValueType>",NULL);
      #endif
      tolua_beginmodule(tolua_S,"AtlasStringEditboxRepresentation");
       tolua_function(tolua_S,"new",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringEditboxRepresentation_new00);
       tolua_function(tolua_S,"new_local",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringEditboxRepresentation_new00_local);
       tolua_function(tolua_S,".call",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringEditboxRepresentation_new00_local);
       tolua_function(tolua_S,"delete",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringEditboxRepresentation_delete00);
       tolua_function(tolua_S,"getGuiRoot",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringEditboxRepresentation_getGuiRoot00);
       tolua_function(tolua_S,"getEventValueChangedSignal",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringEditboxRepresentation_getEventValueChangedSignal00);
       tolua_function(tolua_S,"setEditedValue",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringEditboxRepresentation_setEditedValue00);
       tolua_function(tolua_S,"getEditedValue",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringEditboxRepresentation_getEditedValue00);
       tolua_function(tolua_S,"getOriginalValue",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringEditboxRepresentation_getOriginalValue00);
       tolua_function(tolua_S,"applyChanges",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringEditboxRepresentation_applyChanges00);
       tolua_function(tolua_S,"hasChanges",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasStringEditboxRepresentation_hasChanges00);
      tolua_endmodule(tolua_S);
      #ifdef __cplusplus
      tolua_cclass(tolua_S,"VarconfStringEditboxRepresentation","Ember::OgreView::Gui::Representations::EditboxRepresentation<varconf::Variable,std::string>","SingleAdapterRepresentationBase<ValueType>",tolua_collect_Ember__OgreView__Gui__Representations__EditboxRepresentation_varconf__Variable_std__string_);
      #else
      tolua_cclass(tolua_S,"VarconfStringEditboxRepresentation","Ember::OgreView::Gui::Representations::EditboxRepresentation<varconf::Variable,std::string>","SingleAdapterRepresentationBase<ValueType>",NULL);
      #endif
      tolua_beginmodule(tolua_S,"VarconfStringEditboxRepresentation");
       tolua_function(tolua_S,"new",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringEditboxRepresentation_new00);
       tolua_function(tolua_S,"new_local",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringEditboxRepresentation_new00_local);
       tolua_function(tolua_S,".call",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringEditboxRepresentation_new00_local);
       tolua_function(tolua_S,"delete",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringEditboxRepresentation_delete00);
       tolua_function(tolua_S,"getGuiRoot",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringEditboxRepresentation_getGuiRoot00);
       tolua_function(tolua_S,"getEventValueChangedSignal",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringEditboxRepresentation_getEventValueChangedSignal00);
       tolua_function(tolua_S,"setEditedValue",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringEditboxRepresentation_setEditedValue00);
       tolua_function(tolua_S,"getEditedValue",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringEditboxRepresentation_getEditedValue00);
       tolua_function(tolua_S,"getOriginalValue",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringEditboxRepresentation_getOriginalValue00);
       tolua_function(tolua_S,"applyChanges",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringEditboxRepresentation_applyChanges00);
       tolua_function(tolua_S,"hasChanges",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfStringEditboxRepresentation_hasChanges00);
      tolua_endmodule(tolua_S);
     tolua_endmodule(tolua_S);
    tolua_endmodule(tolua_S);
   tolua_endmodule(tolua_S);
  tolua_endmodule(tolua_S);
  tolua_module(tolua_S,"Ember",0);
  tolua_beginmodule(tolua_S,"Ember");
   tolua_module(tolua_S,"OgreView",0);
   tolua_beginmodule(tolua_S,"OgreView");
    tolua_module(tolua_S,"Gui",0);
    tolua_beginmodule(tolua_S,"Gui");
     tolua_module(tolua_S,"Representations",0);
     tolua_beginmodule(tolua_S,"Representations");
      tolua_cclass(tolua_S,"LayoutHelper","Ember::OgreView::Gui::Representations::LayoutHelper","",NULL);
      tolua_beginmodule(tolua_S,"LayoutHelper");
       tolua_function(tolua_S,"loadLayout",tolua_Representations_Ember_OgreView_Gui_Representations_LayoutHelper_loadLayout00);
      tolua_endmodule(tolua_S);
     tolua_endmodule(tolua_S);
    tolua_endmodule(tolua_S);
   tolua_endmodule(tolua_S);
  tolua_endmodule(tolua_S);
  tolua_module(tolua_S,"Ember",0);
  tolua_beginmodule(tolua_S,"Ember");
   tolua_module(tolua_S,"OgreView",0);
   tolua_beginmodule(tolua_S,"OgreView");
    tolua_module(tolua_S,"Gui",0);
    tolua_beginmodule(tolua_S,"Gui");
     tolua_module(tolua_S,"Representations",0);
     tolua_beginmodule(tolua_S,"Representations");
      #ifdef __cplusplus
      tolua_cclass(tolua_S,"AtlasSliderRepresentation","Ember::OgreView::Gui::Representations::SliderRepresentation<Atlas::Message::Element>","Ember::OgreView::Gui::Representations::SingleAdapterRepresentationBase<Atlas::Message::Element>",tolua_collect_Ember__OgreView__Gui__Representations__SliderRepresentation_Atlas__Message__Element_);
      #else
      tolua_cclass(tolua_S,"AtlasSliderRepresentation","Ember::OgreView::Gui::Representations::SliderRepresentation<Atlas::Message::Element>","Ember::OgreView::Gui::Representations::SingleAdapterRepresentationBase<Atlas::Message::Element>",NULL);
      #endif
      tolua_beginmodule(tolua_S,"AtlasSliderRepresentation");
       tolua_function(tolua_S,"new",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasSliderRepresentation_new00);
       tolua_function(tolua_S,"new_local",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasSliderRepresentation_new00_local);
       tolua_function(tolua_S,".call",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasSliderRepresentation_new00_local);
       tolua_function(tolua_S,"delete",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasSliderRepresentation_delete00);
       tolua_function(tolua_S,"getGuiRoot",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasSliderRepresentation_getGuiRoot00);
       tolua_function(tolua_S,"getEventValueChangedSignal",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasSliderRepresentation_getEventValueChangedSignal00);
       tolua_function(tolua_S,"setEditedValue",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasSliderRepresentation_setEditedValue00);
       tolua_function(tolua_S,"getEditedValue",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasSliderRepresentation_getEditedValue00);
       tolua_function(tolua_S,"getOriginalValue",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasSliderRepresentation_getOriginalValue00);
       tolua_function(tolua_S,"applyChanges",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasSliderRepresentation_applyChanges00);
       tolua_function(tolua_S,"hasChanges",tolua_Representations_Ember_OgreView_Gui_Representations_AtlasSliderRepresentation_hasChanges00);
      tolua_endmodule(tolua_S);
      #ifdef __cplusplus
      tolua_cclass(tolua_S,"VarconfSliderRepresentation","Ember::OgreView::Gui::Representations::SliderRepresentation<varconf::Variable>","SingleAdapterRepresentationBase<varconf::Variable>",tolua_collect_Ember__OgreView__Gui__Representations__SliderRepresentation_varconf__Variable_);
      #else
      tolua_cclass(tolua_S,"VarconfSliderRepresentation","Ember::OgreView::Gui::Representations::SliderRepresentation<varconf::Variable>","SingleAdapterRepresentationBase<varconf::Variable>",NULL);
      #endif
      tolua_beginmodule(tolua_S,"VarconfSliderRepresentation");
       tolua_function(tolua_S,"new",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfSliderRepresentation_new00);
       tolua_function(tolua_S,"new_local",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfSliderRepresentation_new00_local);
       tolua_function(tolua_S,".call",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfSliderRepresentation_new00_local);
       tolua_function(tolua_S,"delete",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfSliderRepresentation_delete00);
       tolua_function(tolua_S,"getGuiRoot",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfSliderRepresentation_getGuiRoot00);
       tolua_function(tolua_S,"getEventValueChangedSignal",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfSliderRepresentation_getEventValueChangedSignal00);
       tolua_function(tolua_S,"setEditedValue",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfSliderRepresentation_setEditedValue00);
       tolua_function(tolua_S,"getEditedValue",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfSliderRepresentation_getEditedValue00);
       tolua_function(tolua_S,"getOriginalValue",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfSliderRepresentation_getOriginalValue00);
       tolua_function(tolua_S,"applyChanges",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfSliderRepresentation_applyChanges00);
       tolua_function(tolua_S,"hasChanges",tolua_Representations_Ember_OgreView_Gui_Representations_VarconfSliderRepresentation_hasChanges00);
      tolua_endmodule(tolua_S);
     tolua_endmodule(tolua_S);
    tolua_endmodule(tolua_S);
   tolua_endmodule(tolua_S);
  tolua_endmodule(tolua_S);
 tolua_endmodule(tolua_S);
 return 1;
}


#if defined(LUA_VERSION_NUM) && LUA_VERSION_NUM >= 501
 TOLUA_API int luaopen_Representations (lua_State* tolua_S) {
 return tolua_Representations_open(tolua_S);
};
#endif

