/usr/include/luabind
NameSizeModeActions
detail/-0755rm
adopt_policy.hpp50910644editdlrm
back_reference.hpp31110644editdlrm
back_reference_fwd.hpp14950644editdlrm
build_information.hpp20150644editdlrm
class.hpp274900644editdlrm
class_info.hpp17040644editdlrm
config.hpp52320644editdlrm
container_policy.hpp49510644editdlrm
copy_policy.hpp13130644editdlrm
dependency_policy.hpp26910644editdlrm
discard_result_policy.hpp25120644editdlrm
error.hpp33450644editdlrm
error_callback_fun.hpp17500644editdlrm
exception_handler.hpp20860644editdlrm
from_stack.hpp14850644editdlrm
function.hpp15190644editdlrm
function_converter.hpp40210644editdlrm
function_introspection.hpp19490644editdlrm
get_main_thread.hpp5220644editdlrm
get_pointer.hpp15540644editdlrm
handle.hpp42180644editdlrm
intrusive_ptr_converter.hpp17890644editdlrm
iterator_policy.hpp29820644editdlrm
luabind.hpp13560644editdlrm
lua_include.hpp26650644editdlrm
lua_state_fwd.hpp13570644editdlrm
make_function.hpp32380644editdlrm
nil.hpp13680644editdlrm
no_dependency.hpp9030644editdlrm
object.hpp12910644editdlrm
object_fwd.hpp3310644editdlrm
open.hpp13710644editdlrm
operator.hpp89930644editdlrm
out_value_policy.hpp120290644editdlrm
prefix.hpp12650644editdlrm
raw_policy.hpp24260644editdlrm
return_reference_to_policy.hpp26610644editdlrm
scope.hpp29440644editdlrm
set_package_preload.hpp24520644editdlrm
shared_ptr_converter.hpp52740644editdlrm
stack.hpp40160644editdlrm
std_shared_ptr_converter.hpp22710644editdlrm
tag_function.hpp16220644editdlrm
typeid.hpp24980644editdlrm
value_wrapper.hpp42410644editdlrm
version.hpp5130644editdlrm
weak_ref.hpp18340644editdlrm
wrapper_base.hpp59870644editdlrm
yield_policy.hpp17340644editdlrm
Edit: /usr/include/luabind/typeid.hpp (2498B)
// Copyright Daniel Wallin 2008. Use, modification and distribution is // subject to the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #ifndef LUABIND_TYPEID_081227_HPP # define LUABIND_TYPEID_081227_HPP # include # include # include # include # include # include // boost/units/detail/utility.hpp # if defined(__GLIBCXX__) || defined(__GLIBCPP__) # define LUABIND_USE_DEMANGLING # include # endif // __GNUC__ // See https://svn.boost.org/trac/boost/ticket/754 # if (defined(__GNUC__) && __GNUC__ >= 3) \ || defined(_AIX) \ || (defined(__sgi) && defined(__host_mips)) \ || (defined(__hpux) && defined(__HP_aCC)) \ || (defined(linux) && defined(__INTEL_COMPILER) && defined(__ICC)) # define LUABIND_SAFE_TYPEID # endif namespace luabind { # ifdef BOOST_MSVC # pragma warning(push) // std::type_info::before() returns int, rather than bool. // At least on MSVC7.1, this is true for the comparison // operators as well. # pragma warning(disable:4800) # endif class type_id : boost::less_than_comparable { public: type_id() : m_id(&typeid(detail::null_type)) {} type_id(std::type_info const& id) : m_id(&id) {} bool operator!=(type_id const& other) const { # ifdef LUABIND_SAFE_TYPEID return std::strcmp(m_id->name(), other.m_id->name()) != 0; # else return *m_id != *other.m_id; # endif } bool operator==(type_id const& other) const { # ifdef LUABIND_SAFE_TYPEID return std::strcmp(m_id->name(), other.m_id->name()) == 0; # else return *m_id == *other.m_id; # endif } bool operator<(type_id const& other) const { # ifdef LUABIND_SAFE_TYPEID return std::strcmp(m_id->name(), other.m_id->name()) < 0; # else return m_id->before(*other.m_id); # endif } std::string name() const { # ifdef LUABIND_USE_DEMANGLING int status; char* buf = abi::__cxa_demangle(m_id->name(), 0, 0, &status); if (buf != 0) { std::string demangled_name(buf); std::free(buf); return demangled_name; } # endif return m_id->name(); } private: std::type_info const* m_id; }; # ifdef BOOST_MSVC # pragma warning(pop) # endif } // namespace luabind #endif // LUABIND_TYPEID_081227_HPP