aboutsummaryrefslogtreecommitdiffstats
path: root/tests/90-cond-int-type-OK.asn1.-Pgen-PER
diff options
context:
space:
mode:
authorvlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826>2006-08-18 01:46:46 +0000
committervlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826>2006-08-18 01:46:46 +0000
commitb1b193efcde1b157e50cd6d39688763ca1fcf6df (patch)
tree191d43b8908647b9c3274080b1e6d1daae841bd4 /tests/90-cond-int-type-OK.asn1.-Pgen-PER
parent6aa5098dd5347873e07945ab7bf188d8196513d1 (diff)
per support
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@1129 59561ff5-6e30-0410-9f3c-9617f08c8826
Diffstat (limited to 'tests/90-cond-int-type-OK.asn1.-Pgen-PER')
-rw-r--r--tests/90-cond-int-type-OK.asn1.-Pgen-PER198
1 files changed, 198 insertions, 0 deletions
diff --git a/tests/90-cond-int-type-OK.asn1.-Pgen-PER b/tests/90-cond-int-type-OK.asn1.-Pgen-PER
index 4f29f49f..bd2f6e99 100644
--- a/tests/90-cond-int-type-OK.asn1.-Pgen-PER
+++ b/tests/90-cond-int-type-OK.asn1.-Pgen-PER
@@ -18,6 +18,7 @@ der_type_encoder_f CN_IntegerUnlimited_encode_der;
xer_type_decoder_f CN_IntegerUnlimited_decode_xer;
xer_type_encoder_f CN_IntegerUnlimited_encode_xer;
per_type_decoder_f CN_IntegerUnlimited_decode_uper;
+per_type_encoder_f CN_IntegerUnlimited_encode_uper;
/*** <<< CODE [CN-IntegerUnlimited] >>> ***/
@@ -42,6 +43,7 @@ CN_IntegerUnlimited_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
td->xer_decoder = asn_DEF_INTEGER.xer_decoder;
td->xer_encoder = asn_DEF_INTEGER.xer_encoder;
td->uper_decoder = asn_DEF_INTEGER.uper_decoder;
+ td->uper_encoder = asn_DEF_INTEGER.uper_encoder;
if(!td->per_constraints)
td->per_constraints = asn_DEF_INTEGER.per_constraints;
td->elements = asn_DEF_INTEGER.elements;
@@ -100,6 +102,14 @@ CN_IntegerUnlimited_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descrip
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
+asn_enc_rval_t
+CN_IntegerUnlimited_encode_uper(asn_TYPE_descriptor_t *td,
+ asn_per_constraints_t *constraints,
+ void *structure, asn_per_outp_t *per_out) {
+ CN_IntegerUnlimited_1_inherit_TYPE_descriptor(td);
+ return td->uper_encoder(td, constraints, structure, per_out);
+}
+
/*** <<< STAT-DEFS [CN-IntegerUnlimited] >>> ***/
@@ -117,6 +127,7 @@ asn_TYPE_descriptor_t asn_DEF_CN_IntegerUnlimited = {
CN_IntegerUnlimited_decode_xer,
CN_IntegerUnlimited_encode_xer,
CN_IntegerUnlimited_decode_uper,
+ CN_IntegerUnlimited_encode_uper,
0, /* Use generic outmost tag fetcher */
asn_DEF_CN_IntegerUnlimited_tags_1,
sizeof(asn_DEF_CN_IntegerUnlimited_tags_1)
@@ -149,6 +160,7 @@ der_type_encoder_f CN_IntegerMinMax_encode_der;
xer_type_decoder_f CN_IntegerMinMax_decode_xer;
xer_type_encoder_f CN_IntegerMinMax_encode_xer;
per_type_decoder_f CN_IntegerMinMax_decode_uper;
+per_type_encoder_f CN_IntegerMinMax_encode_uper;
/*** <<< CODE [CN-IntegerMinMax] >>> ***/
@@ -187,6 +199,7 @@ CN_IntegerMinMax_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
td->xer_decoder = asn_DEF_INTEGER.xer_decoder;
td->xer_encoder = asn_DEF_INTEGER.xer_encoder;
td->uper_decoder = asn_DEF_INTEGER.uper_decoder;
+ td->uper_encoder = asn_DEF_INTEGER.uper_encoder;
if(!td->per_constraints)
td->per_constraints = asn_DEF_INTEGER.per_constraints;
td->elements = asn_DEF_INTEGER.elements;
@@ -245,6 +258,14 @@ CN_IntegerMinMax_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
+asn_enc_rval_t
+CN_IntegerMinMax_encode_uper(asn_TYPE_descriptor_t *td,
+ asn_per_constraints_t *constraints,
+ void *structure, asn_per_outp_t *per_out) {
+ CN_IntegerMinMax_1_inherit_TYPE_descriptor(td);
+ return td->uper_encoder(td, constraints, structure, per_out);
+}
+
/*** <<< STAT-DEFS [CN-IntegerMinMax] >>> ***/
@@ -266,6 +287,7 @@ asn_TYPE_descriptor_t asn_DEF_CN_IntegerMinMax = {
CN_IntegerMinMax_decode_xer,
CN_IntegerMinMax_encode_xer,
CN_IntegerMinMax_decode_uper,
+ CN_IntegerMinMax_encode_uper,
0, /* Use generic outmost tag fetcher */
asn_DEF_CN_IntegerMinMax_tags_1,
sizeof(asn_DEF_CN_IntegerMinMax_tags_1)
@@ -298,6 +320,7 @@ der_type_encoder_f CN_IntegerMinLow_encode_der;
xer_type_decoder_f CN_IntegerMinLow_decode_xer;
xer_type_encoder_f CN_IntegerMinLow_encode_xer;
per_type_decoder_f CN_IntegerMinLow_decode_uper;
+per_type_encoder_f CN_IntegerMinLow_encode_uper;
/*** <<< CODE [CN-IntegerMinLow] >>> ***/
@@ -345,6 +368,7 @@ CN_IntegerMinLow_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
td->xer_decoder = asn_DEF_INTEGER.xer_decoder;
td->xer_encoder = asn_DEF_INTEGER.xer_encoder;
td->uper_decoder = asn_DEF_INTEGER.uper_decoder;
+ td->uper_encoder = asn_DEF_INTEGER.uper_encoder;
if(!td->per_constraints)
td->per_constraints = asn_DEF_INTEGER.per_constraints;
td->elements = asn_DEF_INTEGER.elements;
@@ -403,6 +427,14 @@ CN_IntegerMinLow_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
+asn_enc_rval_t
+CN_IntegerMinLow_encode_uper(asn_TYPE_descriptor_t *td,
+ asn_per_constraints_t *constraints,
+ void *structure, asn_per_outp_t *per_out) {
+ CN_IntegerMinLow_1_inherit_TYPE_descriptor(td);
+ return td->uper_encoder(td, constraints, structure, per_out);
+}
+
/*** <<< STAT-DEFS [CN-IntegerMinLow] >>> ***/
@@ -424,6 +456,7 @@ asn_TYPE_descriptor_t asn_DEF_CN_IntegerMinLow = {
CN_IntegerMinLow_decode_xer,
CN_IntegerMinLow_encode_xer,
CN_IntegerMinLow_decode_uper,
+ CN_IntegerMinLow_encode_uper,
0, /* Use generic outmost tag fetcher */
asn_DEF_CN_IntegerMinLow_tags_1,
sizeof(asn_DEF_CN_IntegerMinLow_tags_1)
@@ -456,6 +489,7 @@ der_type_encoder_f NO_IntegerMinHigh_encode_der;
xer_type_decoder_f NO_IntegerMinHigh_decode_xer;
xer_type_encoder_f NO_IntegerMinHigh_encode_xer;
per_type_decoder_f NO_IntegerMinHigh_decode_uper;
+per_type_encoder_f NO_IntegerMinHigh_encode_uper;
/*** <<< CODE [NO-IntegerMinHigh] >>> ***/
@@ -503,6 +537,7 @@ NO_IntegerMinHigh_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
td->xer_decoder = asn_DEF_INTEGER.xer_decoder;
td->xer_encoder = asn_DEF_INTEGER.xer_encoder;
td->uper_decoder = asn_DEF_INTEGER.uper_decoder;
+ td->uper_encoder = asn_DEF_INTEGER.uper_encoder;
if(!td->per_constraints)
td->per_constraints = asn_DEF_INTEGER.per_constraints;
td->elements = asn_DEF_INTEGER.elements;
@@ -561,6 +596,14 @@ NO_IntegerMinHigh_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descripto
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
+asn_enc_rval_t
+NO_IntegerMinHigh_encode_uper(asn_TYPE_descriptor_t *td,
+ asn_per_constraints_t *constraints,
+ void *structure, asn_per_outp_t *per_out) {
+ NO_IntegerMinHigh_1_inherit_TYPE_descriptor(td);
+ return td->uper_encoder(td, constraints, structure, per_out);
+}
+
/*** <<< STAT-DEFS [NO-IntegerMinHigh] >>> ***/
@@ -582,6 +625,7 @@ asn_TYPE_descriptor_t asn_DEF_NO_IntegerMinHigh = {
NO_IntegerMinHigh_decode_xer,
NO_IntegerMinHigh_encode_xer,
NO_IntegerMinHigh_decode_uper,
+ NO_IntegerMinHigh_encode_uper,
0, /* Use generic outmost tag fetcher */
asn_DEF_NO_IntegerMinHigh_tags_1,
sizeof(asn_DEF_NO_IntegerMinHigh_tags_1)
@@ -614,6 +658,7 @@ der_type_encoder_f NO_IntegerLowHigh_encode_der;
xer_type_decoder_f NO_IntegerLowHigh_decode_xer;
xer_type_encoder_f NO_IntegerLowHigh_encode_xer;
per_type_decoder_f NO_IntegerLowHigh_decode_uper;
+per_type_encoder_f NO_IntegerLowHigh_encode_uper;
/*** <<< CODE [NO-IntegerLowHigh] >>> ***/
@@ -661,6 +706,7 @@ NO_IntegerLowHigh_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
td->xer_decoder = asn_DEF_INTEGER.xer_decoder;
td->xer_encoder = asn_DEF_INTEGER.xer_encoder;
td->uper_decoder = asn_DEF_INTEGER.uper_decoder;
+ td->uper_encoder = asn_DEF_INTEGER.uper_encoder;
if(!td->per_constraints)
td->per_constraints = asn_DEF_INTEGER.per_constraints;
td->elements = asn_DEF_INTEGER.elements;
@@ -719,6 +765,14 @@ NO_IntegerLowHigh_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descripto
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
+asn_enc_rval_t
+NO_IntegerLowHigh_encode_uper(asn_TYPE_descriptor_t *td,
+ asn_per_constraints_t *constraints,
+ void *structure, asn_per_outp_t *per_out) {
+ NO_IntegerLowHigh_1_inherit_TYPE_descriptor(td);
+ return td->uper_encoder(td, constraints, structure, per_out);
+}
+
/*** <<< STAT-DEFS [NO-IntegerLowHigh] >>> ***/
@@ -740,6 +794,7 @@ asn_TYPE_descriptor_t asn_DEF_NO_IntegerLowHigh = {
NO_IntegerLowHigh_decode_xer,
NO_IntegerLowHigh_encode_xer,
NO_IntegerLowHigh_decode_uper,
+ NO_IntegerLowHigh_encode_uper,
0, /* Use generic outmost tag fetcher */
asn_DEF_NO_IntegerLowHigh_tags_1,
sizeof(asn_DEF_NO_IntegerLowHigh_tags_1)
@@ -772,6 +827,7 @@ der_type_encoder_f CN_IntegerLowMax_encode_der;
xer_type_decoder_f CN_IntegerLowMax_decode_xer;
xer_type_encoder_f CN_IntegerLowMax_encode_xer;
per_type_decoder_f CN_IntegerLowMax_decode_uper;
+per_type_encoder_f CN_IntegerLowMax_encode_uper;
/*** <<< CODE [CN-IntegerLowMax] >>> ***/
@@ -819,6 +875,7 @@ CN_IntegerLowMax_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
td->xer_decoder = asn_DEF_INTEGER.xer_decoder;
td->xer_encoder = asn_DEF_INTEGER.xer_encoder;
td->uper_decoder = asn_DEF_INTEGER.uper_decoder;
+ td->uper_encoder = asn_DEF_INTEGER.uper_encoder;
if(!td->per_constraints)
td->per_constraints = asn_DEF_INTEGER.per_constraints;
td->elements = asn_DEF_INTEGER.elements;
@@ -877,6 +934,14 @@ CN_IntegerLowMax_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
+asn_enc_rval_t
+CN_IntegerLowMax_encode_uper(asn_TYPE_descriptor_t *td,
+ asn_per_constraints_t *constraints,
+ void *structure, asn_per_outp_t *per_out) {
+ CN_IntegerLowMax_1_inherit_TYPE_descriptor(td);
+ return td->uper_encoder(td, constraints, structure, per_out);
+}
+
/*** <<< STAT-DEFS [CN-IntegerLowMax] >>> ***/
@@ -898,6 +963,7 @@ asn_TYPE_descriptor_t asn_DEF_CN_IntegerLowMax = {
CN_IntegerLowMax_decode_xer,
CN_IntegerLowMax_encode_xer,
CN_IntegerLowMax_decode_uper,
+ CN_IntegerLowMax_encode_uper,
0, /* Use generic outmost tag fetcher */
asn_DEF_CN_IntegerLowMax_tags_1,
sizeof(asn_DEF_CN_IntegerLowMax_tags_1)
@@ -930,6 +996,7 @@ der_type_encoder_f NO_IntegerHighMax_encode_der;
xer_type_decoder_f NO_IntegerHighMax_decode_xer;
xer_type_encoder_f NO_IntegerHighMax_encode_xer;
per_type_decoder_f NO_IntegerHighMax_decode_uper;
+per_type_encoder_f NO_IntegerHighMax_encode_uper;
/*** <<< CODE [NO-IntegerHighMax] >>> ***/
@@ -977,6 +1044,7 @@ NO_IntegerHighMax_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
td->xer_decoder = asn_DEF_INTEGER.xer_decoder;
td->xer_encoder = asn_DEF_INTEGER.xer_encoder;
td->uper_decoder = asn_DEF_INTEGER.uper_decoder;
+ td->uper_encoder = asn_DEF_INTEGER.uper_encoder;
if(!td->per_constraints)
td->per_constraints = asn_DEF_INTEGER.per_constraints;
td->elements = asn_DEF_INTEGER.elements;
@@ -1035,6 +1103,14 @@ NO_IntegerHighMax_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descripto
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
+asn_enc_rval_t
+NO_IntegerHighMax_encode_uper(asn_TYPE_descriptor_t *td,
+ asn_per_constraints_t *constraints,
+ void *structure, asn_per_outp_t *per_out) {
+ NO_IntegerHighMax_1_inherit_TYPE_descriptor(td);
+ return td->uper_encoder(td, constraints, structure, per_out);
+}
+
/*** <<< STAT-DEFS [NO-IntegerHighMax] >>> ***/
@@ -1056,6 +1132,7 @@ asn_TYPE_descriptor_t asn_DEF_NO_IntegerHighMax = {
NO_IntegerHighMax_decode_xer,
NO_IntegerHighMax_encode_xer,
NO_IntegerHighMax_decode_uper,
+ NO_IntegerHighMax_encode_uper,
0, /* Use generic outmost tag fetcher */
asn_DEF_NO_IntegerHighMax_tags_1,
sizeof(asn_DEF_NO_IntegerHighMax_tags_1)
@@ -1088,6 +1165,7 @@ der_type_encoder_f NO_IntegerLowestMax_encode_der;
xer_type_decoder_f NO_IntegerLowestMax_decode_xer;
xer_type_encoder_f NO_IntegerLowestMax_encode_xer;
per_type_decoder_f NO_IntegerLowestMax_decode_uper;
+per_type_encoder_f NO_IntegerLowestMax_encode_uper;
/*** <<< CODE [NO-IntegerLowestMax] >>> ***/
@@ -1135,6 +1213,7 @@ NO_IntegerLowestMax_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
td->xer_decoder = asn_DEF_INTEGER.xer_decoder;
td->xer_encoder = asn_DEF_INTEGER.xer_encoder;
td->uper_decoder = asn_DEF_INTEGER.uper_decoder;
+ td->uper_encoder = asn_DEF_INTEGER.uper_encoder;
if(!td->per_constraints)
td->per_constraints = asn_DEF_INTEGER.per_constraints;
td->elements = asn_DEF_INTEGER.elements;
@@ -1193,6 +1272,14 @@ NO_IntegerLowestMax_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descrip
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
+asn_enc_rval_t
+NO_IntegerLowestMax_encode_uper(asn_TYPE_descriptor_t *td,
+ asn_per_constraints_t *constraints,
+ void *structure, asn_per_outp_t *per_out) {
+ NO_IntegerLowestMax_1_inherit_TYPE_descriptor(td);
+ return td->uper_encoder(td, constraints, structure, per_out);
+}
+
/*** <<< STAT-DEFS [NO-IntegerLowestMax] >>> ***/
@@ -1214,6 +1301,7 @@ asn_TYPE_descriptor_t asn_DEF_NO_IntegerLowestMax = {
NO_IntegerLowestMax_decode_xer,
NO_IntegerLowestMax_encode_xer,
NO_IntegerLowestMax_decode_uper,
+ NO_IntegerLowestMax_encode_uper,
0, /* Use generic outmost tag fetcher */
asn_DEF_NO_IntegerLowestMax_tags_1,
sizeof(asn_DEF_NO_IntegerLowestMax_tags_1)
@@ -1246,6 +1334,7 @@ der_type_encoder_f NO_IntegerOutRange_encode_der;
xer_type_decoder_f NO_IntegerOutRange_decode_xer;
xer_type_encoder_f NO_IntegerOutRange_encode_xer;
per_type_decoder_f NO_IntegerOutRange_decode_uper;
+per_type_encoder_f NO_IntegerOutRange_encode_uper;
/*** <<< CODE [NO-IntegerOutRange] >>> ***/
@@ -1293,6 +1382,7 @@ NO_IntegerOutRange_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
td->xer_decoder = asn_DEF_INTEGER.xer_decoder;
td->xer_encoder = asn_DEF_INTEGER.xer_encoder;
td->uper_decoder = asn_DEF_INTEGER.uper_decoder;
+ td->uper_encoder = asn_DEF_INTEGER.uper_encoder;
if(!td->per_constraints)
td->per_constraints = asn_DEF_INTEGER.per_constraints;
td->elements = asn_DEF_INTEGER.elements;
@@ -1351,6 +1441,14 @@ NO_IntegerOutRange_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descript
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
+asn_enc_rval_t
+NO_IntegerOutRange_encode_uper(asn_TYPE_descriptor_t *td,
+ asn_per_constraints_t *constraints,
+ void *structure, asn_per_outp_t *per_out) {
+ NO_IntegerOutRange_1_inherit_TYPE_descriptor(td);
+ return td->uper_encoder(td, constraints, structure, per_out);
+}
+
/*** <<< STAT-DEFS [NO-IntegerOutRange] >>> ***/
@@ -1372,6 +1470,7 @@ asn_TYPE_descriptor_t asn_DEF_NO_IntegerOutRange = {
NO_IntegerOutRange_decode_xer,
NO_IntegerOutRange_encode_xer,
NO_IntegerOutRange_decode_uper,
+ NO_IntegerOutRange_encode_uper,
0, /* Use generic outmost tag fetcher */
asn_DEF_NO_IntegerOutRange_tags_1,
sizeof(asn_DEF_NO_IntegerOutRange_tags_1)
@@ -1404,6 +1503,7 @@ der_type_encoder_f NO_IntegerOutValue_encode_der;
xer_type_decoder_f NO_IntegerOutValue_decode_xer;
xer_type_encoder_f NO_IntegerOutValue_encode_xer;
per_type_decoder_f NO_IntegerOutValue_decode_uper;
+per_type_encoder_f NO_IntegerOutValue_encode_uper;
/*** <<< CODE [NO-IntegerOutValue] >>> ***/
@@ -1451,6 +1551,7 @@ NO_IntegerOutValue_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
td->xer_decoder = asn_DEF_INTEGER.xer_decoder;
td->xer_encoder = asn_DEF_INTEGER.xer_encoder;
td->uper_decoder = asn_DEF_INTEGER.uper_decoder;
+ td->uper_encoder = asn_DEF_INTEGER.uper_encoder;
if(!td->per_constraints)
td->per_constraints = asn_DEF_INTEGER.per_constraints;
td->elements = asn_DEF_INTEGER.elements;
@@ -1509,6 +1610,14 @@ NO_IntegerOutValue_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descript
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
+asn_enc_rval_t
+NO_IntegerOutValue_encode_uper(asn_TYPE_descriptor_t *td,
+ asn_per_constraints_t *constraints,
+ void *structure, asn_per_outp_t *per_out) {
+ NO_IntegerOutValue_1_inherit_TYPE_descriptor(td);
+ return td->uper_encoder(td, constraints, structure, per_out);
+}
+
/*** <<< STAT-DEFS [NO-IntegerOutValue] >>> ***/
@@ -1530,6 +1639,7 @@ asn_TYPE_descriptor_t asn_DEF_NO_IntegerOutValue = {
NO_IntegerOutValue_decode_xer,
NO_IntegerOutValue_encode_xer,
NO_IntegerOutValue_decode_uper,
+ NO_IntegerOutValue_encode_uper,
0, /* Use generic outmost tag fetcher */
asn_DEF_NO_IntegerOutValue_tags_1,
sizeof(asn_DEF_NO_IntegerOutValue_tags_1)
@@ -1562,6 +1672,7 @@ der_type_encoder_f OK_IntegerInRange1_encode_der;
xer_type_decoder_f OK_IntegerInRange1_decode_xer;
xer_type_encoder_f OK_IntegerInRange1_encode_xer;
per_type_decoder_f OK_IntegerInRange1_decode_uper;
+per_type_encoder_f OK_IntegerInRange1_encode_uper;
/*** <<< CODE [OK-IntegerInRange1] >>> ***/
@@ -1603,6 +1714,7 @@ OK_IntegerInRange1_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
td->xer_decoder = asn_DEF_NativeInteger.xer_decoder;
td->xer_encoder = asn_DEF_NativeInteger.xer_encoder;
td->uper_decoder = asn_DEF_NativeInteger.uper_decoder;
+ td->uper_encoder = asn_DEF_NativeInteger.uper_encoder;
if(!td->per_constraints)
td->per_constraints = asn_DEF_NativeInteger.per_constraints;
td->elements = asn_DEF_NativeInteger.elements;
@@ -1661,6 +1773,14 @@ OK_IntegerInRange1_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descript
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
+asn_enc_rval_t
+OK_IntegerInRange1_encode_uper(asn_TYPE_descriptor_t *td,
+ asn_per_constraints_t *constraints,
+ void *structure, asn_per_outp_t *per_out) {
+ OK_IntegerInRange1_1_inherit_TYPE_descriptor(td);
+ return td->uper_encoder(td, constraints, structure, per_out);
+}
+
/*** <<< STAT-DEFS [OK-IntegerInRange1] >>> ***/
@@ -1682,6 +1802,7 @@ asn_TYPE_descriptor_t asn_DEF_OK_IntegerInRange1 = {
OK_IntegerInRange1_decode_xer,
OK_IntegerInRange1_encode_xer,
OK_IntegerInRange1_decode_uper,
+ OK_IntegerInRange1_encode_uper,
0, /* Use generic outmost tag fetcher */
asn_DEF_OK_IntegerInRange1_tags_1,
sizeof(asn_DEF_OK_IntegerInRange1_tags_1)
@@ -1714,6 +1835,7 @@ der_type_encoder_f OK_IntegerInRange2_encode_der;
xer_type_decoder_f OK_IntegerInRange2_decode_xer;
xer_type_encoder_f OK_IntegerInRange2_encode_xer;
per_type_decoder_f OK_IntegerInRange2_decode_uper;
+per_type_encoder_f OK_IntegerInRange2_encode_uper;
/*** <<< CODE [OK-IntegerInRange2] >>> ***/
@@ -1755,6 +1877,7 @@ OK_IntegerInRange2_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
td->xer_decoder = asn_DEF_NativeInteger.xer_decoder;
td->xer_encoder = asn_DEF_NativeInteger.xer_encoder;
td->uper_decoder = asn_DEF_NativeInteger.uper_decoder;
+ td->uper_encoder = asn_DEF_NativeInteger.uper_encoder;
if(!td->per_constraints)
td->per_constraints = asn_DEF_NativeInteger.per_constraints;
td->elements = asn_DEF_NativeInteger.elements;
@@ -1813,6 +1936,14 @@ OK_IntegerInRange2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descript
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
+asn_enc_rval_t
+OK_IntegerInRange2_encode_uper(asn_TYPE_descriptor_t *td,
+ asn_per_constraints_t *constraints,
+ void *structure, asn_per_outp_t *per_out) {
+ OK_IntegerInRange2_1_inherit_TYPE_descriptor(td);
+ return td->uper_encoder(td, constraints, structure, per_out);
+}
+
/*** <<< STAT-DEFS [OK-IntegerInRange2] >>> ***/
@@ -1834,6 +1965,7 @@ asn_TYPE_descriptor_t asn_DEF_OK_IntegerInRange2 = {
OK_IntegerInRange2_decode_xer,
OK_IntegerInRange2_encode_xer,
OK_IntegerInRange2_decode_uper,
+ OK_IntegerInRange2_encode_uper,
0, /* Use generic outmost tag fetcher */
asn_DEF_OK_IntegerInRange2_tags_1,
sizeof(asn_DEF_OK_IntegerInRange2_tags_1)
@@ -1866,6 +1998,7 @@ der_type_encoder_f OK_IntegerInRange3_encode_der;
xer_type_decoder_f OK_IntegerInRange3_decode_xer;
xer_type_encoder_f OK_IntegerInRange3_encode_xer;
per_type_decoder_f OK_IntegerInRange3_decode_uper;
+per_type_encoder_f OK_IntegerInRange3_encode_uper;
/*** <<< CODE [OK-IntegerInRange3] >>> ***/
@@ -1907,6 +2040,7 @@ OK_IntegerInRange3_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
td->xer_decoder = asn_DEF_NativeInteger.xer_decoder;
td->xer_encoder = asn_DEF_NativeInteger.xer_encoder;
td->uper_decoder = asn_DEF_NativeInteger.uper_decoder;
+ td->uper_encoder = asn_DEF_NativeInteger.uper_encoder;
if(!td->per_constraints)
td->per_constraints = asn_DEF_NativeInteger.per_constraints;
td->elements = asn_DEF_NativeInteger.elements;
@@ -1965,6 +2099,14 @@ OK_IntegerInRange3_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descript
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
+asn_enc_rval_t
+OK_IntegerInRange3_encode_uper(asn_TYPE_descriptor_t *td,
+ asn_per_constraints_t *constraints,
+ void *structure, asn_per_outp_t *per_out) {
+ OK_IntegerInRange3_1_inherit_TYPE_descriptor(td);
+ return td->uper_encoder(td, constraints, structure, per_out);
+}
+
/*** <<< STAT-DEFS [OK-IntegerInRange3] >>> ***/
@@ -1986,6 +2128,7 @@ asn_TYPE_descriptor_t asn_DEF_OK_IntegerInRange3 = {
OK_IntegerInRange3_decode_xer,
OK_IntegerInRange3_encode_xer,
OK_IntegerInRange3_decode_uper,
+ OK_IntegerInRange3_encode_uper,
0, /* Use generic outmost tag fetcher */
asn_DEF_OK_IntegerInRange3_tags_1,
sizeof(asn_DEF_OK_IntegerInRange3_tags_1)
@@ -2018,6 +2161,7 @@ der_type_encoder_f OK_IntegerInRange4_encode_der;
xer_type_decoder_f OK_IntegerInRange4_decode_xer;
xer_type_encoder_f OK_IntegerInRange4_encode_xer;
per_type_decoder_f OK_IntegerInRange4_decode_uper;
+per_type_encoder_f OK_IntegerInRange4_encode_uper;
/*** <<< CODE [OK-IntegerInRange4] >>> ***/
@@ -2059,6 +2203,7 @@ OK_IntegerInRange4_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
td->xer_decoder = asn_DEF_NativeInteger.xer_decoder;
td->xer_encoder = asn_DEF_NativeInteger.xer_encoder;
td->uper_decoder = asn_DEF_NativeInteger.uper_decoder;
+ td->uper_encoder = asn_DEF_NativeInteger.uper_encoder;
if(!td->per_constraints)
td->per_constraints = asn_DEF_NativeInteger.per_constraints;
td->elements = asn_DEF_NativeInteger.elements;
@@ -2117,6 +2262,14 @@ OK_IntegerInRange4_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descript
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
+asn_enc_rval_t
+OK_IntegerInRange4_encode_uper(asn_TYPE_descriptor_t *td,
+ asn_per_constraints_t *constraints,
+ void *structure, asn_per_outp_t *per_out) {
+ OK_IntegerInRange4_1_inherit_TYPE_descriptor(td);
+ return td->uper_encoder(td, constraints, structure, per_out);
+}
+
/*** <<< STAT-DEFS [OK-IntegerInRange4] >>> ***/
@@ -2138,6 +2291,7 @@ asn_TYPE_descriptor_t asn_DEF_OK_IntegerInRange4 = {
OK_IntegerInRange4_decode_xer,
OK_IntegerInRange4_encode_xer,
OK_IntegerInRange4_decode_uper,
+ OK_IntegerInRange4_encode_uper,
0, /* Use generic outmost tag fetcher */
asn_DEF_OK_IntegerInRange4_tags_1,
sizeof(asn_DEF_OK_IntegerInRange4_tags_1)
@@ -2170,6 +2324,7 @@ der_type_encoder_f OK_IntegerInRange5_encode_der;
xer_type_decoder_f OK_IntegerInRange5_decode_xer;
xer_type_encoder_f OK_IntegerInRange5_encode_xer;
per_type_decoder_f OK_IntegerInRange5_decode_uper;
+per_type_encoder_f OK_IntegerInRange5_encode_uper;
/*** <<< CODE [OK-IntegerInRange5] >>> ***/
@@ -2217,6 +2372,7 @@ OK_IntegerInRange5_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
td->xer_decoder = asn_DEF_INTEGER.xer_decoder;
td->xer_encoder = asn_DEF_INTEGER.xer_encoder;
td->uper_decoder = asn_DEF_INTEGER.uper_decoder;
+ td->uper_encoder = asn_DEF_INTEGER.uper_encoder;
if(!td->per_constraints)
td->per_constraints = asn_DEF_INTEGER.per_constraints;
td->elements = asn_DEF_INTEGER.elements;
@@ -2275,6 +2431,14 @@ OK_IntegerInRange5_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descript
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
+asn_enc_rval_t
+OK_IntegerInRange5_encode_uper(asn_TYPE_descriptor_t *td,
+ asn_per_constraints_t *constraints,
+ void *structure, asn_per_outp_t *per_out) {
+ OK_IntegerInRange5_1_inherit_TYPE_descriptor(td);
+ return td->uper_encoder(td, constraints, structure, per_out);
+}
+
/*** <<< STAT-DEFS [OK-IntegerInRange5] >>> ***/
@@ -2296,6 +2460,7 @@ asn_TYPE_descriptor_t asn_DEF_OK_IntegerInRange5 = {
OK_IntegerInRange5_decode_xer,
OK_IntegerInRange5_encode_xer,
OK_IntegerInRange5_decode_uper,
+ OK_IntegerInRange5_encode_uper,
0, /* Use generic outmost tag fetcher */
asn_DEF_OK_IntegerInRange5_tags_1,
sizeof(asn_DEF_OK_IntegerInRange5_tags_1)
@@ -2328,6 +2493,7 @@ der_type_encoder_f NO_IntegerInRange6_encode_der;
xer_type_decoder_f NO_IntegerInRange6_decode_xer;
xer_type_encoder_f NO_IntegerInRange6_encode_xer;
per_type_decoder_f NO_IntegerInRange6_decode_uper;
+per_type_encoder_f NO_IntegerInRange6_encode_uper;
/*** <<< CODE [NO-IntegerInRange6] >>> ***/
@@ -2375,6 +2541,7 @@ NO_IntegerInRange6_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
td->xer_decoder = asn_DEF_INTEGER.xer_decoder;
td->xer_encoder = asn_DEF_INTEGER.xer_encoder;
td->uper_decoder = asn_DEF_INTEGER.uper_decoder;
+ td->uper_encoder = asn_DEF_INTEGER.uper_encoder;
if(!td->per_constraints)
td->per_constraints = asn_DEF_INTEGER.per_constraints;
td->elements = asn_DEF_INTEGER.elements;
@@ -2433,6 +2600,14 @@ NO_IntegerInRange6_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descript
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
+asn_enc_rval_t
+NO_IntegerInRange6_encode_uper(asn_TYPE_descriptor_t *td,
+ asn_per_constraints_t *constraints,
+ void *structure, asn_per_outp_t *per_out) {
+ NO_IntegerInRange6_1_inherit_TYPE_descriptor(td);
+ return td->uper_encoder(td, constraints, structure, per_out);
+}
+
/*** <<< STAT-DEFS [NO-IntegerInRange6] >>> ***/
@@ -2454,6 +2629,7 @@ asn_TYPE_descriptor_t asn_DEF_NO_IntegerInRange6 = {
NO_IntegerInRange6_decode_xer,
NO_IntegerInRange6_encode_xer,
NO_IntegerInRange6_decode_uper,
+ NO_IntegerInRange6_encode_uper,
0, /* Use generic outmost tag fetcher */
asn_DEF_NO_IntegerInRange6_tags_1,
sizeof(asn_DEF_NO_IntegerInRange6_tags_1)
@@ -2493,6 +2669,7 @@ der_type_encoder_f CN_IntegerEnumerated1_encode_der;
xer_type_decoder_f CN_IntegerEnumerated1_decode_xer;
xer_type_encoder_f CN_IntegerEnumerated1_encode_xer;
per_type_decoder_f CN_IntegerEnumerated1_decode_uper;
+per_type_encoder_f CN_IntegerEnumerated1_encode_uper;
/*** <<< CODE [CN-IntegerEnumerated1] >>> ***/
@@ -2517,6 +2694,7 @@ CN_IntegerEnumerated1_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
td->xer_decoder = asn_DEF_INTEGER.xer_decoder;
td->xer_encoder = asn_DEF_INTEGER.xer_encoder;
td->uper_decoder = asn_DEF_INTEGER.uper_decoder;
+ td->uper_encoder = asn_DEF_INTEGER.uper_encoder;
if(!td->per_constraints)
td->per_constraints = asn_DEF_INTEGER.per_constraints;
td->elements = asn_DEF_INTEGER.elements;
@@ -2575,6 +2753,14 @@ CN_IntegerEnumerated1_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descr
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
+asn_enc_rval_t
+CN_IntegerEnumerated1_encode_uper(asn_TYPE_descriptor_t *td,
+ asn_per_constraints_t *constraints,
+ void *structure, asn_per_outp_t *per_out) {
+ CN_IntegerEnumerated1_1_inherit_TYPE_descriptor(td);
+ return td->uper_encoder(td, constraints, structure, per_out);
+}
+
/*** <<< STAT-DEFS [CN-IntegerEnumerated1] >>> ***/
@@ -2592,6 +2778,7 @@ asn_TYPE_descriptor_t asn_DEF_CN_IntegerEnumerated1 = {
CN_IntegerEnumerated1_decode_xer,
CN_IntegerEnumerated1_encode_xer,
CN_IntegerEnumerated1_decode_uper,
+ CN_IntegerEnumerated1_encode_uper,
0, /* Use generic outmost tag fetcher */
asn_DEF_CN_IntegerEnumerated1_tags_1,
sizeof(asn_DEF_CN_IntegerEnumerated1_tags_1)
@@ -2631,6 +2818,7 @@ der_type_encoder_f NO_IntegerEnumerated2_encode_der;
xer_type_decoder_f NO_IntegerEnumerated2_decode_xer;
xer_type_encoder_f NO_IntegerEnumerated2_encode_xer;
per_type_decoder_f NO_IntegerEnumerated2_decode_uper;
+per_type_encoder_f NO_IntegerEnumerated2_encode_uper;
/*** <<< CODE [NO-IntegerEnumerated2] >>> ***/
@@ -2655,6 +2843,7 @@ NO_IntegerEnumerated2_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
td->xer_decoder = asn_DEF_INTEGER.xer_decoder;
td->xer_encoder = asn_DEF_INTEGER.xer_encoder;
td->uper_decoder = asn_DEF_INTEGER.uper_decoder;
+ td->uper_encoder = asn_DEF_INTEGER.uper_encoder;
if(!td->per_constraints)
td->per_constraints = asn_DEF_INTEGER.per_constraints;
td->elements = asn_DEF_INTEGER.elements;
@@ -2713,6 +2902,14 @@ NO_IntegerEnumerated2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descr
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
+asn_enc_rval_t
+NO_IntegerEnumerated2_encode_uper(asn_TYPE_descriptor_t *td,
+ asn_per_constraints_t *constraints,
+ void *structure, asn_per_outp_t *per_out) {
+ NO_IntegerEnumerated2_1_inherit_TYPE_descriptor(td);
+ return td->uper_encoder(td, constraints, structure, per_out);
+}
+
/*** <<< STAT-DEFS [NO-IntegerEnumerated2] >>> ***/
@@ -2730,6 +2927,7 @@ asn_TYPE_descriptor_t asn_DEF_NO_IntegerEnumerated2 = {
NO_IntegerEnumerated2_decode_xer,
NO_IntegerEnumerated2_encode_xer,
NO_IntegerEnumerated2_decode_uper,
+ NO_IntegerEnumerated2_encode_uper,
0, /* Use generic outmost tag fetcher */
asn_DEF_NO_IntegerEnumerated2_tags_1,
sizeof(asn_DEF_NO_IntegerEnumerated2_tags_1)