Class CipSGNODO

    • Constructor Detail

      • CipSGNODO

        public CipSGNODO()
      • CipSGNODO

        public CipSGNODO​(long val)
      • CipSGNODO

        public CipSGNODO​(int[] dimensions)
      • CipSGNODO

        protected CipSGNODO​(CipSGNODO data,
                            int[] indices)
    • Method Detail

      • getNestingDef

        public DataDefinitionSeg getNestingDef()
        Description copied from class: BaseDataType
        Return the element (not including array) type definition as a Path Segment, using the abbreviated form if a composite data type.
        Overrides:
        getNestingDef in class CipULINT
      • crcName

        public java.lang.String crcName()
        Description copied from class: BaseDataType
        Obtain the name of this type as used for computing structure CRCs. Can be different from the name(s) used by the CipPath parser.
        Overrides:
        crcName in class CipULINT
        Returns:
      • bytesEach

        public int bytesEach()
        Description copied from class: BaseDataType
        Obtain the bytes-per-element of this object's payload encoding. Objects with variable length encodings must return zero and implement the bytesImpl(), minEach(), maxEach(), and alignment() methods instead.
        Overrides:
        bytesEach in class CipULINT
        Returns:
        encoded bytes per element
      • set

        public void set​(int[] indices,
                        java.lang.Long val)
        Description copied from class: BaseDataType
        Application-side value storage. Subclasses must implement this function to store one value or complex element into the storage array.
        Overrides:
        set in class CipULINT
        Parameters:
        indices - Array subscripts. Missing subscripts not allowed.
      • setPayloadImpl

        protected void setPayloadImpl​(java.nio.ByteBuffer source,
                                      int[] indices)
        Description copied from class: BaseDataType
        All concrete implementations must supply their per-element decoder here.
        Overrides:
        setPayloadImpl in class CipULINT
      • putPayloadImpl

        protected void putPayloadImpl​(java.nio.ByteBuffer dest,
                                      int[] indices)
        Description copied from class: BaseDataType
        All concrete implementations must supply their per-element encoder here.
        Overrides:
        putPayloadImpl in class CipULINT
      • bytesImpl

        protected int bytesImpl​(int[] indices)
        Description copied from class: BaseDataType
        Retrieve the bytes payload size of a single array element (or sole element). Objects with fixed element sizes may simply return bytesEach() here.
        Overrides:
        bytesImpl in class CipULINT
        Returns:
      • wrap

        public CipSGNODO wrap​(int[] indices)
        Description copied from class: BaseDataType
        Application-side wrapper for inner dimensions. Implementations must update memberOffsets if not not using the protected constructor.
        Overrides:
        wrap in class CipULINT
        Parameters:
        indices - Array subscripts. Missing subscripts are allowed.