#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.
|
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) |
|
◆ MMTF_SPEC_VERSION_MAJOR
#define MMTF_SPEC_VERSION_MAJOR 1 |
MMTF spec version which this library implements.
◆ MMTF_SPEC_VERSION_MINOR
#define MMTF_SPEC_VERSION_MINOR 1 |