|
MMTF-C++
The C++ language MMTF libraries
|
#include "errors.hpp"#include <string>#include <vector>#include <algorithm>#include <stdint.h>#include <sstream>#include <limits>#include <msgpack.hpp>#include <iostream>#include <iomanip>Go to the source code of this file.
Data Structures | |
| struct | mmtf::GroupType |
| Group (residue) level data store. More... | |
| struct | mmtf::Entity |
| Entity type. More... | |
| struct | mmtf::Transform |
| Transformation definition for a set of chains. More... | |
| struct | mmtf::BioAssembly |
| Data store for the biological assembly annotation. More... | |
| struct | mmtf::StructureData |
| Top level MMTF data container. More... | |
Namespaces | |
| namespace | mmtf |
Macros | |
| #define | MMTF_SPEC_VERSION_MAJOR 1 |
| MMTF spec version which this library implements. | |
| #define | MMTF_SPEC_VERSION_MINOR 1 |
Functions | |
| std::string | mmtf::getVersionString () |
| Get string representation of MMTF spec version implemented here. | |
| bool | mmtf::isVersionSupported (const std::string &version_string) |
| Check if version is supported (minor revisions ok, major ones not). | |
| template<typename T> | |
| T | mmtf::getDefaultValue () |
| Get default value for given type. | |
| template<typename T> | |
| bool | mmtf::isDefaultValue (const T &value) |
| template<typename T> | |
| bool | mmtf::isDefaultValue (const std::vector< T > &value) |
| template<> | |
| bool | mmtf::isDefaultValue (const std::string &value) |
| template<> | |
| bool | mmtf::isDefaultValue (const std::map< std::string, msgpack::object > &value) |
| template<typename T> | |
| void | mmtf::setDefaultValue (T &value) |
| Set default value to given type. | |
| bool | mmtf::is_polymer (const unsigned int chain_index, const std::vector< Entity > &entity_list) |
| Check if chain is a polymer chain. | |
| bool | mmtf::is_hetatm (const char *type) |
| Check if group type consists of HETATM atoms. | |
| bool | mmtf::is_hetatm (const unsigned int chain_index, const std::vector< Entity > &entity_list, const GroupType &group_type) |
| Preferred way to check if group consists of hetatm atoms. | |
| template<> | |
| bool | mmtf::isDefaultValue (const std::string &value) |
| template<> | |
| bool | mmtf::isDefaultValue (const std::map< std::string, msgpack::object > &value) |
| #define MMTF_SPEC_VERSION_MAJOR 1 |
MMTF spec version which this library implements.
| #define MMTF_SPEC_VERSION_MINOR 1 |