Classdesc 3.44
python_t Class Reference
Collaboration diagram for python_t:
Collaboration graph

Classes

struct  Class
struct  ClassBase
struct  DefineArgClasses
struct  DefineArgClasses< F, 0 >

Public Member Functions

string tail (const string &d)
void checkScope (string d)
template<class T>
enable_if< std::is_copy_assignable< T >, void >::T addObject (const string &d, T &o)
template<class T>
enable_if< Not< std::is_copy_assignable< T > >, void >::T addObject (const string &d, const T &o)
template<class F>
enable_if< Not< is_pointer< typenamefunctional::Return< F >::T > >, void >::T addFunctional (const string &d, F f)
template<class F>
enable_if< is_pointer< typenamefunctional::Return< F >::T >, void >::T addFunctional (const string &, F)
template<class C, class M>
enable_if< And< Not< is_reference< typenamefunctional::Return< M >::T > >, Not< is_pointer< typenamefunctional::Return< M >::T > > >, void >::T addMemberFunction (const string &d, M m)
template<class C, class M>
enable_if< is_reference< typenamefunctional::Return< M >::T >, void >::T addMemberFunction (const string &d, M m)
template<class C, class M>
enable_if< is_pointer< typenamefunctional::Return< M >::T >, void >::T addMemberFunction (const string &, M)
template<class C, class M>
enable_if< functional::is_nonmember_function_ptr< M >, void >::T addMemberObject (const string &d, M m)
template<class C, class M>
enable_if< And< Not< is_Carray< typenamepythonDetail::MemberType< M >::T > >, Not< functional::is_nonmember_function_ptr< M > > >, void >::T addMemberObject (const string &d, M m)
template<class C, class M>
enable_if< is_Carray< typenamepythonDetail::MemberType< M >::T >, void >::T addMemberObject (const string &d, M m)
template<class C, class M>
enable_if< And< is_member_function_pointer< M >, functional::AllArgs< M, PythonTypableMember >, Not< is_pointer< typenamefunctional::Return< M >::T > > >, void >::T addMember (const string &d, M m)
template<class C, class M>
enable_if< And< is_member_object_pointer< M >, PythonTypableMember< M >, Not< functional::is_nonmember_function_ptr< M > > >, void >::T addMember (const string &d, M m)
template<class C, class M>
enable_if< And< is_member_object_pointer< M >, Or< Not< PythonTypableMember< M > >, functional::is_nonmember_function_ptr< M > > >, void >::T addMember (const string &d, M m)
template<class C, class M>
enable_if< And< functional::is_nonmember_function_ptr< M >, functional::AllArgs< M, PythonTypableMember >, Not< is_pointer< typenamefunctional::Return< M >::T > > >, void >::T addMember (const string &d, M m)
template<class C, class M>
enable_if< Or< is_pointer< typenamefunctional::Return< M >::T >, Not< functional::AllArgs< M, PythonTypableMember > > >, void >::T addMember (const string &, M)
template<class C, class T>
void addStaticMember (const string &d, T *a)
template<class C, class M>
void addConstructor (M)
template<class C, class M>
void addEnum (const string &d, M m)
template<class T>
enable_if< Not< is_abstract< T > >, void >::T defineClass ()
 utility method to add a Python wrapper class for T
template<class T>
enable_if< is_abstract< T >, void >::T defineClass ()
template<class E>
void defineEnum ()
template<class T, bool copiable>
static enable_if< is_default_constructible< T >, void >::T addDefaultConstructor (ClassBase::PyClass< T, copiable > &c)
template<class T, bool copiable>
static enable_if< Not< is_default_constructible< T > >, void >::T addDefaultConstructor (ClassBase::PyClass< T, copiable > &)
static std::vector< shared_ptr< ClassBase > > & classes ()
template<class T>
Class< T, is_copy_constructible< T >::value > & getClass ()

Member Function Documentation

◆ addDefaultConstructor()

template<class T, bool copiable>
enable_if< is_default_constructible< T >, void >::T addDefaultConstructor ( ClassBase::PyClass< T, copiable > & c)
inlinestatic

helper method to expose a default constructor if it exists in the underlying C++ type


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