SourceForge.net Logo

/home/chris/Projects/eval/fwrap.hpp File Reference

Defines the eval::fwrap class and associated exceptions. More...

Go to the source code of this file.

Namespaces

namespace  eval
namespace  eval::detail

Classes

class  eval::null_ptr_exception
class  eval::arity_mismatch_exception
 Exception can be prevent by checking fwrap.arity(). More...
class  eval::arg_info
class  eval::detail::val_cast_ptr_or_ref< T >
class  eval::detail::val_cast_ptr_or_ref< T * >
class  eval::detail::val_cast_ptr_or_ref< T & >
class  eval::detail::arg_info_generator< T >
class  eval::detail::arg_info_generator< T * >
class  eval::detail::arg_info_generator< T & >
class  eval::detail::fwrap_store_base
class  eval::detail::func_store< T >
 primary template specialisation More...
class  eval::detail::ctor_store< ObjT, T >
 primary template specialisation More...
class  eval::detail::func_store< RvT(*)(BOOST_PP_ENUM_PARAMS(n, T))>
class  eval::detail::func_store< void(*)(BOOST_PP_ENUM_PARAMS(n, T))>
class  eval::detail::func_store< RvT(ObjT::*)(BOOST_PP_ENUM_PARAMS(n, T))>
class  eval::detail::func_store< RvT(ObjT::*)(BOOST_PP_ENUM_PARAMS(n, T)) const >
class  eval::detail::func_store< void(ObjT::*)(BOOST_PP_ENUM_PARAMS(n, T))>
class  eval::detail::func_store< void(ObjT::*)(BOOST_PP_ENUM_PARAMS(n, T)) const >
class  eval::detail::ctor_store< ObjT, void(*)(BOOST_PP_ENUM_PARAMS(n, T))>
class  eval::fwrap
 A generic class for wrapping functions, methods and constructors. More...

Typedefs

typedef std::vector< val > eval::fwrap_args

Enumerations

enum  eval::fwrap_fn_type { eval::FWRAP_CONST_METHOD = 1, eval::FWRAP_METHOD, eval::FWRAP_CONSTRUCTOR, eval::FWRAP_FUNCTION }

Functions

template<typename T>
val eval::detail::create_val (T &x, const boost::true_type &)
 x was a reference originally
template<typename T>
val eval::detail::create_val (T &x, const boost::false_type &)
 x was not a reference originally
template<typename T>
val eval::detail::create_val (T *x, const boost::false_type &)


Detailed Description

Defines the eval::fwrap class and associated exceptions.

For testing, you may wish to run the preprocessor on this file (to expand the looping). E.g. for g++:

 g++ -E -I. fwrap.hpp -o temp.txt    

Generated on Sat Sep 20 20:02:34 2008 for eval by  doxygen 1.5.6