AIToolbox
A library that offers tools for AI problem solving.
TupleToPython< T > Struct Template Reference

#include </home/svalorzen/Libraries/Self/AIToolbox/src/Python/Utils.hpp>

Classes

struct  generator
 
struct  generator< 0, S... >
 
struct  sequence
 

Public Member Functions

 TupleToPython ()
 

Static Public Member Functions

template<int... I>
static boost::python::tuple boostConvertImpl (const T &t, sequence< I... >)
 
static boost::python::tuple boostConvert (const T &t)
 
static PyObject * convert (const T &t)
 

Constructor & Destructor Documentation

◆ TupleToPython()

template<typename T >
TupleToPython< T >::TupleToPython ( )
inline

Member Function Documentation

◆ boostConvert()

template<typename T >
static boost::python::tuple TupleToPython< T >::boostConvert ( const T &  t)
inlinestatic

◆ boostConvertImpl()

template<typename T >
template<int... I>
static boost::python::tuple TupleToPython< T >::boostConvertImpl ( const T &  t,
sequence< I... >   
)
inlinestatic

◆ convert()

template<typename T >
static PyObject* TupleToPython< T >::convert ( const T &  t)
inlinestatic

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