OEGetXLogPΒΆ

Returns the XLogP for a given molecule as described in the LogP section. The returned value will be equal to the sum on the individual atom contributions plus the linear regression constant -0.127.

The C++ version of this function uses a pointer-to-argument to indicate the success or failure of the computation. This idiom doesn’t map directly to the wrapped languages, so the wrapped versions of OEGetXLogP use exceptions to signal failure. This is not optimal. Hence, for the wrapped languages, the preferred method for computing XLogP is OEGetXLogPResult. It does not use exceptions and is much cleaner to use in the wrapped languages.

See also

LogP section