OEMol

class OEMol

This class represents OEMol.

Constructors

OEMol(const OEMol &)
OEMol(const OEMCMolBase &)
OEMol(const OEMol &, unsigned int type)
OEMol(unsigned int type=OEMolType::OEDefault)
OEMol(const OEMCMolBase &, unsigned int type)
OEMol(const OEQMol &, unsigned int type=OEMolType::OEDefault)
OEMol(const OEMolBase &, unsigned int type=OEMolType::OEDefault)
OEMol(const OEQMolBase &, unsigned int type=OEMolType::OEDefault)
OEMol(const OEGraphMol &, unsigned int type=OEMolType::OEDefault)
OEMol(const OESystem::OEBase &, unsigned int type=OEMolType::OEDefault)

Default and copy constructors.

operator=

OEMol &operator=(const OEMol &)
OEMol &operator=(const OEQMol &)
OEMol &operator=(const OEMolBase &)
OEMol &operator=(const OEGraphMol &)
OEMol &operator=(const OEQMolBase &)
OEMol &operator=(const OEMCMolBase &)

operator bool

operator bool() const

operator OEMCMolBase &

operator OEMCMolBase &() const

AddData

template<typename T>
bool AddData(const char *tag, const T t)
template<typename T>
bool AddData(unsigned int tag, const T t)
template<typename T>
bool AddData(const char *tag, const T t, unsigned int len)
template<typename T>
bool AddData(unsigned int tag, const T t, unsigned int len)

Clear

void Clear()

ClearBase

void ClearBase()

ClearMCMol

void ClearMCMol()

ClearMolBase

void ClearMolBase()

Compress

bool Compress()

Count

unsigned int Count(unsigned int i) const

CreateCopy

OESystem::OEBase *CreateCopy() const

DeleteAtom

bool DeleteAtom(OEAtomBase *a)

DeleteBond

bool DeleteBond(OEBondBase *b)

DeleteConf

bool DeleteConf(OEConfBase *c)

DeleteConfs

void DeleteConfs()

DeleteData

bool DeleteData(const char *tag)
bool DeleteData(unsigned int tag)

GetActive

OEConfBase *GetActive() const

GetAtom

OEAtomBase *
  GetAtom(const OESystem::OEUnaryPredicate<OEChem::OEAtomBase> &pred) const

GetAtoms

OESystem::OEIterBase<OEAtomBase> *GetAtoms() const
OESystem::OEIterBase<OEAtomBase> *
  GetAtoms(const OESystem::OEUnaryPredicate<OEChem::OEAtomBase> &pred) const

GetBond

OEBondBase *GetBond(const OEAtomBase *a1, const OEAtomBase *a2) const
OEBondBase *
  GetBond(const OESystem::OEUnaryPredicate<OEChem::OEBondBase> &pred) const

GetBonds

OESystem::OEIterBase<OEBondBase> *GetBonds() const
OESystem::OEIterBase<OEBondBase> *
  GetBonds(const OESystem::OEUnaryPredicate<OEChem::OEBondBase> &pred) const

GetBoolData

bool GetBoolData(const char *tag)
bool GetBoolData(unsigned int tag)

GetConf

OEConfBase *
  GetConf(const OESystem::OEUnaryPredicate<OEChem::OEConfBase> &p) const

GetConfs

OESystem::OEIterBase<OEConfBase> *GetConfs() const
OESystem::OEIterBase<OEConfBase> *
  GetConfs(const OESystem::OEUnaryPredicate<OEChem::OEConfBase> &pred) const

GetCoords

bool GetCoords(float *c) const
bool GetCoords(double *c) const
bool GetCoords(const OEAtomBase *a, float *c) const
bool GetCoords(const OEAtomBase *a, double *c) const

GetData

template<typename T>
const T &GetData(const char *tag) const
template<typename T>
const T &GetData(unsigned int tag) const

GetDataIter

OESystem::OEIterBase<OESystem::OEBaseData> *GetDataIter() const

GetDataType

const void *GetDataType() const

GetDimension

unsigned int GetDimension() const

GetDoubleData

