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

#include <slice.hpp>

Inheritance diagram for boost::python::slice:
Collaboration diagram for boost::python::slice:

Classes

struct  range
 

Public Member Functions

 slice ()
 
template<typename Integer1 , typename Integer2 >
 slice (Integer1 start, Integer2 stop)
 
template<typename Integer1 , typename Integer2 , typename Integer3 >
 slice (Integer1 start, Integer2 stop, Integer3 stride)
 
template<typename RandomAccessIterator >
slice::range
< RandomAccessIterator > 
get_indices (const RandomAccessIterator &begin, const RandomAccessIterator &end) const
 
template<typename RandomAccessIterator >
slice::range
< RandomAccessIterator > 
get_indicies (const RandomAccessIterator &begin, const RandomAccessIterator &end) const
 
object start () const
 
object stop () const
 
object step () const
 

Constructor & Destructor Documentation

boost::python::slice::slice ( )
inline
template<typename Integer1 , typename Integer2 >
boost::python::slice::slice ( Integer1  start,
Integer2  stop 
)
inline
template<typename Integer1 , typename Integer2 , typename Integer3 >
boost::python::slice::slice ( Integer1  start,
Integer2  stop,
Integer3  stride 
)
inline

Member Function Documentation

template<typename RandomAccessIterator >
slice::range<RandomAccessIterator> boost::python::slice::get_indicies ( const RandomAccessIterator &  begin,
const RandomAccessIterator &  end 
) const
inline

References get_indices().

object boost::python::detail::slice_base::start ( ) const
inherited

Referenced by get_indices().

object boost::python::detail::slice_base::step ( ) const
inherited

Referenced by get_indices().

object boost::python::detail::slice_base::stop ( ) const
inherited

Referenced by get_indices().


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