Michele De Stefano's C++ Utilities
sequence.hpp File Reference

Contains a wrapper class for a generic Python sequence datatype. More...

#include <mds_utils/python/obj.hpp>
#include <boost/fusion/include/for_each.hpp>
#include <boost/fusion/include/size.hpp>
#include <boost/lexical_cast.hpp>
#include <algorithm>
#include <iterator>
#include <utility>
#include <stdexcept>

Go to the source code of this file.

Classes

class  mds_utils::python::Sequence_Base< Derived >
 Base class for all generic sequence types. More...
 
class  mds_utils::python::Sequence
 Wraps a generic Python sequence. More...
 

Namespaces

 mds_utils
 Main namespace of all Michele De Stefano's C++ utilities.
 
 mds_utils::python
 Namespace of all Michele De Stefano's C++ Python utilities.
 

Functions

size_t mds_utils::python::len (PyObject *o)
 Retrieves the length of a sequence object. More...
 

Detailed Description

Contains a wrapper class for a generic Python sequence datatype.

This code depends on Python only and not on Boost Python.

Definition in file sequence.hpp.