@wildboar/rose
Version:
Remote Operation Service Element PDUs in TypeScript
115 lines • 3.91 kB
text/typescript
import { OPTIONAL, BOOLEAN, ASN1Element as _Element } from '@wildboar/asn1';
import * as $ from '@wildboar/asn1/functional';
import { RealizationParameter_realization_type, _enum_for_RealizationParameter_realization_type } from '../Remote-Operations-Realizations/RealizationParameter-realization-type.ta.mjs';
/**
* @summary RealizationParameter
* @description
*
* ### ASN.1 Definition:
*
* ```asn1
* RealizationParameter ::= SEQUENCE {
* realization-type ENUMERATED {association-service(0), transfer-service(1)},
* concatenation BOOLEAN DEFAULT FALSE
* }
* ```
*
*/
export declare class RealizationParameter {
/**
* @summary `realization_type`.
* @public
* @readonly
*/
readonly realization_type: RealizationParameter_realization_type;
/**
* @summary `concatenation`.
* @public
* @readonly
*/
readonly concatenation: OPTIONAL<BOOLEAN>;
constructor(
/**
* @summary `realization_type`.
* @public
* @readonly
*/
realization_type: RealizationParameter_realization_type,
/**
* @summary `concatenation`.
* @public
* @readonly
*/
concatenation: OPTIONAL<BOOLEAN>);
/**
* @summary Restructures an object into a RealizationParameter
* @description
*
* This takes an `object` and converts it to a `RealizationParameter`.
*
* @public
* @static
* @method
* @param {Object} _o An object having all of the keys and values of a `RealizationParameter`.
* @returns {RealizationParameter}
*/
static _from_object(_o: {
[_K in keyof RealizationParameter]: RealizationParameter[_K];
}): RealizationParameter;
/**
* @summary Getter that returns the default value for `concatenation`.
* @public
* @static
* @method
*/
static get _default_value_for_concatenation(): BOOLEAN;
/**
* @summary The enum used as the type of the component `realization_type`
* @public
* @static
*/
static _enum_for_realization_type: typeof _enum_for_RealizationParameter_realization_type;
}
/**
* @summary The Leading Root Component Types of RealizationParameter
* @description
*
* This is an array of `ComponentSpec`s that define how to decode the leading root component type list of a SET or SEQUENCE.
*
* @constant
*/
export declare const _root_component_type_list_1_spec_for_RealizationParameter: $.ComponentSpec[];
/**
* @summary The Trailing Root Component Types of RealizationParameter
* @description
*
* This is an array of `ComponentSpec`s that define how to decode the trailing root component type list of a SET or SEQUENCE.
*
* @constant
*/
export declare const _root_component_type_list_2_spec_for_RealizationParameter: $.ComponentSpec[];
/**
* @summary The Extension Addition Component Types of RealizationParameter
* @description
*
* This is an array of `ComponentSpec`s that define how to decode the extension addition component type list of a SET or SEQUENCE.
*
* @constant
*/
export declare const _extension_additions_list_spec_for_RealizationParameter: $.ComponentSpec[];
/**
* @summary Decodes an ASN.1 element into a(n) RealizationParameter
* @function
* @param {_Element} el The element being decoded.
* @returns {RealizationParameter} The decoded data structure.
*/
export declare function _decode_RealizationParameter(el: _Element): RealizationParameter;
/**
* @summary Encodes a(n) RealizationParameter into an ASN.1 Element.
* @function
* @param value The element being encoded.
* @param elGetter A function that can be used to get new ASN.1 elements.
* @returns {_Element} The RealizationParameter, encoded as an ASN.1 Element.
*/
export declare function _encode_RealizationParameter(value: RealizationParameter, elGetter: $.ASN1Encoder<RealizationParameter>): _Element;
//# sourceMappingURL=RealizationParameter.ta.d.mts.map