.. oe:namespace:: OEDataFlow

..  _OEDataFlow_Types:

.. oe:constnamespace:: Types

   The :oe:constns:`OEDataFlow::Types` namespace contains a number
   of :ref:`OEFieldType <OEDataFlow_OEFieldType>` objects. These are used
   as arguments to the :ref:`OEMakeField <OEDataFlow_OEMakeField>` function,
   to indicate the data type of the field to be created.

   The following table shows the members of the :oe:constns:`OEDataFlow::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                 :ref:`OERange <OEDataFlow_OERange>`
   Record                :ref:`OERecord <OEDataFlow_OERecord>`
   Chem::Mol             :ref:`OEMol <OEChem_OEMol>`
   Chem::DesignUnit      :ref:`OEDesignUnit <OEBio_OEDesignUnit>`
   Chem::Grid            :ref:`OEScalarGrid <OESystem_OEScalarGrid>`
   Chem::SkewGrid        :ref:`OESkewGrid <OESystem_OESkewGrid>`
   Chem::FingerPrint     :ref:`OEFingerPrint <OEGraphSim_OEFingerPrint>`
   Chem::Surface         :ref:`OESurface <OESpicoli_OESurface>`
   Chem::ShapeQuery      :ref:`OEShapeQuery <OEShape_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.

   .. seealso::

      * :ref:`OEMakeField <OEDataFlow_OEMakeField>`
