node-opcua-factory 2.73.1 → 2.76.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +3 -1
- package/dist/base_ua_object.d.ts +53 -53
- package/dist/base_ua_object.js +535 -535
- package/dist/basic_type.d.ts +40 -40
- package/dist/basic_type.js +118 -118
- package/dist/builtin_types.d.ts +46 -46
- package/dist/builtin_types.js +283 -283
- package/dist/builtin_types_special.d.ts +5 -5
- package/dist/builtin_types_special.js +45 -45
- package/dist/datatype_factory.d.ts +36 -36
- package/dist/datatype_factory.js +307 -305
- package/dist/datatype_factory.js.map +1 -1
- package/dist/encode_decode.d.ts +9 -9
- package/dist/encode_decode.js +39 -39
- package/dist/enumerations.d.ts +32 -32
- package/dist/enumerations.js +77 -77
- package/dist/get_built_in_type.js +1 -1
- package/dist/get_standard_data_type_factory.d.ts +12 -12
- package/dist/get_standard_data_type_factory.js +34 -34
- package/dist/get_structured_type_schema.d.ts +4 -4
- package/dist/get_structured_type_schema.js +12 -12
- package/dist/id_generator.d.ts +3 -3
- package/dist/id_generator.js +21 -21
- package/dist/index.d.ts +18 -18
- package/dist/index.js +34 -34
- package/dist/nodeid_type.d.ts +13 -13
- package/dist/nodeid_type.js +18 -18
- package/dist/parameters.d.ts +3 -3
- package/dist/parameters.js +6 -6
- package/dist/register_class_definition.d.ts +3 -3
- package/dist/register_class_definition.js +8 -8
- package/dist/schema_helpers.d.ts +24 -24
- package/dist/schema_helpers.js +99 -99
- package/dist/structured_type_schema.d.ts +44 -44
- package/dist/structured_type_schema.js +278 -278
- package/dist/types.d.ts +151 -151
- package/dist/types.js +9 -9
- package/package.json +15 -12
- package/source/datatype_factory.ts +8 -5
- package/dist/constructor_type.d.ts +0 -15
- package/dist/constructor_type.js +0 -3
- package/dist/constructor_type.js.map +0 -1
- package/dist/factories_baseobject.d.ts +0 -56
- package/dist/factories_baseobject.js +0 -535
- package/dist/factories_baseobject.js.map +0 -1
- package/dist/factories_basic_type.d.ts +0 -40
- package/dist/factories_basic_type.js +0 -136
- package/dist/factories_basic_type.js.map +0 -1
- package/dist/factories_builtin_types.d.ts +0 -32
- package/dist/factories_builtin_types.js +0 -262
- package/dist/factories_builtin_types.js.map +0 -1
- package/dist/factories_builtin_types_special.d.ts +0 -5
- package/dist/factories_builtin_types_special.js +0 -46
- package/dist/factories_builtin_types_special.js.map +0 -1
- package/dist/factories_enumerations.d.ts +0 -31
- package/dist/factories_enumerations.js +0 -78
- package/dist/factories_enumerations.js.map +0 -1
- package/dist/factories_factories.d.ts +0 -17
- package/dist/factories_factories.js +0 -54
- package/dist/factories_factories.js.map +0 -1
- package/dist/factories_id_generator.d.ts +0 -3
- package/dist/factories_id_generator.js +0 -22
- package/dist/factories_id_generator.js.map +0 -1
- package/dist/factories_schema_helpers.d.ts +0 -27
- package/dist/factories_schema_helpers.js +0 -122
- package/dist/factories_schema_helpers.js.map +0 -1
- package/dist/factories_structuredTypeSchema.d.ts +0 -45
- package/dist/factories_structuredTypeSchema.js +0 -277
- package/dist/factories_structuredTypeSchema.js.map +0 -1
package/LICENSE
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
|
-
Copyright (c)
|
|
3
|
+
Copyright (c) 2022 Sterfive SAS - 833264583 RCS ORLEANS - France (https://www.sterfive.com)
|
|
4
|
+
|
|
5
|
+
Copyright (c) 2014-2022 Etienne Rossignon
|
|
4
6
|
|
|
5
7
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
6
8
|
this software and associated documentation files (the "Software"), to deal in
|
package/dist/base_ua_object.d.ts
CHANGED
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
import { BinaryStream, OutputBinaryStream } from "node-opcua-binary-stream";
|
|
2
|
-
import { Func1, IStructuredTypeSchema, IBaseUAObject, DecodeDebugOptions } from "./types";
|
|
3
|
-
export interface BaseUAObject extends IBaseUAObject {
|
|
4
|
-
schema: IStructuredTypeSchema;
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* @class BaseUAObject
|
|
8
|
-
* @constructor
|
|
9
|
-
*/
|
|
10
|
-
export declare class BaseUAObject {
|
|
11
|
-
constructor();
|
|
12
|
-
/**
|
|
13
|
-
* Encode the object to the binary stream.
|
|
14
|
-
* @class BaseUAObject
|
|
15
|
-
* @method encode
|
|
16
|
-
* @param stream {BinaryStream}
|
|
17
|
-
*/
|
|
18
|
-
encode(stream: OutputBinaryStream): void;
|
|
19
|
-
/**
|
|
20
|
-
* Decode the object from the binary stream.
|
|
21
|
-
* @class BaseUAObject
|
|
22
|
-
* @method decode
|
|
23
|
-
* @param stream {BinaryStream}
|
|
24
|
-
*/
|
|
25
|
-
decode(stream: BinaryStream): void;
|
|
26
|
-
/**
|
|
27
|
-
* Calculate the required size to store this object in a binary stream.
|
|
28
|
-
* @method binaryStoreSize
|
|
29
|
-
* @return number
|
|
30
|
-
*/
|
|
31
|
-
binaryStoreSize(): number;
|
|
32
|
-
/**
|
|
33
|
-
* @method toString
|
|
34
|
-
* @return {String}
|
|
35
|
-
*/
|
|
36
|
-
toString(...args: any[]): string;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* verify that all object attributes values are valid according to schema
|
|
40
|
-
* @method isValid
|
|
41
|
-
* @return boolean
|
|
42
|
-
*/
|
|
43
|
-
isValid(): boolean;
|
|
44
|
-
/**
|
|
45
|
-
* @method decodeDebug
|
|
46
|
-
*
|
|
47
|
-
*/
|
|
48
|
-
decodeDebug(stream: BinaryStream, options: DecodeDebugOptions): void;
|
|
49
|
-
explore(): string;
|
|
50
|
-
applyOnAllFields<T>(func: Func1<T>, data: T): void;
|
|
51
|
-
toJSON(): any;
|
|
52
|
-
clone(): any;
|
|
53
|
-
}
|
|
1
|
+
import { BinaryStream, OutputBinaryStream } from "node-opcua-binary-stream";
|
|
2
|
+
import { Func1, IStructuredTypeSchema, IBaseUAObject, DecodeDebugOptions } from "./types";
|
|
3
|
+
export interface BaseUAObject extends IBaseUAObject {
|
|
4
|
+
schema: IStructuredTypeSchema;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* @class BaseUAObject
|
|
8
|
+
* @constructor
|
|
9
|
+
*/
|
|
10
|
+
export declare class BaseUAObject {
|
|
11
|
+
constructor();
|
|
12
|
+
/**
|
|
13
|
+
* Encode the object to the binary stream.
|
|
14
|
+
* @class BaseUAObject
|
|
15
|
+
* @method encode
|
|
16
|
+
* @param stream {BinaryStream}
|
|
17
|
+
*/
|
|
18
|
+
encode(stream: OutputBinaryStream): void;
|
|
19
|
+
/**
|
|
20
|
+
* Decode the object from the binary stream.
|
|
21
|
+
* @class BaseUAObject
|
|
22
|
+
* @method decode
|
|
23
|
+
* @param stream {BinaryStream}
|
|
24
|
+
*/
|
|
25
|
+
decode(stream: BinaryStream): void;
|
|
26
|
+
/**
|
|
27
|
+
* Calculate the required size to store this object in a binary stream.
|
|
28
|
+
* @method binaryStoreSize
|
|
29
|
+
* @return number
|
|
30
|
+
*/
|
|
31
|
+
binaryStoreSize(): number;
|
|
32
|
+
/**
|
|
33
|
+
* @method toString
|
|
34
|
+
* @return {String}
|
|
35
|
+
*/
|
|
36
|
+
toString(...args: any[]): string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* verify that all object attributes values are valid according to schema
|
|
40
|
+
* @method isValid
|
|
41
|
+
* @return boolean
|
|
42
|
+
*/
|
|
43
|
+
isValid(): boolean;
|
|
44
|
+
/**
|
|
45
|
+
* @method decodeDebug
|
|
46
|
+
*
|
|
47
|
+
*/
|
|
48
|
+
decodeDebug(stream: BinaryStream, options: DecodeDebugOptions): void;
|
|
49
|
+
explore(): string;
|
|
50
|
+
applyOnAllFields<T>(func: Func1<T>, data: T): void;
|
|
51
|
+
toJSON(): any;
|
|
52
|
+
clone(): any;
|
|
53
|
+
}
|