4 using namespace pointer;
5 typedef bp::return_value_policy< bp::reference_existing_object >
CP_REF;
6 typedef bp::return_value_policy< bp::copy_const_reference >
CP_CCR;
7 typedef bp::return_value_policy< bp::copy_non_const_reference >
CP_CNCR;
9 expose_basic_type<string>(
"string");
11 expose_basic_type<int>(
"int");
14 expose_basic_type<unsigned int>(
"uint");
15 expose_basic_type<char>(
"char");
16 expose_basic_type<float>(
"float");
19 expose_basic_type<core::Size>(
"Size");
20 expose_basic_type<core::SSize>(
"SSize");
21 expose_basic_type<core::Real>(
"Real");
25 bp::class_< vector1<bool> >(
"vector1_bool")
26 .def(
"__len__",&vector1_len<bool> )
29 .def(
"__iter__",bp::range(&vector1_begin<bool>,&vector1_end<bool>))
31 wrap_vector1< vector1<bool>,
CP_REF,
CP_REF >(
"vec1_vec1_bool");
34 expose_number_type<int>(
"int");
37 expose_number_type<unsigned int>(
"uint");
38 expose_number_type<char>(
"char");
39 expose_number_type<float>(
"float");
42 expose_number_type<bool>(
"bool");
44 expose_number_type<core::Size>(
"Size");
45 expose_number_type<core::SSize>(
"SSize");
46 expose_number_type<core::Real>(
"Real");
48 expose_pair_types<std::string, std::string>(
"string",
"string");
50 expose_pair_types<int, std::string>(
"int",
"string");
51 expose_pair_types<std::string, int>(
"string",
"int");
53 expose_pair_types<core::Size, std::string>(
"Size",
"string");
54 expose_pair_types<std::string, core::Size>(
"string",
"Size");
56 expose_pair_types<core::SSize, std::string>(
"SSize",
"string");
57 expose_pair_types<std::string, core::SSize>(
"string",
"SSize");
59 expose_pair_types<core::Real, std::string>(
"Real",
"string");
60 expose_pair_types<std::string, core::Real>(
"string",
"Real");
62 wrap_vector1<core::scoring::ScoreType, CP_CNCR, CP_CCR>(
"vector1_ScoreType");
63 wrap_vector1<core::id::AtomID, CP_REF,CP_REF>(
"vector1_AtomID");
65 wrap_vector1<core::pose::PoseOP, CP_CNCR, CP_CCR>(
"vector1_PoseOP");
66 wrap_vector1<core::pose::Pose, CP_REF, CP_REF>(
"vector1_Pose");
72 wrap_vector1_part<core::conformation::Atom, CP_CNCR, CP_CCR>(
"vector1_core_conformation_Atom");
void __utility_by_hand_ending__()
bp::return_value_policy< bp::copy_const_reference > CP_CCR
bool vector1_bool_get(utility::vector1< bool > &v, int i)
void vector1_bool_push(utility::vector1< bool > &v, bool h)
bp::return_value_policy< bp::reference_existing_object > CP_REF
bp::return_value_policy< bp::copy_non_const_reference > CP_CNCR