IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Namespaces | Functions
PythonBoostOptional.h File Reference

Utility functions for boost::optional python wrapping. More...

#include <boost/python/class.hpp>
#include <boost/python/object.hpp>
#include <boost/python/make_constructor.hpp>
#include <boost/optional.hpp>

Go to the source code of this file.

Namespaces

 ipsdk
 Main namespace for IPSDK library.
 
 ipsdk::python
 Namespace aggregating IPSDK to python base wrappers.
 

Functions

template<typename T >
void ipsdk::python::set (boost::optional< T > &o, T x)
 
template<typename T >
boost::python::object ipsdk::python::get (boost::optional< T > &o)
 
template<typename T >
boost::optional< T > * ipsdk::python::optional_from_object (boost::python::object &o)
 

Detailed Description

Utility functions for boost::optional python wrapping.

Author
E. Noirfalise
Date
2016/01/05