STORMM Source Documentation
Loading...
Searching...
No Matches
molecule_parsing.h
1// -*-c++-*-
2#ifndef STORMM_MOLECULE_PARSING_H
3#define STORMM_MOLECULE_PARSING_H
4
5#include <string>
6#include <vector>
7#include "copyright.h"
8#include "Chemistry/atommask.h"
9#include "Chemistry/chemical_features.h"
10#include "MoleculeFormat/mdlmol.h"
11#include "Parsing/polynumeric.h"
12#include "Topology/atomgraph.h"
13#include "Trajectory/coordinateframe.h"
14
15namespace stormm {
16namespace structure {
17
18using chemistry::AtomMask;
19using chemistry::ChemicalFeatures;
20using parse::NumberFormat;
21using parse::PolyNumeric;
22using structure::MdlMol;
23using topology::AtomGraph;
24using trajectory::CoordinateFrame;
25
30std::string condenseSdfItemDataLines(const std::string &item_name, const MdlMol &molecule);
31
47AtomMask maskFromSdfDataItem(const std::string &item_name, const MdlMol &molecule,
48 const AtomGraph *ag, const ChemicalFeatures &chemfe,
49 const CoordinateFrame &cf,
50 ExceptionResponse policy = ExceptionResponse::DIE);
51
52AtomMask maskFromSdfDataItem(const std::string &item_name, const MdlMol &molecule,
53 const AtomGraph *ag,
54 ExceptionResponse policy = ExceptionResponse::DIE);
56
68std::vector<PolyNumeric> valuesFromSdfDataItem(const std::string &item_name,
69 const MdlMol &molecule, const NumberFormat fmt,
70 ExceptionResponse policy = ExceptionResponse::DIE);
71
75std::vector<double> realFromSdfDataItem(const std::string &item_name, const MdlMol &molecule,
76 ExceptionResponse policy = ExceptionResponse::DIE);
77
81std::vector<int> intFromSdfDataItem(const std::string &item_name, const MdlMol &molecule,
82 ExceptionResponse policy = ExceptionResponse::DIE);
83
87std::vector<char4> char4FromSdfDataItem(const std::string &item_name, const MdlMol &molecule,
88 ExceptionResponse policy = ExceptionResponse::DIE);
89
90} // namespace structure
91} // namespace stormm
92
93#endif
An atom selection within a system. Internally, this stores a bitmask, one bit for every particle,...
Definition atommask.h:199
An object to store information about chemical motifs: participation in rings, planarity,...
Definition chemical_features.h:400
A molecular three-dimensional feature. This special class of MOL object properies has its own data li...
Definition mdlmol.h:101
A struct to hold information relating to an Amber topology. This struct's member functions are limite...
Definition atomgraph.h:50
Store the coordinates and box information for a frame, only. This abridged struct can serve when the ...
Definition coordinateframe.h:111