SignedIntegerAssertions
Short summary
This class provides assert statements for signed integers from 8~64 bit length
For 8 bit integers use SignedIntegerAssertions.short
For 16 bit integers use SignedIntegerAssertions.simple
For 32 bit integers use SignedIntegerAssertions.double
For 64 bit integers use SignedIntegerAssertions.long
For integers in register length use SignedIntegerAssertions.x
| Access | Abstract | Final | Extends | Implements |
|---|---|---|---|---|
| INTERNAL | No | No | CNM_AbstractObject.Object | ISignedIntegerAssertions, IAssertCallBacksetter |
UML Diagram
Parameters
none
Properties
className
Type: CNM_AbstractObject.ClassName
This abstract property returns the class name of the concrete object, …
double
Type: IDintAssertions
Returns the interface IDintAssertions with assert statements for signed 32 bit integers…
long
Type: ILintAssertions
Returns the interface ILintAssertions with assert statements for signed 64 bit integers…
short
Type: ISintAssertions
Returns the interface ISintAssertions with assert statements for signed 8 bit integers…
simple
Type: IIntAssertions
Returns the interface IIntAssertions with assert statements for signed 16 bit integers…
x
Type: IXintAssertions
Returns the interface IXintAssertions with assert statements for signed integers register length…
Methods
setCallBack
- Parameters:
callBack(IAssertCallBack): the class that must be informed if an assertion is false
- Return type:
VOID
This methods is the setter for the callback class if an assertion was false…
Code
Declaration
{attribute 'reflection'}
FUNCTION_BLOCK INTERNAL SignedIntegerAssertions EXTENDS CNM_AbstractObject.Object IMPLEMENTS ISignedIntegerAssertions, IAssertCallBacksetter
VAR
(* class to handle assert statements for signed short integers *)
sintAssertions :SintAssertions();
(* class to handle assert statements for signed integers *)
intAssertions :IntAssertions();
(* class to handle assert statements for signed double integers *)
dintAssertions :DintAssertions();
(* class to handle assert statements for signed register length integers *)
xintAssertions :XintAssertions();
(* class to handle assert statements for signed long integers *)
lintAssertions :LintAssertions();
END_VAR