Types

The Types namespace contains a number of OEFieldType objects. These are used as arguments to the OEMakeField function, to indicate the data type of the field to be created.

The following table shows the members of the Types namespace and the corresponding value types.

Types member

Type stored on OERecord

Int

OELongLong (64-bit signed int)

Float

double

String

std::string

Bool

bool

Blob

std::vector<unsigned char>

Range

OERange

Record

OERecord

Chem::Mol

OEMol

Chem::DesignUnit

OEDesignUnit

Chem::Grid

OEScalarGrid

Chem::SkewGrid

OESkewGrid

Chem::FingerPrint

OEFingerPrint

Chem::Surface

OESurface

Chem::ShapeQuery

OEShapeQuery

IntVec

std::vector<OELongLong>

FloatVec

std::vector<double>

StringVec

std::vector<std::string>

BoolVec

std::vector<bool>

BlobVec

std::vector<std::vector<unsigned char>>

RecordVec

std::vector<OERecord>

Chem::MolVec

std::vector<OEMol>

Chem::GridVec

std::vector<OEScalarGrid>

Chem::SkewGridVec

std::vector<OESkewGrid>

Chem::FingerPrintVec

std::vector<OEFingerPrint>

Chem::SurfaceVec

std::vector<OESurface>

Chem::ShapeQueryVec

std::vector<OEShapeQuery>

Note

The types not defined in the OESystem namespace are not available until the higher level toolkits have been initialized.

See also