19 #ifndef OST_PROPERTY_ID_HH
20 #define OST_PROPERTY_ID_HH
29 namespace ost {
namespace mol {
42 RNAME, ANAME, CNAME, ELE, RNUM, ANUM, AX, AY, AZ, OCC, AINDEX,
RTYPE, ISHETATM,
43 RBFAC, ABFAC, PEPTIDE, ACHARGE, RINDEX, PROTEIN, LIGAND, WATER,
WITHIN,
48 ATOM=0, RESIDUE=1, CHAIN=2, UNSPECIFIED=3
52 STRING, INT, FLOAT, VEC_DIST
60 id(i), type(t), level(l)
64 id(UNDEF), type(INT), level(ATOM)
69 return id==rhs.
id && type==rhs.
type && level==rhs.
level;
78 String GetTypeName()
const;
93 ost::
Error(
"invalid property"),
Prop DLLEXPORT_OST_MOL PropertyFromString(const String &prop)
ost::mol::Prop::ID Prop() const
bool operator!=(const Prop &rhs) const
bool DLLEXPORT_OST_GEOM operator==(const Line2 &l1, const Line2 &l2)
PropertyError(ost::mol::Prop::ID prop)
Prop(ID i, Type t, Level l)
#define DLLEXPORT_OST_MOL
Prop::ID DLLEXPORT_OST_MOL PropertyIDFromString(const String &prop)
bool operator==(const Prop &rhs) const