class OEAtomBase : public OESystem::OEBase
This class represents OEAtomBase.
The following methods are publicly inherited from OEBase:
OEAtomBase &operator=(const OEAtomBase &a)
bool AddBond(const OEBondBase *)=0
void Clear()=0
unsigned int GetAtomicNum() const =0
Return the atomic number of the atom. A value of zero is returned for wildcard atoms, such as MDL super atoms. An atomic number is specified as the argument to OEMolBase.NewAtom and may be changed using OEAtomBase.SetAtomicNum. The set of unsigned integer values for this property are defined by the OEElemNo namespace.
OESystem::OEIterBase<OEAtomBase> *GetAtoms() const =0
OESystem::OEIterBase<OEAtomBase> *
GetAtoms(const OESystem::OEUnaryPredicate<OEChem::OEAtomBase> &) const =0
OEBondBase *GetBond(const OEAtomBase *) const
OESystem::OEIterBase<OEBondBase> *GetBonds() const =0
OESystem::OEIterBase<OEBondBase> *
GetBonds(const OESystem::OEUnaryPredicate<OEChem::OEBondBase> &) const =0
unsigned int GetDegree() const
unsigned int GetExplicitDegree() const =0
unsigned int GetExplicitHCount() const
unsigned int GetExplicitValence() const
int GetFormalCharge() const =0
unsigned int GetHvyDegree() const
unsigned int GetHvyValence() const
unsigned int GetHyb() const =0
Return the “hybridization” property of an atom. The set of unsigned integer values for this property are defined in the OEHybridization namespace. The default value is zero, (OEHybridization_Unknown). The “hybridization” property can be set with the OEAtomBase.SetHyb method.
unsigned int GetIdx() const =0
unsigned int GetImplicitHCount() const =0
int GetIntType() const =0
unsigned int GetIsotope() const =0
Return the isotopic mass of an atom. The default value is zero, meaning that the atom isn’t a specific single isotope, but a composition of isotopes in their naturally occurring abundances. A non-zero value indicates that the atom is a specific isotope. The “isotopic mass” property may be set using the OEAtomBase.SetIsotope method.
unsigned int GetMapIdx() const =0
const char *GetName() const =0
OEMolBase *GetParent() const =0
double GetPartialCharge() const =0
double GetRadius() const
Return the floating point radius assigned to an atom. The default value is 0.0. The “radius” property on an atom may be set using the OEAtomBase.SetRadius method. The radius property is typically used to hold a Van der Waal’s or ionic radius for a given atom when passing an OEMolBase to an algorithm requiring some form of radii, such as a surface area calculation.
unsigned int GetRxnRole() const
unsigned int GetStereo(const std::vector<OEAtomBase *> &, unsigned int) const
unsigned int GetSymmetryClass() const =0
unsigned int GetTotalHCount() const
const char *GetType() const =0
unsigned int GetValence() const
bool HasStereoSpecified(unsigned int v=OEAtomStereo::All) const
bool IsAromatic() const =0
bool IsCarbon() const
bool IsChiral() const
bool IsConnected(const OEAtomBase *) const
bool IsDataType(const void *) const
bool IsDeleted() const =0
bool IsHalogen() const
bool IsHydrogen() const
bool IsInRing() const =0
bool IsMetal() const
bool IsNitrogen() const
bool IsOxygen() const
bool IsPhosphorus() const
bool IsPolar() const
bool IsPolarHydrogen() const
bool IsSulfur() const
bool OrderBonds(const std::vector<OEBondBase *> &)=0
bool RemoveBond(OEBondBase *)=0
bool SetAromatic(bool)=0
bool SetAtomicNum(unsigned int)=0
Set the atomic number of an atom. The set of unsigned integer values for this property is specified by the OEElemNo. The default value is specified when an atom is created with OEMolBase.NewAtom method. The atomic number property of an atom can be retrieved using the OEAtomBase.GetAtomicNum method.
bool SetChiral(bool)
bool SetFormalCharge(int)=0
bool SetHyb(unsigned int)=0
Set the hybridization of an atom. The set of unsigned integer values for this property is specified by the OEHybridization namespace. The default value is zero (OEHybridization_Unknown). The “hybridization” property may be retrieved using the OEAtomBase.GetHyb method.
See also
bool SetIdx(unsigned int)=0
bool SetImplicitHCount(unsigned int)=0
bool SetInRing(bool)
bool SetIntType(int)=0
bool SetIsotope(unsigned int)=0
Set the isotopic mass of an atom (i.e. number of protons and neutrons). The default value is zero, meaning that the atom isn’t a specific single isotope, but a composition of isotopes in their naturally occurring abundances. A non-zero value indicates that the atom is a specific isotope. The “isotopic mass” property can be retrieved using the OEAtomBase.GetIsotope method.
bool SetMapIdx(unsigned int)=0
bool SetName(const char *)=0
bool SetName(const std::string &)=0
bool SetPartialCharge(float)=0
bool SetPartialCharge(double)=0
bool SetRadius(double)
Set the “radius” property of an atom. The assigned radius may be retrieved using the OEAtomBase.GetRadius method. The radius property is typically used to hold a Van der Waal’s or ionic radius for a given atom when passing an OEMolBase to an algorithm requiring some form of radii, such as a surface area calculation.
bool SetRxnRole(unsigned int)
bool SetStereo(const std::vector<OEAtomBase *> &, unsigned int, unsigned int)
bool SetSymmetryClass(unsigned int)=0
bool SetType(const char *)=0
bool SetType(const std::string &)=0
bool Sweep()=0