@wildboar/rose
Version:
Remote Operation Service Element PDUs in TypeScript
106 lines • 3.61 kB
text/typescript
import { ASN1Element as _Element } from '@wildboar/asn1';
import * as $ from '@wildboar/asn1/functional';
import { CancelProblem, _enum_for_CancelProblem } from '../Remote-Operations-Useful-Definitions/CancelProblem.ta.mjs';
import { InvokeId } from '../Remote-Operations-Generic-ROS-PDUs/InvokeId.ta.mjs';
/**
* @summary cancelFailed_ParameterType
* @description
*
* ### ASN.1 Definition:
*
* ```asn1
* cancelFailed-ParameterType ::= SEQUENCE { -- REMOVED_FROM_UNNESTING -- }
* ```
*
*/
export declare class cancelFailed_ParameterType {
/**
* @summary `problem`.
* @public
* @readonly
*/
readonly problem: CancelProblem;
/**
* @summary `operation`.
* @public
* @readonly
*/
readonly operation: InvokeId;
constructor(
/**
* @summary `problem`.
* @public
* @readonly
*/
problem: CancelProblem,
/**
* @summary `operation`.
* @public
* @readonly
*/
operation: InvokeId);
/**
* @summary Restructures an object into a cancelFailed_ParameterType
* @description
*
* This takes an `object` and converts it to a `cancelFailed_ParameterType`.
*
* @public
* @static
* @method
* @param {Object} _o An object having all of the keys and values of a `cancelFailed_ParameterType`.
* @returns {cancelFailed_ParameterType}
*/
static _from_object(_o: {
[_K in keyof cancelFailed_ParameterType]: cancelFailed_ParameterType[_K];
}): cancelFailed_ParameterType;
/**
* @summary The enum used as the type of the component `problem`
* @public
* @static
*/
static _enum_for_problem: typeof _enum_for_CancelProblem;
}
/**
* @summary The Leading Root Component Types of cancelFailed_ParameterType
* @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_cancelFailed_ParameterType: $.ComponentSpec[];
/**
* @summary The Trailing Root Component Types of cancelFailed_ParameterType
* @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_cancelFailed_ParameterType: $.ComponentSpec[];
/**
* @summary The Extension Addition Component Types of cancelFailed_ParameterType
* @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_cancelFailed_ParameterType: $.ComponentSpec[];
/**
* @summary Decodes an ASN.1 element into a(n) cancelFailed_ParameterType
* @function
* @param {_Element} el The element being decoded.
* @returns {cancelFailed_ParameterType} The decoded data structure.
*/
export declare function _decode_cancelFailed_ParameterType(el: _Element): cancelFailed_ParameterType;
/**
* @summary Encodes a(n) cancelFailed_ParameterType 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 cancelFailed_ParameterType, encoded as an ASN.1 Element.
*/
export declare function _encode_cancelFailed_ParameterType(value: cancelFailed_ParameterType, elGetter: $.ASN1Encoder<cancelFailed_ParameterType>): _Element;
//# sourceMappingURL=cancelFailed-ParameterType.ta.d.mts.map