Operations on containers that have variable capacity for conversion from Python container to C++ one.
More...
#include <pyconversions.h>
|
| template<typename ContainerType > |
| static void | assert_size (boost::type< ContainerType >, std::size_t) |
| |
| static bool | check_convertibility_per_element () |
| |
| template<typename ContainerType > |
| static bool | check_size (boost::type< ContainerType >, std::size_t) |
| |
| template<typename ContainerType > |
| static void | reserve (ContainerType &a, std::size_t sz) |
| |
| template<typename ContainerType , typename ValueType > |
| static void | set_value (ContainerType &a, std::size_t i, ValueType const &v) |
| |
Operations on containers that have variable capacity 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 120 of file pyconversions.h.
◆ assert_size()
| static void assert_size |
( |
boost::type< ContainerType > |
, |
|
|
std::size_t |
|
|
) |
| |
|
inlinestaticinherited |
◆ check_convertibility_per_element()
| static bool check_convertibility_per_element |
( |
| ) |
|
|
inlinestaticinherited |
◆ check_size()
| static bool check_size |
( |
boost::type< ContainerType > |
, |
|
|
std::size_t |
|
|
) |
| |
|
inlinestaticinherited |
◆ reserve()
| static void reserve |
( |
ContainerType & |
a, |
|
|
std::size_t |
sz |
|
) |
| |
|
inlinestatic |
◆ set_value()
| static void set_value |
( |
ContainerType & |
a, |
|
|
std::size_t |
i, |
|
|
ValueType const & |
v |
|
) |
| |
|
inlinestatic |
The documentation for this struct was generated from the following file: