ITS
VehicleRole.c File Reference
#include "VehicleRole.h"
Include dependency graph for VehicleRole.c:

Go to the source code of this file.

Functions

int VehicleRole_constraint (asn_TYPE_descriptor_t *td, const void *sptr, asn_app_constraint_failed_f *ctfailcb, void *app_key)
 
static void VehicleRole_1_inherit_TYPE_descriptor (asn_TYPE_descriptor_t *td)
 
void VehicleRole_free (asn_TYPE_descriptor_t *td, void *struct_ptr, int contents_only)
 
int VehicleRole_print (asn_TYPE_descriptor_t *td, const void *struct_ptr, int ilevel, asn_app_consume_bytes_f *cb, void *app_key)
 
asn_dec_rval_t VehicleRole_decode_ber (asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, void **structure, const void *bufptr, size_t size, int tag_mode)
 
asn_enc_rval_t VehicleRole_encode_der (asn_TYPE_descriptor_t *td, void *structure, int tag_mode, ber_tlv_tag_t tag, asn_app_consume_bytes_f *cb, void *app_key)
 
asn_dec_rval_t VehicleRole_decode_xer (asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, void **structure, const char *opt_mname, const void *bufptr, size_t size)
 
asn_enc_rval_t VehicleRole_encode_xer (asn_TYPE_descriptor_t *td, void *structure, int ilevel, enum xer_encoder_flags_e flags, asn_app_consume_bytes_f *cb, void *app_key)
 
asn_dec_rval_t VehicleRole_decode_uper (asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data)
 
asn_enc_rval_t VehicleRole_encode_uper (asn_TYPE_descriptor_t *td, asn_per_constraints_t *constraints, void *structure, asn_per_outp_t *per_out)
 

Variables

static asn_per_constraints_t asn_PER_type_VehicleRole_constr_1 GCC_NOTUSED
 
static asn_INTEGER_enum_map_t asn_MAP_VehicleRole_value2enum_1 []
 
static unsigned int asn_MAP_VehicleRole_enum2value_1 []
 
static asn_INTEGER_specifics_t asn_SPC_VehicleRole_specs_1
 
static ber_tlv_tag_t asn_DEF_VehicleRole_tags_1 []
 
asn_TYPE_descriptor_t asn_DEF_VehicleRole
 

Function Documentation

◆ VehicleRole_1_inherit_TYPE_descriptor()

◆ VehicleRole_constraint()

int VehicleRole_constraint ( asn_TYPE_descriptor_t td,
const void *  sptr,
asn_app_constraint_failed_f ctfailcb,
void *  app_key 
)

◆ VehicleRole_decode_ber()

asn_dec_rval_t VehicleRole_decode_ber ( asn_codec_ctx_t opt_codec_ctx,
asn_TYPE_descriptor_t td,
void **  structure,
const void *  bufptr,
size_t  size,
int  tag_mode 
)

Definition at line 54 of file VehicleRole.c.

References asn_TYPE_descriptor_s::ber_decoder, and VehicleRole_1_inherit_TYPE_descriptor().

Here is the call graph for this function:

◆ VehicleRole_decode_uper()

asn_dec_rval_t VehicleRole_decode_uper ( asn_codec_ctx_t opt_codec_ctx,
asn_TYPE_descriptor_t td,
asn_per_constraints_t constraints,
void **  structure,
asn_per_data_t per_data 
)

Definition at line 84 of file VehicleRole.c.

References asn_TYPE_descriptor_s::uper_decoder, and VehicleRole_1_inherit_TYPE_descriptor().

Here is the call graph for this function:

◆ VehicleRole_decode_xer()

asn_dec_rval_t VehicleRole_decode_xer ( asn_codec_ctx_t opt_codec_ctx,
asn_TYPE_descriptor_t td,
void **  structure,
const char *  opt_mname,
const void *  bufptr,
size_t  size 
)

Definition at line 69 of file VehicleRole.c.

References VehicleRole_1_inherit_TYPE_descriptor(), and asn_TYPE_descriptor_s::xer_decoder.

Here is the call graph for this function:

◆ VehicleRole_encode_der()

asn_enc_rval_t VehicleRole_encode_der ( asn_TYPE_descriptor_t td,
void *  structure,
int  tag_mode,
ber_tlv_tag_t  tag,
asn_app_consume_bytes_f cb,
void *  app_key 
)

Definition at line 61 of file VehicleRole.c.

References asn_TYPE_descriptor_s::der_encoder, and VehicleRole_1_inherit_TYPE_descriptor().

Here is the call graph for this function:

◆ VehicleRole_encode_uper()

asn_enc_rval_t VehicleRole_encode_uper ( asn_TYPE_descriptor_t td,
asn_per_constraints_t constraints,
void *  structure,
asn_per_outp_t per_out 
)

Definition at line 91 of file VehicleRole.c.

References asn_TYPE_descriptor_s::uper_encoder, and VehicleRole_1_inherit_TYPE_descriptor().

Here is the call graph for this function:

◆ VehicleRole_encode_xer()

asn_enc_rval_t VehicleRole_encode_xer ( asn_TYPE_descriptor_t td,
void *  structure,
int  ilevel,
enum xer_encoder_flags_e  flags,
asn_app_consume_bytes_f cb,
void *  app_key 
)

Definition at line 76 of file VehicleRole.c.

