Class SpreadsheetColumn


  • public class SpreadsheetColumn
    extends CFacade
    Generated facet for DNA struct type 'SpreadsheetColumn'.

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

        public static final int __DNA__SDNA_INDEX
        This is the sdna index of the struct SpreadsheetColumn.

        It is required when allocating a new block to store data for SpreadsheetColumn.

        See Also:
        StructDNA, BlockTable, Constant Field Values
      • __DNA__FIELD__next

        public static final long[] __DNA__FIELD__next
        Field descriptor (offset) for struct member 'next'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         SpreadsheetColumn spreadsheetcolumn = ...;
         CPointer<Object> p = spreadsheetcolumn.__dna__addressof(SpreadsheetColumn.__DNA__FIELD__next);
         CPointer<CPointer<SpreadsheetColumn>> p_next = p.cast(new Class[]{CPointer.class, SpreadsheetColumn.class});
         

        Metadata

        • Field: 'next'
        • Signature: 'SpreadsheetColumn*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__prev

        public static final long[] __DNA__FIELD__prev
        Field descriptor (offset) for struct member 'prev'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         SpreadsheetColumn spreadsheetcolumn = ...;
         CPointer<Object> p = spreadsheetcolumn.__dna__addressof(SpreadsheetColumn.__DNA__FIELD__prev);
         CPointer<CPointer<SpreadsheetColumn>> p_prev = p.cast(new Class[]{CPointer.class, SpreadsheetColumn.class});
         

        Metadata

        • Field: 'prev'
        • Signature: 'SpreadsheetColumn*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__id

        public static final long[] __DNA__FIELD__id
        Field descriptor (offset) for struct member 'id'.

        Field Documentation

        Blender Python API

        (read-only) Data used to identify the corresponding data from the data source

        Blender Source Code

        Identifies the data in the column. This is a pointer instead of a struct to make it easier if we want to "subclass" SpreadsheetColumnID in the future for different kinds of ids.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         SpreadsheetColumn spreadsheetcolumn = ...;
         CPointer<Object> p = spreadsheetcolumn.__dna__addressof(SpreadsheetColumn.__DNA__FIELD__id);
         CPointer<CPointer<SpreadsheetColumnID>> p_id = p.cast(new Class[]{CPointer.class, SpreadsheetColumnID.class});
         

        Metadata

        • Field: 'id'
        • Signature: 'SpreadsheetColumnID*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__data_type

        public static final long[] __DNA__FIELD__data_type
        Field descriptor (offset) for struct member 'data_type'.

        Field Documentation

        Blender Python API

        (read-only) The data type of the corresponding column visible in the spreadsheet

        Blender Source Code

        An indicator of the type of values in the column, set at runtime. #eSpreadsheetColumnValueType.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         SpreadsheetColumn spreadsheetcolumn = ...;
         CPointer<Object> p = spreadsheetcolumn.__dna__addressof(SpreadsheetColumn.__DNA__FIELD__data_type);
         CPointer<Byte> p_data_type = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'data_type'
        • Signature: 'uchar'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD___pad0

        public static final long[] __DNA__FIELD___pad0
        Field descriptor (offset) for struct member '_pad0'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         SpreadsheetColumn spreadsheetcolumn = ...;
         CPointer<Object> p = spreadsheetcolumn.__dna__addressof(SpreadsheetColumn.__DNA__FIELD___pad0);
         CPointer<CArrayFacade<Byte>> p__pad0 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad0'
        • Signature: 'char[7]'
        • Actual Size (32bit/64bit): 7/7
      • __DNA__FIELD__display_name

        public static final long[] __DNA__FIELD__display_name
        Field descriptor (offset) for struct member 'display_name'.

        Field Documentation

        Blender Source Code

        The final column name generated by the data source, also just cached at runtime when the data source columns are generated.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         SpreadsheetColumn spreadsheetcolumn = ...;
         CPointer<Object> p = spreadsheetcolumn.__dna__addressof(SpreadsheetColumn.__DNA__FIELD__display_name);
         CPointer<CPointer<Byte>> p_display_name = p.cast(new Class[]{CPointer.class, Byte.class});
         

        Metadata

        • Field: 'display_name'
        • Signature: 'char*'
        • Actual Size (32bit/64bit): 4/8
    • Constructor Detail

      • SpreadsheetColumn

        public SpreadsheetColumn​(long __address,
                                 Block __block,
                                 BlockTable __blockTable)
    • Method Detail

      • getId

        public CPointer<SpreadsheetColumnID> getId()
                                            throws java.io.IOException
        Get method for struct member 'id'.

        Field Documentation

        Blender Python API

        (read-only) Data used to identify the corresponding data from the data source

        Blender Source Code

        Identifies the data in the column. This is a pointer instead of a struct to make it easier if we want to "subclass" SpreadsheetColumnID in the future for different kinds of ids.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__id
      • setId

        public void setId​(CPointer<SpreadsheetColumnID> id)
                   throws java.io.IOException
        Set method for struct member 'id'.

        Field Documentation

        Blender Python API

        (read-only) Data used to identify the corresponding data from the data source

        Blender Source Code

        Identifies the data in the column. This is a pointer instead of a struct to make it easier if we want to "subclass" SpreadsheetColumnID in the future for different kinds of ids.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__id
      • getData_type

        public byte getData_type()
                          throws java.io.IOException
        Get method for struct member 'data_type'.

        Field Documentation

        Blender Python API

        (read-only) The data type of the corresponding column visible in the spreadsheet

        Blender Source Code

        An indicator of the type of values in the column, set at runtime. #eSpreadsheetColumnValueType.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__data_type
      • setData_type

        public void setData_type​(byte data_type)
                          throws java.io.IOException
        Set method for struct member 'data_type'.

        Field Documentation

        Blender Python API

        (read-only) The data type of the corresponding column visible in the spreadsheet

        Blender Source Code

        An indicator of the type of values in the column, set at runtime. #eSpreadsheetColumnValueType.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__data_type
      • get_pad0

        public CArrayFacade<java.lang.Byte> get_pad0()
                                              throws java.io.IOException
        Get method for struct member '_pad0'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad0
      • set_pad0

        public void set_pad0​(CArrayFacade<java.lang.Byte> _pad0)
                      throws java.io.IOException
        Set method for struct member '_pad0'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad0
      • getDisplay_name

        public CPointer<java.lang.Byte> getDisplay_name()
                                                 throws java.io.IOException
        Get method for struct member 'display_name'.

        Field Documentation

        Blender Source Code

        The final column name generated by the data source, also just cached at runtime when the data source columns are generated.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__display_name
      • setDisplay_name

        public void setDisplay_name​(CPointer<java.lang.Byte> display_name)
                             throws java.io.IOException
        Set method for struct member 'display_name'.

        Field Documentation

        Blender Source Code

        The final column name generated by the data source, also just cached at runtime when the data source columns are generated.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__display_name