Class CipSINT

    • Constructor Detail

      • CipSINT

        public CipSINT()
      • CipSINT

        public CipSINT​(byte val)
      • CipSINT

        public CipSINT​(int[] dimensions)
      • CipSINT

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

      • intValue

        public int intValue​(int... indices)
        Description copied from class: BaseDataType
        For data types 32-bits wide or less, return the best available 32-bit representation. If the subscripts are incomplete, return the element with the remaining subscripts set to zero.
        Overrides:
        intValue in class CipUSINT
        Parameters:
        indices - Array subscripts.
        Returns:
      • 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 CipUSINT
      • 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 CipUSINT
        Returns:
      • wrap

        public CipSINT 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 CipUSINT
        Parameters:
        indices - Array subscripts. Missing subscripts are allowed.