Interface CompositeInternal

    • Field Detail

      • DISABLED_PACKING_NAME

        static final java.lang.String DISABLED_PACKING_NAME
        See Also:
        Constant Field Values
      • DEFAULT_PACKING_NAME

        static final java.lang.String DEFAULT_PACKING_NAME
        See Also:
        Constant Field Values
      • DEFAULT_PACKING

        static final int DEFAULT_PACKING
        The stored packing value which corresponds to a composite that will automatically pack based upon the alignment requirements of its components. A positive pack value will also pack in a similar fashion but will use the pack value as a maximum alignment for each component. See getStoredPackingValue().
        See Also:
        Constant Field Values
      • NO_PACKING

        static final int NO_PACKING
        The stored packing value which corresponds to a composite whose packing has been disabled. In the case of structures this will permit explicit component placement by offset within the structure and undefined filler components will be used. This is the initial state of all newly instantiated structures. See getStoredPackingValue().
        See Also:
        Constant Field Values
      • DEFAULT_ALIGNMENT

        static final int DEFAULT_ALIGNMENT
        The stored minimum alignment value which indicates the default alignment should be used based upon the packing and component alignment requirements. See getStoredMinimumAlignment().
        See Also:
        Constant Field Values
    • Method Detail

      • getStoredPackingValue

        int getStoredPackingValue()
        Gets the current packing value (typically a power of 2). Other special values which may be returned include 0 and -1.
        Returns:
        the current positive packing value, 0 or -1.
      • getStoredMinimumAlignment

        int getStoredMinimumAlignment()
        Get the minimum alignment setting for this Composite which contributes to the actual computed alignment value (see Composite.getAlignment().
        Returns:
        the minimum alignment setting for this Composite or a reserved value to indicate either DEFAULT_ALIGNMENT or MACHINE_ALIGNMENT.
      • toString

        static java.lang.String toString​(Composite composite)
        Dump composite and its components for use in #toString() representation.
        Parameters:
        composite - composite instance to be dumped
        Returns:
        formatted dump as string
      • getAlignmentAndPackingString

        static java.lang.String getAlignmentAndPackingString​(Composite composite)
      • getMinAlignmentString

        static java.lang.String getMinAlignmentString​(Composite composite)
      • getPackingString

        static java.lang.String getPackingString​(Composite composite)