Rosetta
|
Classes | |
struct | BUFFER |
Functions | |
bool | is_pseudoresidue (const conformation::Residue &residue) |
static void | swap_bytes (char *, unsigned int) |
void | write_bytes (char *x, unsigned int n, BUFFER &buf) |
Helper functions to read/write raw memory. More... | |
void | read_bytes (char *x, unsigned int n, BUFFER &buf) |
template<typename T > | |
static void | write_bytes (T x, BUFFER &buf) |
Helper functions to read/write any single primitive type. More... | |
template<typename T > | |
static void | read_bytes (T &x, BUFFER &buf) |
void | write_binary (char x, BUFFER &buf) |
Read/write a single primitive type to a buf. More... | |
void | read_binary (char &x, BUFFER &buf) |
void | write_binary (bool x, BUFFER &buf) |
void | read_binary (bool &x, BUFFER &buf) |
void | write_binary (unsigned int x, BUFFER &buf) |
void | read_binary (unsigned int &x, BUFFER &buf) |
void | write_binary (float x, BUFFER &buf) |
void | read_binary (float &x, BUFFER &buf) |
void | write_binary (double x, BUFFER &buf) |
void | read_binary (double &x, BUFFER &buf) |
void | write_binary (const utility::vector1_bool &x, BUFFER &buf) |
Read/write simple structure to a buf. More... | |
void | read_binary (utility::vector1_bool &x, BUFFER &buf) |
void | write_binary (const std::vector< std::string > &x, BUFFER &buf) |
void | read_binary (std::vector< std::string > &x, BUFFER &buf) |
void | write_binary (const std::string &x, BUFFER &buf) |
void | read_binary (std::string &x, BUFFER &buf) |
void | write_binary (const core::Vector &x, BUFFER &buf) |
void | read_binary (core::Vector &x, BUFFER &buf) |
void | check_binary_unsigned_int (unsigned int x, BUFFER &buf) |
Utility read/write. More... | |
void | write_binary_chars (const char *x, BUFFER &buf) |
void | check_binary_chars (const char *x, BUFFER &buf) |
void | write_binary (const core::pose::Pose &pose, BUFFER &buf) |
Read/Write a pose to a file. More... | |
void | read_binary (core::pose::Pose &pose, BUFFER &buf) |
void core::io::serialization::check_binary_chars | ( | const char * | x, |
BUFFER & | buf | ||
) |
References read_binary(), and THROW_EXCEPTION.
Referenced by read_binary().
void core::io::serialization::check_binary_unsigned_int | ( | unsigned int | x, |
BUFFER & | buf | ||
) |
bool core::io::serialization::is_pseudoresidue | ( | const conformation::Residue & | residue | ) |
References core::conformation::Residue::aa(), and core::chemical::aa_vrt.
void core::io::serialization::read_binary | ( | bool & | x, |
BUFFER & | buf | ||
) |
References read_bytes().
void core::io::serialization::read_binary | ( | char & | x, |
BUFFER & | buf | ||
) |
Referenced by check_binary_chars(), check_binary_unsigned_int(), and read_binary().
void core::io::serialization::read_binary | ( | core::pose::Pose & | pose, |
BUFFER & | buf | ||
) |
References core::pose::Pose::append_residue_by_bond(), core::pose::Pose::append_residue_by_jump(), check_binary_chars(), check_binary_unsigned_int(), core::pose::Pose::clear(), core::pose::Pose::conformation(), core::pose::Pose::fold_tree(), core::conformation::Conformation::insert_chain_ending(), core::pose::is_lower_terminus(), core::chemical::ResidueTypeBase::is_polymer(), core::kinematics::FoldTree::num_jump(), read_binary(), core::pose::Pose::residue_type(), core::pose::Pose::set_jump(), core::pose::Pose::set_secstruct(), core::pose::Pose::set_xyz(), core::pose::Pose::size(), THROW_EXCEPTION, and protocols::kinmatch::xyz().
void core::io::serialization::read_binary | ( | core::Vector & | x, |
BUFFER & | buf | ||
) |
References read_binary().
void core::io::serialization::read_binary | ( | double & | x, |
BUFFER & | buf | ||
) |
References read_bytes().
void core::io::serialization::read_binary | ( | float & | x, |
BUFFER & | buf | ||
) |
References read_bytes().
void core::io::serialization::read_binary | ( | std::string & | x, |
BUFFER & | buf | ||
) |
References read_binary().
void core::io::serialization::read_binary | ( | std::vector< std::string > & | x, |
BUFFER & | buf | ||
) |
References read_binary().
void core::io::serialization::read_binary | ( | unsigned int & | x, |
BUFFER & | buf | ||
) |
References read_bytes().
void core::io::serialization::read_binary | ( | utility::vector1_bool & | x, |
BUFFER & | buf | ||
) |
References read_binary().
void core::io::serialization::read_bytes | ( | char * | x, |
unsigned int | n, | ||
BUFFER & | buf | ||
) |
References core::io::serialization::BUFFER::read(), swap_bytes(), and THROW_EXCEPTION.
Referenced by read_binary(), and read_bytes().
|
static |
References read_bytes().
|
static |
Helper function to write all binary files as little endian. If the current architecture is big endian, swap the bytes.
Referenced by read_bytes(), and write_bytes().
void core::io::serialization::write_binary | ( | bool | x, |
BUFFER & | buf | ||
) |
References write_bytes().
void core::io::serialization::write_binary | ( | char | x, |
BUFFER & | buf | ||
) |
Read/write a single primitive type to a buf.
Referenced by write_binary(), and write_binary_chars().
void core::io::serialization::write_binary | ( | const core::pose::Pose & | pose, |
BUFFER & | buf | ||
) |
Read/Write a pose to a file.
References core::conformation::Residue::atoms(), core::conformation::Residue::chain(), core::pose::Pose::fold_tree(), core::pose::Pose::jump(), core::chemical::ResidueTypeBase::mode(), core::chemical::ResidueTypeBase::name(), core::pose::Pose::num_jump(), core::pose::Pose::residue(), core::pose::Pose::secstruct(), core::pose::Pose::size(), core::chemical::string_from_type_set_mode(), core::conformation::Residue::type(), write_binary(), and write_binary_chars().
void core::io::serialization::write_binary | ( | const core::Vector & | x, |
BUFFER & | buf | ||
) |
References write_binary().
void core::io::serialization::write_binary | ( | const std::string & | x, |
BUFFER & | buf | ||
) |
References write_binary().
void core::io::serialization::write_binary | ( | const std::vector< std::string > & | x, |
BUFFER & | buf | ||
) |
References write_binary().
void core::io::serialization::write_binary | ( | const utility::vector1_bool & | x, |
BUFFER & | buf | ||
) |
Read/write simple structure to a buf.
Read/write simple structure to a file.
References write_binary().
void core::io::serialization::write_binary | ( | double | x, |
BUFFER & | buf | ||
) |
References write_bytes().
void core::io::serialization::write_binary | ( | float | x, |
BUFFER & | buf | ||
) |
References write_bytes().
void core::io::serialization::write_binary | ( | unsigned int | x, |
BUFFER & | buf | ||
) |
References write_bytes().
void core::io::serialization::write_binary_chars | ( | const char * | x, |
BUFFER & | buf | ||
) |
References write_binary().
Referenced by write_binary().
void core::io::serialization::write_bytes | ( | char * | x, |
unsigned int | n, | ||
BUFFER & | buf | ||
) |
Helper functions to read/write raw memory.
References swap_bytes(), THROW_EXCEPTION, and core::io::serialization::BUFFER::write().
Referenced by write_binary(), and write_bytes().
|
static |
Helper functions to read/write any single primitive type.
References write_bytes().