MMTF-C++
The C++ language MMTF libraries
Loading...
Searching...
No Matches
decoder.hpp File Reference
#include "structure_data.hpp"
#include "errors.hpp"
#include "msgpack_decoders.hpp"
#include "map_decoder.hpp"
#include <msgpack.hpp>
#include <fstream>
#include <sstream>
#include <string>

Go to the source code of this file.

Namespaces

namespace  mmtf
 

Functions

void mmtf::decodeFromMapDecoder (StructureData &data, MapDecoder &mapDecoder)
 Decode an MMTF data structure from a mapDecoder.
 
void mmtf::decodeFromBuffer (StructureData &data, const char *buffer, size_t size)
 Decode an MMTF data structure from a byte buffer.
 
template<typename Stream>
void mmtf::decodeFromStream (StructureData &data, Stream &stream)
 Decode an MMTF data structure from a stream.
 
void mmtf::decodeFromFile (StructureData &data, const std::string &filename)
 Decode an MMTF data structure from an existing file.
 
void mmtf::mapDecoderFromBuffer (MapDecoder &mapDecoder, const char *buffer, std::size_t size)
 Get a mapDecoder for un-decoded MMTF data.
 
template<typename Stream>
void mmtf::mapDecoderFromStream (MapDecoder &mapDecoder, Stream &stream)
 Get a mapDecoder into an un-decoded MMTF data.
 
void mmtf::mapDecoderFromFile (MapDecoder &mapDecoder, const std::string &filename)
 Get a mapDecoder into an un-decoded MMTF data.