Namespaces | Functions
mmtf_writer.hh File Reference
#include <core/io/StructFileRep.fwd.hh>
#include <core/io/StructFileRepOptions.hh>
#include <core/io/StructFileRepOptions.fwd.hh>
#include <core/pose/Pose.fwd.hh>
#include <core/io/mmtf/util.hh>
#include <iosfwd>


 A class for reading in the atom type properties.


bool core::io::mmtf::dump_mmtf (core::pose::Pose const &pose, std::string const &file_name, StructFileRepOptionsCOP options=StructFileRepOptionsCOP(new StructFileRepOptions))
 Dump a MMTF from a pose to a file. Return success or failure. More...
core::io::StructFileRepOP core::io::mmtf::dump_mmtf (core::pose::Pose const &pose, std::ostream &out, StructFileRepOptionsCOP options)
 Dump an MMTF from a pose to an ostream. More...
core::io::StructFileRepOP core::io::mmtf::dump_mmtf (core::pose::Pose const &pose, std::string const &jd2_job_data, std::ostream &out)
 Dump an MMTF from a pose, optionally extracting extra info. More...
bool core::io::mmtf::dump_mmtf (std::string const &file_name, StructFileRepOP sfr, StructFileRepOptions const &options)
 dump_mmtf function. Create the sfr from pose using the PoseToStructFileRepConverter class. Return success or failure. More...
template<typename T >
void core::io::mmtf::add_if_not_empty (std::string const &given_name, T const &content, std::map< std::string, msgpack::object > &target_map, msgpack::zone &zone)
 add_if_not_empty – adds to a sd {string: msgpack::object} templated to allow us to add a variety of containers More...
template<typename T >
void core::io::mmtf::resize_and_add_if_not_empty (T const &data, std::vector< T > &destination, core::Size const &data_index, core::Size const &max_size)
 resize_add_if_not_empty – adds T to std::vector< T > if T isn't empty templated to allow us to add a variety of containers More...
void core::io::mmtf::set_mmtf_default_options (core::io::StructFileRepOptions &options)
 Set StructFileRepOptions defauls for mmtf. More...
aiChain core::io::mmtf::make_chain (utility::vector0< AtomInformation > const &chain_atoms)
 group chain_atoms into groups based on chain_id and resseq More...
aiPose core::io::mmtf::aiPose_from_sfr (core::io::StructFileRep const &sfr)
 Convert linear sfr to vec0[vec0[vec0[AtomInformation]]]. More...
aiModels core::io::mmtf::aiModels_from_sfrs (utility::vector1< core::io::StructFileRepOP > const &sfrs)
 Convert linear sfr to vec0[vec0[vec0[vec0[AtomInformation]]]]. More...
void core::io::mmtf::add_extra_data (::mmtf::StructureData &sd, utility::vector1< core::io::StructFileRepOP > const &sfrs, core::io::StructFileRepOptions const &options)
 Add extra info to the structureData if we are asked to add it includes: heterogen info. More...
::mmtf::StructureData core::io::mmtf::sfrs_to_sd (utility::vector1< core::io::StructFileRepOP > sfrs, core::io::StructFileRepOptions const &options)
::mmtf::StructureData core::io::mmtf::sfr_to_sd (core::io::StructFileRepOP sfr, core::io::StructFileRepOptions const &options)
void core::io::mmtf::dump_mmtf (std::ostream &out, utility::vector1< core::io::StructFileRepOP > sfrs, core::io::StructFileRepOptions const &options)
 dump single mmtf function. More...
void core::io::mmtf::dump_mmtf (std::ostream &out, StructFileRepOP sfr, StructFileRepOptions const &options)
 dump single mmtf function. More...