|
MMTF-C++
The C++ language MMTF libraries
|
#include "structure_data.hpp"#include "errors.hpp"#include "msgpack_encoders.hpp"#include "binary_encoder.hpp"#include <string>#include <fstream>Go to the source code of this file.
Namespaces | |
| namespace | mmtf |
Functions | |
| void | mmtf::encodeToFile (const StructureData &data, const std::string &filename, int32_t coord_divider=1000, int32_t occupancy_b_factor_divider=100, int32_t chain_name_max_length=4) |
| Encode an MMTF data structure into a file. | |
| template<typename Stream> | |
| void | mmtf::encodeToStream (const StructureData &data, Stream &stream, int32_t coord_divider=1000, int32_t occupancy_b_factor_divider=100, int32_t chain_name_max_length=4) |
| Encode an MMTF data structure into a stream. | |
| std::map< std::string, msgpack::object > | mmtf::encodeToMap (const StructureData &data, msgpack::zone &m_zone, int32_t coord_divider=1000, int32_t occupancy_b_factor_divider=100, int32_t chain_name_max_length=4) |
| Encode an MMTF data structure into a map of msgpack objects. | |