MMTF-C++
The C++ language MMTF libraries
structure_data.hpp File Reference
#include <string>
#include <vector>
#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

 mmtf
 

Macros

#define MMTF_SPEC_VERSION_MAJOR   1
 MMTF spec version which this library implements. More...
 
#define MMTF_SPEC_VERSION_MINOR   0
 

Functions

std::string mmtf::getVersionString ()
 Get string representation of MMTF spec version implemented here. More...
 
bool mmtf::isVersionSupported (const std::string &version_string)
 Check if version is supported (minor revisions ok, major ones not) More...
 
template<typename T >
mmtf::getDefaultValue ()
 Get default value for given type. More...
 
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<typename T >
void mmtf::setDefaultValue (T &value)
 Set default value to given type. More...
 
bool mmtf::is_hetatm (const char *type)
 Check if type is hetatm. More...
 

Macro Definition Documentation

◆ 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   0