References VehicleRole_1_inherit_TYPE_descriptor(), and asn_TYPE_descriptor_s::xer_encoder.

Here is the call graph for this function:

◆ VehicleRole_free()

void VehicleRole_free ( asn_TYPE_descriptor_t td,
void *  struct_ptr,
int  contents_only 
)

Definition at line 40 of file VehicleRole.c.

References asn_TYPE_descriptor_s::free_struct, and VehicleRole_1_inherit_TYPE_descriptor().

Here is the call graph for this function:

◆ VehicleRole_print()

int VehicleRole_print ( asn_TYPE_descriptor_t td,
const void *  struct_ptr,
int  ilevel,
asn_app_consume_bytes_f cb,
void *  app_key 
)

Definition at line 47 of file VehicleRole.c.

References asn_TYPE_descriptor_s::print_struct, and VehicleRole_1_inherit_TYPE_descriptor().

Here is the call graph for this function:

Variable Documentation

◆ asn_DEF_VehicleRole

asn_TYPE_descriptor_t asn_DEF_VehicleRole
Initial value:
= {
"VehicleRole",
"VehicleRole",
0,
&asn_PER_type_VehicleRole_constr_1,
0, 0,
}
asn_enc_rval_t VehicleRole_encode_xer(asn_TYPE_descriptor_t *td, void *structure, int ilevel, enum xer_encoder_flags_e flags, asn_app_consume_bytes_f *cb, void *app_key)
Definition: VehicleRole.c:76
void VehicleRole_free(asn_TYPE_descriptor_t *td, void *struct_ptr, int contents_only)
Definition: VehicleRole.c:40
asn_dec_rval_t VehicleRole_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, void **structure, const void *bufptr, size_t size, int tag_mode)
Definition: VehicleRole.c:54
asn_dec_rval_t VehicleRole_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, void **structure, const char *opt_mname, const void *bufptr, size_t size)
Definition: VehicleRole.c:69
static asn_INTEGER_specifics_t asn_SPC_VehicleRole_specs_1
Definition: VehicleRole.c:139
asn_enc_rval_t VehicleRole_encode_uper(asn_TYPE_descriptor_t *td, asn_per_constraints_t *constraints, void *structure, asn_per_outp_t *per_out)
Definition: VehicleRole.c:91
asn_enc_rval_t VehicleRole_encode_der(asn_TYPE_descriptor_t *td, void *structure, int tag_mode, ber_tlv_tag_t tag, asn_app_consume_bytes_f *cb, void *app_key)
Definition: VehicleRole.c:61
asn_dec_rval_t VehicleRole_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data)
Definition: VehicleRole.c:84
int VehicleRole_constraint(asn_TYPE_descriptor_t *td, const void *sptr, asn_app_constraint_failed_f *ctfailcb, void *app_key)
Definition: VehicleRole.c:10
int VehicleRole_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, int ilevel, asn_app_consume_bytes_f *cb, void *app_key)
Definition: VehicleRole.c:47
static ber_tlv_tag_t asn_DEF_VehicleRole_tags_1[]
Definition: VehicleRole.c:148

Definition at line 151 of file VehicleRole.c.

◆ asn_DEF_VehicleRole_tags_1

ber_tlv_tag_t asn_DEF_VehicleRole_tags_1[]
static
Initial value:

Definition at line 148 of file VehicleRole.c.

◆ asn_MAP_VehicleRole_enum2value_1

unsigned int asn_MAP_VehicleRole_enum2value_1[]
static
Initial value:
= {
8,
9,
3,
0,
6,
10,
1,
5,
13,
14,
15,
11,
4,
7,
2,
12
}

Definition at line 121 of file VehicleRole.c.

◆ asn_MAP_VehicleRole_value2enum_1

asn_INTEGER_enum_map_t asn_MAP_VehicleRole_value2enum_1[]
static
Initial value:
= {
{ 0, 7, "default" },
{ 1, 15, "publicTransport" },
{ 2, 16, "specialTransport" },
{ 3, 14, "dangerousGoods" },
{ 4, 8, "roadWork" },
{ 5, 6, "rescue" },
{ 6, 9, "emergency" },
{ 7, 9, "safetyCar" },
{ 8, 11, "agriculture" },
{ 9, 10, "commercial" },
{ 10, 8, "military" },
{ 11, 12, "roadOperator" },
{ 12, 4, "taxi" },
{ 13, 9, "reserved1" },
{ 14, 9, "reserved2" },
{ 15, 9, "reserved3" }
}

Definition at line 103 of file VehicleRole.c.

◆ asn_SPC_VehicleRole_specs_1

asn_INTEGER_specifics_t asn_SPC_VehicleRole_specs_1
static
Initial value:
= {
16,
0,
1,
0,
0
}
static unsigned int asn_MAP_VehicleRole_enum2value_1[]
Definition: VehicleRole.c:121
static asn_INTEGER_enum_map_t asn_MAP_VehicleRole_value2enum_1[]
Definition: VehicleRole.c:103

Definition at line 139 of file VehicleRole.c.

◆ GCC_NOTUSED

asn_per_constraints_t asn_PER_type_VehicleRole_constr_1 GCC_NOTUSED
static
Initial value:
= {
{ APC_CONSTRAINED, 4, 4, 0, 15 } ,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0
}

Definition at line 98 of file VehicleRole.c.