Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::python::init<> Class Template Reference

#include <init.hpp>

Inheritance diagram for boost::python::init<>:
Collaboration diagram for boost::python::init<>:

Public Types

typedef init
< BOOST_PP_ENUM_PARAMS_Z(1,
BOOST_PYTHON_MAX_ARITY, T) > 
self_t
 
typedef detail::type_list
< BOOST_PP_ENUM_PARAMS_Z(1,
BOOST_PYTHON_MAX_ARITY, T) > 
signature_
 
typedef detail::is_optional
< typename mpl::eval_if
< mpl::empty< signature_ >
, mpl::false_, mpl::back
< signature_ > >::type
back_is_optional
 
typedef mpl::eval_if
< back_is_optional, mpl::back
< signature_ >, mpl::vector0
<> >::type 
optional_args
 
typedef mpl::eval_if
< back_is_optional, mpl::if_
< mpl::empty< optional_args >
, detail::drop1< signature_ >
, mpl::joint_view
< detail::drop1< signature_ >
, optional_args >
>, signature_ >::type 
signature
 
typedef mpl::size< optional_argsn_defaults
 
typedef mpl::size< signaturen_arguments
 

Public Member Functions

 init (char const *doc_=0)
 
template<std::size_t N>
 init (char const *doc_, detail::keywords< N > const &kw)
 
template<std::size_t N>
 init (detail::keywords< N > const &kw, char const *doc_=0)
 
template<class CallPoliciesT >
init_with_call_policies
< CallPoliciesT, self_t
operator[] (CallPoliciesT const &policies) const
 
init< BOOST_PP_ENUM_PARAMS_Z(1,
BOOST_PYTHON_MAX_ARITY, T) >
const & 
derived () const
 
char const * doc_string () const
 
detail::keyword_range const & keywords () const
 

Static Public Member Functions

static default_call_policies call_policies ()
 

Protected Member Functions

init< BOOST_PP_ENUM_PARAMS_Z(1,
BOOST_PYTHON_MAX_ARITY, T) >
const & 
derived_visitor () const
 

Member Typedef Documentation

template<BOOST_PP_ENUM_PARAMS_Z(1,BOOST_PYTHON_MAX_ARITY,class T) >
typedef detail::is_optional< typename mpl::eval_if< mpl::empty<signature_> , mpl::false_ , mpl::back<signature_> >::type > boost::python::init<>::back_is_optional
template<BOOST_PP_ENUM_PARAMS_Z(1,BOOST_PYTHON_MAX_ARITY,class T) >
typedef mpl::size<signature> boost::python::init<>::n_arguments
template<BOOST_PP_ENUM_PARAMS_Z(1,BOOST_PYTHON_MAX_ARITY,class T) >
typedef mpl::size<optional_args> boost::python::init<>::n_defaults
template<BOOST_PP_ENUM_PARAMS_Z(1,BOOST_PYTHON_MAX_ARITY,class T) >
typedef mpl::eval_if< back_is_optional , mpl::back<signature_> , mpl::vector0<> >::type boost::python::init<>::optional_args
template<BOOST_PP_ENUM_PARAMS_Z(1,BOOST_PYTHON_MAX_ARITY,class T) >
typedef init< BOOST_PP_ENUM_PARAMS_Z(1, BOOST_PYTHON_MAX_ARITY, T) > boost::python::init<>::self_t
template<BOOST_PP_ENUM_PARAMS_Z(1,BOOST_PYTHON_MAX_ARITY,class T) >
typedef mpl::eval_if< back_is_optional , mpl::if_< mpl::empty<optional_args> , detail::drop1<signature_> , mpl::joint_view< detail::drop1<signature_> , optional_args > > , signature_ >::type boost::python::init<>::signature
template<BOOST_PP_ENUM_PARAMS_Z(1,BOOST_PYTHON_MAX_ARITY,class T) >
typedef detail::type_list< BOOST_PP_ENUM_PARAMS_Z(1, BOOST_PYTHON_MAX_ARITY, T) > boost::python::init<>::signature_

Constructor & Destructor Documentation

template<BOOST_PP_ENUM_PARAMS_Z(1,BOOST_PYTHON_MAX_ARITY,class T) >
boost::python::init<>::init ( char const *  doc_ = 0)
inline
template<BOOST_PP_ENUM_PARAMS_Z(1,BOOST_PYTHON_MAX_ARITY,class T) >
template<std::size_t N>
boost::python::init<>::init ( char const *  doc_,
detail::keywords< N > const &  kw 
)
inline
template<BOOST_PP_ENUM_PARAMS_Z(1,BOOST_PYTHON_MAX_ARITY,class T) >
template<std::size_t N>
boost::python::init<>::init ( detail::keywords< N > const &  kw,
char const *  doc_ = 0 
)
inline

Member Function Documentation

static default_call_policies boost::python::init_base< init< BOOST_PP_ENUM_PARAMS_Z(1, BOOST_PYTHON_MAX_ARITY, T) > >::call_policies ( )
inlinestaticinherited
init< BOOST_PP_ENUM_PARAMS_Z(1, BOOST_PYTHON_MAX_ARITY, T) > const& boost::python::init_base< init< BOOST_PP_ENUM_PARAMS_Z(1, BOOST_PYTHON_MAX_ARITY, T) > >::derived ( ) const
inlineinherited

References boost::detail::const.

init< BOOST_PP_ENUM_PARAMS_Z(1, BOOST_PYTHON_MAX_ARITY, T) > const& boost::python::def_visitor< init< BOOST_PP_ENUM_PARAMS_Z(1, BOOST_PYTHON_MAX_ARITY, T) > >::derived_visitor ( ) const
inlineprotectedinherited
char const* boost::python::init_base< init< BOOST_PP_ENUM_PARAMS_Z(1, BOOST_PYTHON_MAX_ARITY, T) > >::doc_string ( ) const
inlineinherited
detail::keyword_range const& boost::python::init_base< init< BOOST_PP_ENUM_PARAMS_Z(1, BOOST_PYTHON_MAX_ARITY, T) > >::keywords ( ) const
inlineinherited
template<BOOST_PP_ENUM_PARAMS_Z(1,BOOST_PYTHON_MAX_ARITY,class T) >
template<class CallPoliciesT >
init_with_call_policies<CallPoliciesT, self_t> boost::python::init<>::operator[] ( CallPoliciesT const &  policies) const
inline

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