ReFRACtor
FullPhysics::BridgeLuabindAndGeneric< T > Class Template Reference

Instance of BridgeLuabindAndGenericBase for a particular type. More...

#include <luabind_object.h>

+ Inheritance diagram for FullPhysics::BridgeLuabindAndGeneric< T >:
+ Collaboration diagram for FullPhysics::BridgeLuabindAndGeneric< T >:

Public Member Functions

 BridgeLuabindAndGeneric ()
 
virtual ~BridgeLuabindAndGeneric ()
 
virtual boost::shared_ptr< LuabindObjectluabind_object (const boost::shared_ptr< LuaState > &Ls, const boost::shared_ptr< GenericObject > &Obj) const
 Create a LuabindObject from the given type, or return a null pointer if we can't. More...
 
virtual bool set_index (LuabindObject &Lobj, int Vidx, const boost::shared_ptr< GenericObject > &Obj)
 Set a value if we can. Return true if we set the value, false otherwise. More...
 
virtual bool set_value (LuabindObject &Lobj, const std::string &Vname, const boost::shared_ptr< GenericObject > &Obj)
 Set a value if we can. Return true if we set the value, false otherwise. More...
 
virtual boost::shared_ptr< GenericObjectvalue (const LuabindObject &Lobj) const
 Return a GenericObject if we can convert, or a null pointer if we can't. More...
 

Detailed Description

template<class T>
class FullPhysics::BridgeLuabindAndGeneric< T >

Instance of BridgeLuabindAndGenericBase for a particular type.

Definition at line 486 of file luabind_object.h.

Constructor & Destructor Documentation

◆ BridgeLuabindAndGeneric()

Definition at line 489 of file luabind_object.h.

◆ ~BridgeLuabindAndGeneric()

template<class T >
virtual FullPhysics::BridgeLuabindAndGeneric< T >::~BridgeLuabindAndGeneric ( )
inlinevirtual

Definition at line 490 of file luabind_object.h.

Member Function Documentation

◆ luabind_object()

template<class T >
virtual boost::shared_ptr<LuabindObject> FullPhysics::BridgeLuabindAndGeneric< T >::luabind_object ( const boost::shared_ptr< LuaState > &  Ls,
const boost::shared_ptr< GenericObject > &  Obj 
) const
inlinevirtual

Create a LuabindObject from the given type, or return a null pointer if we can't.

Implements FullPhysics::BridgeLuabindAndGenericBase.

Definition at line 492 of file luabind_object.h.

◆ set_index()

template<class T >
virtual bool FullPhysics::BridgeLuabindAndGeneric< T >::set_index ( LuabindObject Lobj,
int  Vidx,
const boost::shared_ptr< GenericObject > &  Obj 
)
inlinevirtual

Set a value if we can. Return true if we set the value, false otherwise.

Implements FullPhysics::BridgeLuabindAndGenericBase.

Definition at line 522 of file luabind_object.h.

◆ set_value()

template<class T >
virtual bool FullPhysics::BridgeLuabindAndGeneric< T >::set_value ( LuabindObject Lobj,
const std::string &  Vname,
const boost::shared_ptr< GenericObject > &  Obj 
)
inlinevirtual

Set a value if we can. Return true if we set the value, false otherwise.

Implements FullPhysics::BridgeLuabindAndGenericBase.

Definition at line 511 of file luabind_object.h.

◆ value()

template<class T >
virtual boost::shared_ptr<GenericObject> FullPhysics::BridgeLuabindAndGeneric< T >::value ( const LuabindObject Lobj) const
inlinevirtual

Return a GenericObject if we can convert, or a null pointer if we can't.

Implements FullPhysics::BridgeLuabindAndGenericBase.

Definition at line 503 of file luabind_object.h.


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

Copyright © 2017, California Institute of Technology.
ALL RIGHTS RESERVED.
U.S. Government Sponsorship acknowledged.
Generated Fri Aug 24 2018 15:44:12