py

Bindings for utility::py namespace

class pyrosetta.rosetta.utility.py.Base

Bases: pybind11_builtins.pybind11_object

Dummy Base class to test if inheritance work properly in PyRosetta *

assign(self: pyrosetta.rosetta.utility.py.Base, : pyrosetta.rosetta.utility.py.Base) pyrosetta.rosetta.utility.py.Base

C++: utility::py::Base::operator=(const class utility::py::Base &) –> class utility::py::Base &

foo_int(self: pyrosetta.rosetta.utility.py.Base, i: int) None

C++: utility::py::Base::foo_int(int) –> void

foo_string(self: pyrosetta.rosetta.utility.py.Base, s: str) None

C++: utility::py::Base::foo_string(std::string) –> void

foo_value(self: pyrosetta.rosetta.utility.py.Base, v: pyrosetta.rosetta.utility.py.Value) None

C++: utility::py::Base::foo_value(class utility::py::Value &) –> void

foo_value_sp(self: pyrosetta.rosetta.utility.py.Base, v: pyrosetta.rosetta.utility.py.Value) None

C++: utility::py::Base::foo_value_sp(class std::shared_ptr<class utility::py::Value>) –> void

property int_value_
property string_value_
class pyrosetta.rosetta.utility.py.OverloadTest

Bases: pybind11_builtins.pybind11_object

assign(self: pyrosetta.rosetta.utility.py.OverloadTest, : pyrosetta.rosetta.utility.py.OverloadTest) pyrosetta.rosetta.utility.py.OverloadTest

C++: utility::py::OverloadTest::operator=(const class utility::py::OverloadTest &) –> class utility::py::OverloadTest &

pure_test_p(self: pyrosetta.rosetta.utility.py.OverloadTest, v: pyrosetta.rosetta.utility.py.Value) None

C++: utility::py::OverloadTest::pure_test_p(class utility::py::Value *) –> void

pure_test_ref(self: pyrosetta.rosetta.utility.py.OverloadTest, v: pyrosetta.rosetta.utility.py.Value) None

C++: utility::py::OverloadTest::pure_test_ref(class utility::py::Value &) –> void

self_pure_test_virtual_p(self: pyrosetta.rosetta.utility.py.OverloadTest) None

C++: utility::py::OverloadTest::self_pure_test_virtual_p() –> void

self_pure_test_virtual_ref(self: pyrosetta.rosetta.utility.py.OverloadTest) None

C++: utility::py::OverloadTest::self_pure_test_virtual_ref() –> void

self_test_virtual_p(self: pyrosetta.rosetta.utility.py.OverloadTest) None

C++: utility::py::OverloadTest::self_test_virtual_p() –> void

self_test_virtual_ref(self: pyrosetta.rosetta.utility.py.OverloadTest) None

C++: utility::py::OverloadTest::self_test_virtual_ref() –> void

test_p(self: pyrosetta.rosetta.utility.py.OverloadTest, v: pyrosetta.rosetta.utility.py.Value) None

C++: utility::py::OverloadTest::test_p(class utility::py::Value *) –> void

test_ref(self: pyrosetta.rosetta.utility.py.OverloadTest, v: pyrosetta.rosetta.utility.py.Value) None

C++: utility::py::OverloadTest::test_ref(class utility::py::Value &) –> void

property value_
class pyrosetta.rosetta.utility.py.PyExitCallback

Bases: pybind11_builtins.pybind11_object

This class for holding callback function.

assign(self: pyrosetta.rosetta.utility.py.PyExitCallback, : pyrosetta.rosetta.utility.py.PyExitCallback) pyrosetta.rosetta.utility.py.PyExitCallback

C++: utility::py::PyExitCallback::operator=(const class utility::py::PyExitCallback &) –> class utility::py::PyExitCallback &

exit_callback(self: pyrosetta.rosetta.utility.py.PyExitCallback) None

C++: utility::py::PyExitCallback::exit_callback() –> void

static get_static_int() int

C++: utility::py::PyExitCallback::get_static_int() –> int

static get_static_string() str

C++: utility::py::PyExitCallback::get_static_string() –> std::string

static get_static_string_const() str

C++: utility::py::PyExitCallback::get_static_string_const() –> const std::string

static set_PyExitCallBack(exit_callback_object: pyrosetta.rosetta.utility.py.PyExitCallback) None

C++: utility::py::PyExitCallback::set_PyExitCallBack(class std::shared_ptr<class utility::py::PyExitCallback>) –> void

class pyrosetta.rosetta.utility.py.Value

Bases: pybind11_builtins.pybind11_object

Dummy Value class to test if we can pass argument by-reference to PyRosetta sub-classes *

assign(self: pyrosetta.rosetta.utility.py.Value, : pyrosetta.rosetta.utility.py.Value) pyrosetta.rosetta.utility.py.Value

C++: utility::py::Value::operator=(const class utility::py::Value &) –> class utility::py::Value &

s(*args, **kwargs)

Overloaded function.

  1. s(self: pyrosetta.rosetta.utility.py.Value) -> str

C++: utility::py::Value::s() const –> std::string

  1. s(self: pyrosetta.rosetta.utility.py.Value, s: str) -> None

C++: utility::py::Value::s(const std::string &) –> void

pyrosetta.rosetta.utility.py.foo_all(b: pyrosetta.rosetta.utility.py.Base, i: int, v: pyrosetta.rosetta.utility.py.Value, s: str) None

C++: utility::py::foo_all(class utility::py::Base &, int, class utility::py::Value &, std::string) –> void

pyrosetta.rosetta.utility.py.foo_all_sp(b: pyrosetta.rosetta.utility.py.Base, i: int, v: pyrosetta.rosetta.utility.py.Value, s: str) None

C++: utility::py::foo_all_sp(class std::shared_ptr<class utility::py::Base>, int, class utility::py::Value &, std::string) –> void