Class NodeInputString


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         NodeInputString nodeinputstring = ...;
         CPointer<Object> p = nodeinputstring.__dna__addressof(NodeInputString.__DNA__FIELD__string);
         CPointer<CPointer<Byte>> p_string = p.cast(new Class[]{CPointer.class, Byte.class});
         

        Metadata

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

      • NodeInputString

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

      • getString

        public CPointer<java.lang.Byte> getString()
                                           throws java.io.IOException
        Get method for struct member 'string'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__string
      • setString

        public void setString​(CPointer<java.lang.Byte> string)
                       throws java.io.IOException
        Set method for struct member 'string'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__string