OOLua  2.0.1
C++ and Lua binding
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
oolua_string.h File Reference

Provides a method of not including the string header in DSL header files and allows other string types to be easily integrated. More...

#include "lvd_type_traits.h"
#include "proxy_test.h"

Namespaces

 OOLUA
 This is the root namespace of the Library.
 
 OOLUA::STRING
 Defines which type of string classes can be pulled and pushed from the stack with the public API and the DSL.
 

Macros

#define OOLUA_CLASS_OR_BASE_CONTAINS_METHOD(StructName, MethodSignature, MethodName)
 Creates a structure that enables checking a class type for a specific function signature that has a specific name. More...
 

Functions

template<typename StringType >
bool OOLUA::STRING::push (lua_State *const vm, StringType const &value)
 Function to which public API calls resolve to.
 
template<typename StringType >
bool OOLUA::STRING::pull (lua_State *const vm, StringType &value)
 Function to which public API calls resolve to.
 
template<typename StringType >
void OOLUA::STRING::get (lua_State *const vm, int idx, StringType &value)
 Internal function used by the DSL to retrieve a string from the stack. More...
 

Detailed Description

Provides a method of not including the string header in DSL header files and allows other string types to be easily integrated.