casacore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Static Public Member Functions | List of all members
casacore::python::default_policy Struct Reference

Default operations on all containers for conversion from Python container to C++ one. More...

#include <PycBasicData.h>

Inheritance diagram for casacore::python::default_policy:
casacore::python::casa_reversed_variable_capacity_policy casacore::python::casa_variable_capacity_policy casacore::python::stl_variable_capacity_policy

Static Public Member Functions

static bool check_convertibility_per_element ()
 
template<typename ContainerType >
static bool check_size (boost::type< ContainerType >, std::size_t)
 
template<typename ContainerType >
static void assert_size (boost::type< ContainerType >, std::size_t)
 
template<typename ContainerType >
static void reserve (ContainerType &, std::size_t)
 

Detailed Description

Default operations on all containers for conversion from Python container to C++ one.

Copied from scitbx/include/scitbx/boost_python/container_conversions.h that is described in the Boost.Python FAQ.

Author
Ralf W. Grosse-Kunstleve rwgk@.nosp@m.yaho.nosp@m.o.com of Lawrence Berkeley National Laboratory

Definition at line 142 of file PycBasicData.h.

Member Function Documentation

template<typename ContainerType >
static void casacore::python::default_policy::assert_size ( boost::type< ContainerType >  ,
std::size_t   
)
inlinestatic

Definition at line 153 of file PycBasicData.h.

static bool casacore::python::default_policy::check_convertibility_per_element ( )
inlinestatic

Definition at line 144 of file PycBasicData.h.

template<typename ContainerType >
static bool casacore::python::default_policy::check_size ( boost::type< ContainerType >  ,
std::size_t   
)
inlinestatic

Definition at line 147 of file PycBasicData.h.

template<typename ContainerType >
static void casacore::python::default_policy::reserve ( ContainerType &  ,
std::size_t   
)
inlinestatic

Definition at line 157 of file PycBasicData.h.


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