FieldDescriptor =============== .. cpp:class:: numpy::FieldDescriptor numpy C++ class. Example ------- .. code-block:: cpp #include using namespace numpy; // Use FieldDescriptor FieldDescriptor obj; // ... operations ... Constructors ------------ .. list-table:: :widths: 55 25 20 :header-rows: 1 * - Signature - Location - Example * - ``FieldDescriptor(const std::string &field_name, DTypefield_dtype, size_tfield_offset = 0, const std::vector&field_shape = {})`` - NP_STRUCTURED_DTYPE.H:21 - Indexing / Selection -------------------- .. list-table:: :widths: 40 20 15 25 :header-rows: 1 * - Signature - Return Type - Location - Example * - ``size_t getDTypeSize(DTypedtype)`` - size_t - NP_STRUCTURED_DTYPE.H:34 - * - ``size_t getTotalSize()`` - size_t - NP_STRUCTURED_DTYPE.H:26 -