15 #ifndef _RD_MONOMERINFO_H 16 #define _RD_MONOMERINFO_H 19 #include <boost/shared_ptr.hpp> 32 : d_monomerType(typ), d_name(nm){};
34 : d_monomerType(other.d_monomerType), d_name(other.d_name){};
36 const std::string &
getName()
const {
return d_name; };
37 void setName(
const std::string &nm) { d_name = nm; };
44 AtomMonomerType d_monomerType;
54 d_serialNumber(other.d_serialNumber),
55 d_altLoc(other.d_altLoc),
56 d_residueName(other.d_residueName),
57 d_residueNumber(other.d_residueNumber),
58 d_chainId(other.d_chainId),
59 d_insertionCode(other.d_insertionCode),
60 d_occupancy(other.d_occupancy),
61 d_tempFactor(other.d_tempFactor),
62 df_heteroAtom(other.df_heteroAtom),
63 d_secondaryStructure(other.d_secondaryStructure),
64 d_segmentNumber(other.d_segmentNumber){};
67 const std::string &altLoc =
"",
68 const std::string &residueName =
"",
int residueNumber = 0,
69 const std::string &chainId =
"",
70 const std::string &insertionCode =
"",
71 double occupancy = 1.0,
double tempFactor = 0.0,
72 bool isHeteroAtom =
false,
73 unsigned int secondaryStructure = 0,
74 unsigned int segmentNumber = 0)
76 d_serialNumber(serialNumber),
78 d_residueName(residueName),
79 d_residueNumber(residueNumber),
81 d_insertionCode(insertionCode),
82 d_occupancy(occupancy),
83 d_tempFactor(tempFactor),
84 df_heteroAtom(isHeteroAtom),
85 d_secondaryStructure(secondaryStructure),
86 d_segmentNumber(segmentNumber){};
90 const std::string &
getAltLoc()
const {
return d_altLoc; };
91 void setAltLoc(
const std::string &val) { d_altLoc = val; };
96 const std::string &
getChainId()
const {
return d_chainId; };
97 void setChainId(
const std::string &val) { d_chainId = val; };
120 unsigned int d_serialNumber;
121 std::string d_altLoc;
122 std::string d_residueName;
124 std::string d_chainId;
125 std::string d_insertionCode;
130 unsigned int d_secondaryStructure;
131 unsigned int d_segmentNumber;
135 std::ostream &
operator<<(std::ostream &target,
const std::string & getName() const
AtomMonomerInfo(const AtomMonomerInfo &other)
void setName(const std::string &nm)
std::ostream & operator<<(std::ostream &target, const RDKit::AtomPDBResidueInfo &apri)
allows AtomPDBResidueInfo objects to be dumped to streams
void setSerialNumber(int val)
The abstract base class for atom-level monomer info.
const std::string & getAltLoc() const
void setResidueNumber(int val)
void setInsertionCode(const std::string &val)
void setAltLoc(const std::string &val)
bool getIsHeteroAtom() const
const std::string & getChainId() const
void setMonomerType(AtomMonomerType typ)
const std::string & getInsertionCode() const
void setChainId(const std::string &val)
AtomMonomerType getMonomerType() const
virtual AtomMonomerInfo * copy() const
void setSegmentNumber(unsigned int val)
AtomPDBResidueInfo(const AtomPDBResidueInfo &other)
void setOccupancy(double val)
void setIsHeteroAtom(bool val)
int getSerialNumber() const
double getTempFactor() const
void setSecondaryStructure(unsigned int val)
const std::string & getResidueName() const
AtomMonomerInfo * copy() const
virtual ~AtomMonomerInfo()
int getResidueNumber() const
unsigned int getSegmentNumber() const
Captures atom-level information about peptide residues.
double getOccupancy() const
AtomMonomerInfo(AtomMonomerType typ, const std::string &nm="")
unsigned int getSecondaryStructure() const
AtomPDBResidueInfo(const std::string &atomName, int serialNumber=0, const std::string &altLoc="", const std::string &residueName="", int residueNumber=0, const std::string &chainId="", const std::string &insertionCode="", double occupancy=1.0, double tempFactor=0.0, bool isHeteroAtom=false, unsigned int secondaryStructure=0, unsigned int segmentNumber=0)
void setTempFactor(double val)
void setResidueName(const std::string &val)