serialization¶
Bindings for core::io::serialization namespace
- class pyrosetta.rosetta.core.io.serialization.BUFFER¶
Bases:
pybind11_object
- read(self: pyrosetta.rosetta.core.io.serialization.BUFFER, out_buf: str, nchar: int) int ¶
C++: core::io::serialization::BUFFER::read(char *, unsigned long) –> int
- write(self: pyrosetta.rosetta.core.io.serialization.BUFFER, x: str, nchar: int) int ¶
C++: core::io::serialization::BUFFER::write(char *, unsigned long) –> int
- pyrosetta.rosetta.core.io.serialization.check_binary_chars(x: str, buf: pyrosetta.rosetta.core.io.serialization.BUFFER) None ¶
C++: core::io::serialization::check_binary_chars(const char *, struct core::io::serialization::BUFFER &) –> void
- pyrosetta.rosetta.core.io.serialization.check_binary_unsigned_int(x: int, buf: pyrosetta.rosetta.core.io.serialization.BUFFER) None ¶
Utility read/write.
C++: core::io::serialization::check_binary_unsigned_int(unsigned int, struct core::io::serialization::BUFFER &) –> void
- pyrosetta.rosetta.core.io.serialization.read_binary(*args, **kwargs)¶
Overloaded function.
read_binary(x: str, buf: pyrosetta.rosetta.core.io.serialization.BUFFER) -> None
C++: core::io::serialization::read_binary(char &, struct core::io::serialization::BUFFER &) –> void
read_binary(x: bool, buf: pyrosetta.rosetta.core.io.serialization.BUFFER) -> None
C++: core::io::serialization::read_binary(bool &, struct core::io::serialization::BUFFER &) –> void
read_binary(x: float, buf: pyrosetta.rosetta.core.io.serialization.BUFFER) -> None
C++: core::io::serialization::read_binary(float &, struct core::io::serialization::BUFFER &) –> void
read_binary(x: float, buf: pyrosetta.rosetta.core.io.serialization.BUFFER) -> None
C++: core::io::serialization::read_binary(double &, struct core::io::serialization::BUFFER &) –> void
read_binary(x: int, buf: pyrosetta.rosetta.core.io.serialization.BUFFER) -> None
C++: core::io::serialization::read_binary(unsigned int &, struct core::io::serialization::BUFFER &) –> void
read_binary(x: pyrosetta.rosetta.utility.vector1_bool, buf: pyrosetta.rosetta.core.io.serialization.BUFFER) -> None
C++: core::io::serialization::read_binary(class utility::vector1<bool, class std::allocator<bool> > &, struct core::io::serialization::BUFFER &) –> void
read_binary(x: pyrosetta.rosetta.std.vector_std_string, buf: pyrosetta.rosetta.core.io.serialization.BUFFER) -> None
C++: core::io::serialization::read_binary(class std::vector<std::string, class std::allocator<std::string > > &, struct core::io::serialization::BUFFER &) –> void
read_binary(x: str, buf: pyrosetta.rosetta.core.io.serialization.BUFFER) -> None
C++: core::io::serialization::read_binary(std::string &, struct core::io::serialization::BUFFER &) –> void
read_binary(x: pyrosetta.rosetta.numeric.xyzVector_double_t, buf: pyrosetta.rosetta.core.io.serialization.BUFFER) -> None
C++: core::io::serialization::read_binary(class numeric::xyzVector<double> &, struct core::io::serialization::BUFFER &) –> void
read_binary(pose: pyrosetta.rosetta.core.pose.Pose, buf: pyrosetta.rosetta.core.io.serialization.BUFFER) -> None
C++: core::io::serialization::read_binary(class core::pose::Pose &, struct core::io::serialization::BUFFER &) –> void
- pyrosetta.rosetta.core.io.serialization.write_binary(*args, **kwargs)¶
Overloaded function.
write_binary(x: str, buf: pyrosetta.rosetta.core.io.serialization.BUFFER) -> None
C++: core::io::serialization::write_binary(char, struct core::io::serialization::BUFFER &) –> void
write_binary(x: bool, buf: pyrosetta.rosetta.core.io.serialization.BUFFER) -> None
C++: core::io::serialization::write_binary(bool, struct core::io::serialization::BUFFER &) –> void
write_binary(x: float, buf: pyrosetta.rosetta.core.io.serialization.BUFFER) -> None
C++: core::io::serialization::write_binary(float, struct core::io::serialization::BUFFER &) –> void
write_binary(x: float, buf: pyrosetta.rosetta.core.io.serialization.BUFFER) -> None
C++: core::io::serialization::write_binary(double, struct core::io::serialization::BUFFER &) –> void
write_binary(x: int, buf: pyrosetta.rosetta.core.io.serialization.BUFFER) -> None
C++: core::io::serialization::write_binary(unsigned int, struct core::io::serialization::BUFFER &) –> void
write_binary(x: pyrosetta.rosetta.utility.vector1_bool, buf: pyrosetta.rosetta.core.io.serialization.BUFFER) -> None
Read/write simple structure to a file.
C++: core::io::serialization::write_binary(const class utility::vector1<bool, class std::allocator<bool> > &, struct core::io::serialization::BUFFER &) –> void
write_binary(x: pyrosetta.rosetta.std.vector_std_string, buf: pyrosetta.rosetta.core.io.serialization.BUFFER) -> None
C++: core::io::serialization::write_binary(const class std::vector<std::string, class std::allocator<std::string > > &, struct core::io::serialization::BUFFER &) –> void
write_binary(x: str, buf: pyrosetta.rosetta.core.io.serialization.BUFFER) -> None
C++: core::io::serialization::write_binary(const std::string &, struct core::io::serialization::BUFFER &) –> void
write_binary(x: pyrosetta.rosetta.numeric.xyzVector_double_t, buf: pyrosetta.rosetta.core.io.serialization.BUFFER) -> None
C++: core::io::serialization::write_binary(const class numeric::xyzVector<double> &, struct core::io::serialization::BUFFER &) –> void
write_binary(pose: pyrosetta.rosetta.core.pose.Pose, buf: pyrosetta.rosetta.core.io.serialization.BUFFER) -> None
Read/Write a pose to a file
C++: core::io::serialization::write_binary(const class core::pose::Pose &, struct core::io::serialization::BUFFER &) –> void
- pyrosetta.rosetta.core.io.serialization.write_binary_chars(x: str, buf: pyrosetta.rosetta.core.io.serialization.BUFFER) None ¶
C++: core::io::serialization::write_binary_chars(const char *, struct core::io::serialization::BUFFER &) –> void