Class CipDINT

    • Constructor Detail

      • CipDINT

        public CipDINT()
      • CipDINT

        public CipDINT​(int val)
      • CipDINT

        public CipDINT​(int[] dimensions)
      • CipDINT

        protected CipDINT​(CipDINT 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 CipUDINT
      • 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 CipUDINT
        Returns:
      • longValue

        public java.math.BigInteger longValue​(int... indices)
        CipUDINT overrides the base type's passthrough of intValue to be unsigned. Undo this by overriding here to be the same implementation as the base type.
        Overrides:
        longValue in class CipUDINT
        Parameters:
        indices - Array subscripts.
        Returns:
      • wrap

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