15#ifndef _RBTTRIPOSATOMTYPE_H_
16#define _RBTTRIPOSATOMTYPE_H_
18#include "rxdock/Config.h"
20#include <nlohmann/json.hpp>
22using json = nlohmann::json;
85 info() : atomicNo(0), hybrid(0) {}
86 info(
const std::string &n,
int a,
int h)
87 : name(n), atomicNo(a), hybrid(h) {}
96 friend void to_json(json &j,
const TriposAtomType &triposAtomType);
97 friend void from_json(
const json &j,
TriposAtomType &triposAtomType);
106 eType operator()(
Atom *pAtom,
bool useExtendedTypes =
false)
const;
108 RBTDLL_EXPORT std::string Type2Str(eType)
const;
110 int Type2Hybrid(eType)
const;
112 int Type2AtomicNo(eType)
const;
114 RBTDLL_EXPORT eType Str2Type(
const std::string &)
const;
125 void SetupTypeInfo();
136 std::vector<info> m_typeInfo;
143typedef std::vector<TriposAtomType::info> TriposInfoList;
144typedef TriposInfoList::iterator TriposInfoListIter;
145typedef TriposInfoList::const_iterator TriposInfoListConstIter;
147typedef std::vector<TriposAtomType::eType> TriposAtomTypeList;
148typedef TriposAtomTypeList::iterator TriposAtomTypeListIter;
149typedef TriposAtomTypeList::const_iterator TriposAtomTypeListConstIter;
Definition TriposAtomType.h:28
Definition TriposAtomType.h:81