OEDefaultConfTest

class OEDefaultConfTest : public OEConfTestBase

This class represents OEDefaultConfTest.

This is the default implementation of OEConfTestBase. It never combines connection tables into multi-conformer molecules. This function is set as the conformer test to use by all of the oemolistream constructors.

The following methods are publicly inherited from OEConfTestBase:

CombineMols

CompareMols

CreateCopy

CombineMols

bool CombineMols(OEMCMolBase &m1, OEMolBase &m2)

Adds m2 as a new conformer in m1 and returns whether the combination was successful.

CompareMols

bool CompareMols(OEMolBase &m1, OEMolBase &m2) const

This method always returns false.

CreateCopy

OEConfTestBase *CreateCopy() const

Deep copy constructor that returns a copy of the object. The memory for the returned OEDefaultConfTest object is dynamically allocated and owned by the caller.

The returned copy should be deallocated using C++ delete operator in order to prevent a memory leak.

HasCompareMols

bool HasCompareMols() const

Always returns false for this object to indicate that the implementation of the OEConfTestBase::CompareMols method is “trivial” and always returns false, indicating molecule copying can be elided in OEReadMolecule.