double GetDoubleData(const char *tag)
double GetDoubleData(unsigned int tag)

GetEnergy

double GetEnergy() const

GetFloatData

float GetFloatData(const char *tag)
float GetFloatData(unsigned int tag)

GetIntData

int GetIntData(const char *tag)
int GetIntData(unsigned int tag)

GetMaxAtomIdx

unsigned int GetMaxAtomIdx() const

GetMaxBondIdx

unsigned int GetMaxBondIdx() const

GetMaxConfIdx

unsigned int GetMaxConfIdx() const

GetStringData

std::string GetStringData(const char *tag)
std::string GetStringData(unsigned int tag)

GetTitle

const char *GetTitle() const

HasData

bool HasData(const char *tag) const
bool HasData(unsigned int tag) const

HasPerceived

bool HasPerceived(unsigned int flag) const

IsDataType

bool IsDataType(const void *type) const

IsDeleted

bool IsDeleted(OEConfBase *c) const

IsRxn

bool IsRxn() const

MCMol

OEMCMolBase &MCMol() const

NewAtom

OEAtomBase *NewAtom(const OEAtomBase &a)
OEAtomBase *NewAtom(unsigned int element)

NewBond

OEBondBase *NewBond(OEAtomBase *a1, OEAtomBase *a2, unsigned int order)

NewConf

OEConfBase *NewConf()
OEConfBase *NewConf(const OEMolBase *m)
OEConfBase *NewConf(const float *coords)
OEConfBase *NewConf(const OEConfBase *c)
OEConfBase *NewConf(const double *coords)
OEConfBase *NewConf(const OEConfBase *c, const OETrans &t)
OEConfBase *NewConf(const OEConfBase *c, std::vector<OETorsion> &t)

NumAtoms

unsigned int NumAtoms() const

NumBonds

unsigned int NumBonds() const

NumConfs

unsigned int NumConfs() const

OrderAtoms

bool OrderAtoms(const std::vector<OEAtomBase *> &va)

OrderBonds

bool OrderBonds(const std::vector<OEBondBase *> &vb)

OrderConfs

bool OrderConfs(const std::vector<OEConfBase *> &vc)

PopActive

void PopActive()

PushActive

bool PushActive(OEConfBase *c)

ResetConf

bool ResetConf(OEConfBase *lhs, const OEConfBase *rhs)

ResetPerceived

void ResetPerceived()

SCMol

OEMolBase &SCMol() const

SetActive

bool SetActive(OEConfBase *c)

SetBoolData

bool SetBoolData(const char *tag, const bool t)
bool SetBoolData(unsigned int tag, const bool t)

SetCoords

bool SetCoords(const float *c)
bool SetCoords(const double *c)
bool SetCoords(const OEAtomBase *a, const float *c)
bool SetCoords(const OEAtomBase *a, const double *c)

SetData

template<typename T>
bool SetData(const char *tag, const T t)
template<typename T>
bool SetData(unsigned int tag, const T t)
template<typename T>
bool SetData(const char *tag, const T t, unsigned int len)
template<typename T>
bool SetData(unsigned int tag, const T t, unsigned int len)

SetDimension

bool SetDimension(unsigned int d)

SetDoubleData

bool SetDoubleData(const char *tag, const double t)
bool SetDoubleData(unsigned int tag, const double t)

SetEnergy

bool SetEnergy(float e)
bool SetEnergy(double e)

SetFloatData

bool SetFloatData(const char *tag, const float t)
bool SetFloatData(unsigned int tag, const float t)

SetIntData

bool SetIntData(const char *tag, const int t)
bool SetIntData(unsigned int tag, const int t)

SetPerceived

bool SetPerceived(unsigned int flag, bool b)

SetRxn

bool SetRxn(bool b)

SetStringData

bool SetStringData(const char *tag, const std::string t)
bool SetStringData(unsigned int tag, const std::string t)

SetTitle

bool SetTitle(const char *t)
bool SetTitle(const std::string &t)

Sweep

bool Sweep()

SweepConfs

bool SweepConfs()

UnCompress

bool UnCompress()