// This C++ source file was generated by the TTCN-3 compiler // of the TTCN-3 Test Executor version 11.1.0 // The generation of user and time information were disabled by the -D flag. // Copyright (c) 2000-2025 Ericsson Telecom AB // Do not edit this file unless you know what you are doing. /* Including header files */ #include "SDP_Templates.hh" namespace SDP__Templates { /* Literal string constants */ extern const CHARSTRING cs_7(' '), cs_3('-'), cs_6('0'), cs_1('1'), cs_20(':'), cs_0(2, "IN"), cs_2(3, "IP4"), cs_21(3, "IP6"), cs_5(7, "RTP/AVP"), cs_4(5, "audio"), cs_14(3, "e2e"), cs_12(7, "failure"), cs_15(5, "local"), cs_9(9, "mandatory"), cs_11(4, "none"), cs_10(8, "optional"), cs_8(3, "qos"), cs_18(4, "recv"), cs_16(6, "remote"), cs_17(4, "send"), cs_19(8, "sendrecv"), cs_13(7, "unknown"); const unsigned char module_checksum[] = { 0x0d, 0xf6, 0x2f, 0xe4, 0xff, 0xca, 0xe7, 0xd5, 0x82, 0xdc, 0x70, 0xd4, 0xc7, 0x02, 0x9a, 0xa9 }; /* Global variable definitions */ CHARSTRING const_ts__SDP__origin_session__version_defval; const CHARSTRING& ts__SDP__origin_session__version_defval = const_ts__SDP__origin_session__version_defval; CHARSTRING const_ts__SDP__origin_addr__type_defval; const CHARSTRING& ts__SDP__origin_addr__type_defval = const_ts__SDP__origin_addr__type_defval; CHARSTRING const_ts__SDP__origin_user__name_defval; const CHARSTRING& ts__SDP__origin_user__name_defval = const_ts__SDP__origin_user__name_defval; CHARSTRING const_ts__SDP__connection__IP_addr__type_defval; const CHARSTRING& ts__SDP__connection__IP_addr__type_defval = const_ts__SDP__connection__IP_addr__type_defval; INTEGER_template template_ts__SDP__connection__IP_ttl_defval; const INTEGER_template& ts__SDP__connection__IP_ttl_defval = template_ts__SDP__connection__IP_ttl_defval; INTEGER_template template_ts__SDP__connection__IP_num__of__addr_defval; const INTEGER_template& ts__SDP__connection__IP_num__of__addr_defval = template_ts__SDP__connection__IP_num__of__addr_defval; CHARSTRING_template template_tr__SDP__connection__IP_addr__type_defval; const CHARSTRING_template& tr__SDP__connection__IP_addr__type_defval = template_tr__SDP__connection__IP_addr__type_defval; INTEGER_template template_tr__SDP__connection__IP_ttl_defval; const INTEGER_template& tr__SDP__connection__IP_ttl_defval = template_tr__SDP__connection__IP_ttl_defval; INTEGER_template template_tr__SDP__connection__IP_num__of__addr_defval; const INTEGER_template& tr__SDP__connection__IP_num__of__addr_defval = template_tr__SDP__connection__IP_num__of__addr_defval; INTEGER_template template_tr__SDP__media__desc_port__number_defval; const INTEGER_template& tr__SDP__media__desc_port__number_defval = template_tr__SDP__media__desc_port__number_defval; SDP__Types::SDP__fmt__list_template template_tr__SDP__media__desc_fmts_defval; const SDP__Types::SDP__fmt__list_template& tr__SDP__media__desc_fmts_defval = template_tr__SDP__media__desc_fmts_defval; SDP__Types::SDP__attribute__list_template template_tr__SDP__media__desc_attributes_defval; const SDP__Types::SDP__attribute__list_template& tr__SDP__media__desc_attributes_defval = template_tr__SDP__media__desc_attributes_defval; CHARSTRING_template template_tr__SDP_remote__addr_defval; const CHARSTRING_template& tr__SDP_remote__addr_defval = template_tr__SDP_remote__addr_defval; INTEGER_template template_tr__SDP_rtp__port_defval; const INTEGER_template& tr__SDP_rtp__port_defval = template_tr__SDP_rtp__port_defval; SDP__Types::SDP__attribute_template template_tr__SDP__recvonly; const SDP__Types::SDP__attribute_template& tr__SDP__recvonly = template_tr__SDP__recvonly; SDP__Types::SDP__attribute_template template_tr__SDP__sendonly; const SDP__Types::SDP__attribute_template& tr__SDP__sendonly = template_tr__SDP__sendonly; SDP__Types::SDP__attribute_template template_tr__SDP__sendrecv; const SDP__Types::SDP__attribute_template& tr__SDP__sendrecv = template_tr__SDP__sendrecv; CHARSTRING const_c__SDP__PRECON__TYPE__qos; const CHARSTRING& c__SDP__PRECON__TYPE__qos = const_c__SDP__PRECON__TYPE__qos; CHARSTRING const_c__SDP__PRECON__STRENGTH__TAG__mandatory; const CHARSTRING& c__SDP__PRECON__STRENGTH__TAG__mandatory = const_c__SDP__PRECON__STRENGTH__TAG__mandatory; CHARSTRING const_c__SDP__PRECON__STRENGTH__TAG__optional; const CHARSTRING& c__SDP__PRECON__STRENGTH__TAG__optional = const_c__SDP__PRECON__STRENGTH__TAG__optional; CHARSTRING const_c__SDP__PRECON__STRENGTH__TAG__none; const CHARSTRING& c__SDP__PRECON__STRENGTH__TAG__none = const_c__SDP__PRECON__STRENGTH__TAG__none; CHARSTRING const_c__SDP__PRECON__STRENGTH__TAG__failure; const CHARSTRING& c__SDP__PRECON__STRENGTH__TAG__failure = const_c__SDP__PRECON__STRENGTH__TAG__failure; CHARSTRING const_c__SDP__PRECON__STRENGTH__TAG__unknown; const CHARSTRING& c__SDP__PRECON__STRENGTH__TAG__unknown = const_c__SDP__PRECON__STRENGTH__TAG__unknown; CHARSTRING const_c__SDP__PRECON__STATUS__TYPE__e2e; const CHARSTRING& c__SDP__PRECON__STATUS__TYPE__e2e = const_c__SDP__PRECON__STATUS__TYPE__e2e; CHARSTRING const_c__SDP__PRECON__STATUS__TYPE__local; const CHARSTRING& c__SDP__PRECON__STATUS__TYPE__local = const_c__SDP__PRECON__STATUS__TYPE__local; CHARSTRING const_c__SDP__PRECON__STATUS__TYPE__remote; const CHARSTRING& c__SDP__PRECON__STATUS__TYPE__remote = const_c__SDP__PRECON__STATUS__TYPE__remote; CHARSTRING const_c__SDP__PRECON__DIR__TAG__none; const CHARSTRING& c__SDP__PRECON__DIR__TAG__none = const_c__SDP__PRECON__DIR__TAG__none; CHARSTRING const_c__SDP__PRECON__DIR__TAG__send; const CHARSTRING& c__SDP__PRECON__DIR__TAG__send = const_c__SDP__PRECON__DIR__TAG__send; CHARSTRING const_c__SDP__PRECON__DIR__TAG__recv; const CHARSTRING& c__SDP__PRECON__DIR__TAG__recv = const_c__SDP__PRECON__DIR__TAG__recv; CHARSTRING const_c__SDP__PRECON__DIR__TAG__sendrecv; const CHARSTRING& c__SDP__PRECON__DIR__TAG__sendrecv = const_c__SDP__PRECON__DIR__TAG__sendrecv; CHARSTRING const_tr__SDP__curr_precondition__type_defval; const CHARSTRING& tr__SDP__curr_precondition__type_defval = const_tr__SDP__curr_precondition__type_defval; SDP__Types::SDP__attribute_template template_tr__SDP__curr__present; const SDP__Types::SDP__attribute_template& tr__SDP__curr__present = template_tr__SDP__curr__present; CHARSTRING const_ts__SDP__curr_precondition__type_defval; const CHARSTRING& ts__SDP__curr_precondition__type_defval = const_ts__SDP__curr_precondition__type_defval; CHARSTRING const_tr__SDP__des_precondition__type_defval; const CHARSTRING& tr__SDP__des_precondition__type_defval = const_tr__SDP__des_precondition__type_defval; SDP__Types::SDP__attribute_template template_tr__SDP__des__present; const SDP__Types::SDP__attribute_template& tr__SDP__des__present = template_tr__SDP__des__present; CHARSTRING const_ts__SDP__des_precondition__type_defval; const CHARSTRING& ts__SDP__des_precondition__type_defval = const_ts__SDP__des_precondition__type_defval; CHARSTRING const_tr__SDP__conf_precondition__type_defval; const CHARSTRING& tr__SDP__conf_precondition__type_defval = const_tr__SDP__conf_precondition__type_defval; SDP__Types::SDP__attribute_template template_tr__SDP__conf__present; const SDP__Types::SDP__attribute_template& tr__SDP__conf__present = template_tr__SDP__conf__present; CHARSTRING const_ts__SDP__conf_precondition__type_defval; const CHARSTRING& ts__SDP__conf_precondition__type_defval = const_ts__SDP__conf_precondition__type_defval; TTCN_Module module_object("SDP_Templates", __DATE__, __TIME__, module_checksum, pre_init_module, NULL, 0U, 4294967295U, 4294967295U, 4294967295U, NULL, 0LU, 0, post_init_module, NULL, NULL, NULL, NULL, NULL, NULL, NULL); const RuntimeVersionChecker ver_checker( current_runtime_version.requires_major_version_11, current_runtime_version.requires_minor_version_1, current_runtime_version.requires_patch_level_0, current_runtime_version.requires_runtime_1); /* Bodies of functions, altsteps and testcases */ SDP__Types::SDP__Origin_template ts__SDP__origin(const CHARSTRING& addr, const CHARSTRING& session__id, const CHARSTRING& session__version, const CHARSTRING& addr__type, const CHARSTRING& user__name) { TTCN_Location current_location("SDP_Templates.ttcn", 15, TTCN_Location::LOCATION_TEMPLATE, "ts_SDP_origin"); SDP__Types::SDP__Origin_template ret_val; ret_val.user__name() = user__name; ret_val.session__id() = session__id; ret_val.session__version() = session__version; ret_val.net__type() = cs_0; ret_val.addr__type() = addr__type; ret_val.addr() = addr; return ret_val; } SDP__Types::SDP__connection_template ts__SDP__connection__IP(const CHARSTRING& addr, const CHARSTRING& addr__type, const INTEGER_template& ttl, const INTEGER_template& num__of__addr) { TTCN_Location current_location("SDP_Templates.ttcn", 27, TTCN_Location::LOCATION_TEMPLATE, "ts_SDP_connection_IP"); SDP__Types::SDP__connection_template ret_val; ret_val.net__type() = cs_0; ret_val.addr__type() = addr__type; { SDP__Types::SDP__conn__addr_template& tmp_0 = ret_val.conn__addr(); tmp_0.addr() = addr; tmp_0.ttl() = ttl; tmp_0.num__of__addr() = num__of__addr; } return ret_val; } SDP__Types::SDP__connection_template tr__SDP__connection__IP(const CHARSTRING_template& addr, const CHARSTRING_template& addr__type, const INTEGER_template& ttl, const INTEGER_template& num__of__addr) { TTCN_Location current_location("SDP_Templates.ttcn", 39, TTCN_Location::LOCATION_TEMPLATE, "tr_SDP_connection_IP"); SDP__Types::SDP__connection_template ret_val; ret_val.net__type() = cs_0; ret_val.addr__type() = addr__type; { SDP__Types::SDP__conn__addr_template& tmp_1 = ret_val.conn__addr(); tmp_1.addr() = addr; tmp_1.ttl() = ttl; tmp_1.num__of__addr() = num__of__addr; } return ret_val; } SDP__Types::SDP__time_template ts__SDP__time(const CHARSTRING& beg, const CHARSTRING& end) { TTCN_Location current_location("SDP_Templates.ttcn", 51, TTCN_Location::LOCATION_TEMPLATE, "ts_SDP_time"); SDP__Types::SDP__time_template ret_val; { SDP__Types::SDP__time__field_template& tmp_2 = ret_val.time__field(); tmp_2.start__time() = beg; tmp_2.stop__time() = end; } ret_val.time__repeat() = OMIT_VALUE; return ret_val; } SDP__Types::SDP__media__desc_template ts__SDP__media__desc(const INTEGER& port__number, const SDP__Types::SDP__fmt__list& fmts, const SDP__Types::SDP__attribute__list& attributes) { TTCN_Location current_location("SDP_Templates.ttcn", 59, TTCN_Location::LOCATION_TEMPLATE, "ts_SDP_media_desc"); SDP__Types::SDP__media__desc_template ret_val; { SDP__Types::SDP__media__field_template& tmp_3 = ret_val.media__field(); tmp_3.media() = cs_4; { SDP__Types::SDP__media__port_template& tmp_4 = tmp_3.ports(); tmp_4.port__number() = port__number; tmp_4.num__of__ports() = OMIT_VALUE; } tmp_3.transport() = cs_5; tmp_3.fmts() = fmts; } ret_val.information() = OMIT_VALUE; ret_val.connections() = OMIT_VALUE; ret_val.bandwidth() = OMIT_VALUE; ret_val.key() = OMIT_VALUE; ret_val.attributes() = attributes; return ret_val; } SDP__Types::SDP__media__desc_template tr__SDP__media__desc(const INTEGER_template& port__number, const SDP__Types::SDP__fmt__list_template& fmts, const SDP__Types::SDP__attribute__list_template& attributes) { TTCN_Location current_location("SDP_Templates.ttcn", 77, TTCN_Location::LOCATION_TEMPLATE, "tr_SDP_media_desc"); SDP__Types::SDP__media__desc_template ret_val; { SDP__Types::SDP__media__field_template& tmp_5 = ret_val.media__field(); tmp_5.media() = cs_4; { SDP__Types::SDP__media__port_template& tmp_6 = tmp_5.ports(); tmp_6.port__number() = port__number; tmp_6.num__of__ports() = OMIT_VALUE; } tmp_5.transport() = cs_5; tmp_5.fmts() = fmts; } ret_val.information() = ANY_OR_OMIT; ret_val.connections() = ANY_OR_OMIT; ret_val.bandwidth() = ANY_OR_OMIT; ret_val.key() = ANY_OR_OMIT; ret_val.attributes() = attributes; return ret_val; } SDP__Types::SDP__Message_template ts__SDP(const CHARSTRING& local__addr, const CHARSTRING& remote__addr, const CHARSTRING& session__id, const CHARSTRING& session__version, const INTEGER& rtp__port, const SDP__Types::SDP__fmt__list& fmts, const SDP__Types::SDP__attribute__list& attributes) { TTCN_Location current_location("SDP_Templates.ttcn", 97, TTCN_Location::LOCATION_TEMPLATE, "ts_SDP"); SDP__Types::SDP__Message_template ret_val; ret_val.protocol__version() = 0; ret_val.origin() = ts__SDP__origin(local__addr, session__id, session__version, f__sdp__addr2addrtype(local__addr), ts__SDP__origin_user__name_defval); ret_val.session__name() = cs_3; ret_val.information() = OMIT_VALUE; ret_val.uri() = OMIT_VALUE; ret_val.emails() = OMIT_VALUE; ret_val.phone__numbers() = OMIT_VALUE; ret_val.connection() = ts__SDP__connection__IP(remote__addr, f__sdp__addr2addrtype(remote__addr), ts__SDP__connection__IP_ttl_defval, ts__SDP__connection__IP_num__of__addr_defval); ret_val.bandwidth() = OMIT_VALUE; { SDP__Types::SDP__time__list_template& tmp_7 = ret_val.times(); tmp_7.set_size(1); tmp_7[0] = ts__SDP__time(cs_6, cs_6); } ret_val.timezone__adjustments() = OMIT_VALUE; ret_val.key() = OMIT_VALUE; ret_val.attributes() = OMIT_VALUE; { SDP__Types::SDP__media__desc__list_template& tmp_8 = ret_val.media__list(); tmp_8.set_size(1); tmp_8[0] = ts__SDP__media__desc(rtp__port, fmts, attributes); } return ret_val; } SDP__Types::SDP__Message_template tr__SDP(const CHARSTRING_template& remote__addr, const INTEGER_template& rtp__port) { TTCN_Location current_location("SDP_Templates.ttcn", 117, TTCN_Location::LOCATION_TEMPLATE, "tr_SDP"); SDP__Types::SDP__Message_template ret_val; ret_val.protocol__version() = 0; ret_val.origin() = ANY_VALUE; ret_val.session__name() = ANY_VALUE; ret_val.information() = ANY_OR_OMIT; ret_val.uri() = ANY_OR_OMIT; ret_val.emails() = ANY_OR_OMIT; ret_val.phone__numbers() = ANY_OR_OMIT; ret_val.connection() = tr__SDP__connection__IP(remote__addr, CHARSTRING_template(ANY_VALUE), tr__SDP__connection__IP_ttl_defval, tr__SDP__connection__IP_num__of__addr_defval); ret_val.bandwidth() = ANY_OR_OMIT; ret_val.times() = ANY_VALUE; ret_val.timezone__adjustments() = ANY_OR_OMIT; ret_val.key() = ANY_OR_OMIT; ret_val.attributes() = ANY_OR_OMIT; { SDP__Types::SDP__media__desc__list_template& tmp_9 = ret_val.media__list(); tmp_9.set_size(1); tmp_9[0] = tr__SDP__media__desc(rtp__port, tr__SDP__media__desc_fmts_defval, tr__SDP__media__desc_attributes_defval); } return ret_val; } SDP__Types::SDP__attribute_template ts__SDP__rtpmap(const INTEGER& fmt, const CHARSTRING& val) { TTCN_Location current_location("SDP_Templates.ttcn", 134, TTCN_Location::LOCATION_TEMPLATE, "ts_SDP_rtpmap"); SDP__Types::SDP__attribute_template ret_val; ret_val.rtpmap().attr__value() = ((int2str(fmt) + cs_7) + val); return ret_val; } SDP__Types::SDP__attribute_template ts__SDP__ptime(const INTEGER& p) { TTCN_Location current_location("SDP_Templates.ttcn", 139, TTCN_Location::LOCATION_TEMPLATE, "ts_SDP_ptime"); SDP__Types::SDP__attribute_template ret_val; ret_val.ptime().attr__value() = int2str(p); return ret_val; } SDP__Types::SDP__attribute_template ts__SDP__fmtp(const INTEGER& fmt, const CHARSTRING& val) { TTCN_Location current_location("SDP_Templates.ttcn", 144, TTCN_Location::LOCATION_TEMPLATE, "ts_SDP_fmtp"); SDP__Types::SDP__attribute_template ret_val; ret_val.fmtp().attr__value() = ((int2str(fmt) + cs_7) + val); return ret_val; } SDP__Types::SDP__attribute_template tr__SDP__curr(const CHARSTRING& status__type, const CHARSTRING& dir__tag, const CHARSTRING& precondition__type) { TTCN_Location current_location("SDP_Templates.ttcn", 177, TTCN_Location::LOCATION_TEMPLATE, "tr_SDP_curr"); SDP__Types::SDP__attribute_template ret_val; ret_val.curr().attr__value() = ((((precondition__type + cs_7) + status__type) + cs_7) + dir__tag); return ret_val; } SDP__Types::SDP__attribute_template ts__SDP__curr(const CHARSTRING& status__type, const CHARSTRING& dir__tag, const CHARSTRING& precondition__type) { TTCN_Location current_location("SDP_Templates.ttcn", 189, TTCN_Location::LOCATION_TEMPLATE, "ts_SDP_curr"); SDP__Types::SDP__attribute_template ret_val; ret_val.curr().attr__value() = ((((precondition__type + cs_7) + status__type) + cs_7) + dir__tag); return ret_val; } SDP__Types::SDP__attribute_template tr__SDP__des(const CHARSTRING& strength__tag, const CHARSTRING& status__type, const CHARSTRING& dir__tag, const CHARSTRING& precondition__type) { TTCN_Location current_location("SDP_Templates.ttcn", 197, TTCN_Location::LOCATION_TEMPLATE, "tr_SDP_des"); SDP__Types::SDP__attribute_template ret_val; ret_val.des().attr__value() = ((((((precondition__type + cs_7) + strength__tag) + cs_7) + status__type) + cs_7) + dir__tag); return ret_val; } SDP__Types::SDP__attribute_template ts__SDP__des(const CHARSTRING& strength__tag, const CHARSTRING& status__type, const CHARSTRING& dir__tag, const CHARSTRING& precondition__type) { TTCN_Location current_location("SDP_Templates.ttcn", 210, TTCN_Location::LOCATION_TEMPLATE, "ts_SDP_des"); SDP__Types::SDP__attribute_template ret_val; ret_val.des().attr__value() = ((((((precondition__type + cs_7) + strength__tag) + cs_7) + status__type) + cs_7) + dir__tag); return ret_val; } SDP__Types::SDP__attribute_template tr__SDP__conf(const CHARSTRING& status__type, const CHARSTRING& dir__tag, const CHARSTRING& precondition__type) { TTCN_Location current_location("SDP_Templates.ttcn", 219, TTCN_Location::LOCATION_TEMPLATE, "tr_SDP_conf"); SDP__Types::SDP__attribute_template ret_val; ret_val.conf().attr__value() = ((((precondition__type + cs_7) + status__type) + cs_7) + dir__tag); return ret_val; } SDP__Types::SDP__attribute_template ts__SDP__conf(const CHARSTRING& status__type, const CHARSTRING& dir__tag, const CHARSTRING& precondition__type) { TTCN_Location current_location("SDP_Templates.ttcn", 231, TTCN_Location::LOCATION_TEMPLATE, "ts_SDP_conf"); SDP__Types::SDP__attribute_template ret_val; ret_val.conf().attr__value() = ((((precondition__type + cs_7) + status__type) + cs_7) + dir__tag); return ret_val; } CHARSTRING f__sdp__addr2addrtype(const CHARSTRING& addr) { TTCN_Location current_location("SDP_Templates.ttcn", 239, TTCN_Location::LOCATION_FUNCTION, "f_sdp_addr2addrtype"); { current_location.update_lineno(240); /* SDP_Templates.ttcn, line 240 */ INTEGER i(0); current_location.update_lineno(240); /* SDP_Templates.ttcn, line 240 */ for ( ; ; ) { current_location.update_lineno(240); /* SDP_Templates.ttcn, line 240 */ if (!(i < addr.lengthof())) break; current_location.update_lineno(241); /* SDP_Templates.ttcn, line 241 */ if ((const_cast< const CHARSTRING&>(addr)[i] == cs_20)) { current_location.update_lineno(242); /* SDP_Templates.ttcn, line 242 */ return cs_21; } current_location.update_lineno(240); /* SDP_Templates.ttcn, line 240 */ { INTEGER tmp_10; ++i; } } } current_location.update_lineno(245); /* SDP_Templates.ttcn, line 245 */ return cs_2; } /* Bodies of static functions */ void pre_init_module() { TTCN_Location current_location("SDP_Templates.ttcn", 0, TTCN_Location::LOCATION_UNKNOWN, "SDP_Templates"); SDP__Types::module_object.pre_init_module(); current_location.update_lineno(163); /* SDP_Templates.ttcn, line 163 */ const_c__SDP__PRECON__TYPE__qos = cs_8; current_location.update_lineno(164); /* SDP_Templates.ttcn, line 164 */ const_c__SDP__PRECON__STRENGTH__TAG__mandatory = cs_9; current_location.update_lineno(165); /* SDP_Templates.ttcn, line 165 */ const_c__SDP__PRECON__STRENGTH__TAG__optional = cs_10; current_location.update_lineno(166); /* SDP_Templates.ttcn, line 166 */ const_c__SDP__PRECON__STRENGTH__TAG__none = cs_11; current_location.update_lineno(167); /* SDP_Templates.ttcn, line 167 */ const_c__SDP__PRECON__STRENGTH__TAG__failure = cs_12; current_location.update_lineno(168); /* SDP_Templates.ttcn, line 168 */ const_c__SDP__PRECON__STRENGTH__TAG__unknown = cs_13; current_location.update_lineno(169); /* SDP_Templates.ttcn, line 169 */ const_c__SDP__PRECON__STATUS__TYPE__e2e = cs_14; current_location.update_lineno(170); /* SDP_Templates.ttcn, line 170 */ const_c__SDP__PRECON__STATUS__TYPE__local = cs_15; current_location.update_lineno(171); /* SDP_Templates.ttcn, line 171 */ const_c__SDP__PRECON__STATUS__TYPE__remote = cs_16; current_location.update_lineno(172); /* SDP_Templates.ttcn, line 172 */ const_c__SDP__PRECON__DIR__TAG__none = cs_11; current_location.update_lineno(173); /* SDP_Templates.ttcn, line 173 */ const_c__SDP__PRECON__DIR__TAG__send = cs_17; current_location.update_lineno(174); /* SDP_Templates.ttcn, line 174 */ const_c__SDP__PRECON__DIR__TAG__recv = cs_18; current_location.update_lineno(175); /* SDP_Templates.ttcn, line 175 */ const_c__SDP__PRECON__DIR__TAG__sendrecv = cs_19; module_object.add_function("f_sdp_addr2addrtype", (genericfunc_t)&f__sdp__addr2addrtype, NULL); } void post_init_module() { TTCN_Location current_location("SDP_Templates.ttcn", 0, TTCN_Location::LOCATION_UNKNOWN, "SDP_Templates"); SDP__Types::module_object.post_init_module(); current_location.update_lineno(16); /* SDP_Templates.ttcn, line 16 */ const_ts__SDP__origin_session__version_defval = cs_1; current_location.update_lineno(17); /* SDP_Templates.ttcn, line 17 */ const_ts__SDP__origin_addr__type_defval = cs_2; current_location.update_lineno(18); /* SDP_Templates.ttcn, line 18 */ const_ts__SDP__origin_user__name_defval = cs_3; current_location.update_lineno(27); /* SDP_Templates.ttcn, line 27 */ const_ts__SDP__connection__IP_addr__type_defval = cs_2; current_location.update_lineno(28); /* SDP_Templates.ttcn, line 28 */ template_ts__SDP__connection__IP_ttl_defval = OMIT_VALUE; current_location.update_lineno(29); /* SDP_Templates.ttcn, line 29 */ template_ts__SDP__connection__IP_num__of__addr_defval = OMIT_VALUE; current_location.update_lineno(39); /* SDP_Templates.ttcn, line 39 */ template_tr__SDP__connection__IP_addr__type_defval = ANY_VALUE; current_location.update_lineno(40); /* SDP_Templates.ttcn, line 40 */ template_tr__SDP__connection__IP_ttl_defval = ANY_OR_OMIT; current_location.update_lineno(41); /* SDP_Templates.ttcn, line 41 */ template_tr__SDP__connection__IP_num__of__addr_defval = ANY_OR_OMIT; current_location.update_lineno(77); /* SDP_Templates.ttcn, line 77 */ template_tr__SDP__media__desc_port__number_defval = ANY_VALUE; current_location.update_lineno(78); /* SDP_Templates.ttcn, line 78 */ template_tr__SDP__media__desc_fmts_defval = ANY_VALUE; current_location.update_lineno(79); /* SDP_Templates.ttcn, line 79 */ template_tr__SDP__media__desc_attributes_defval = ANY_VALUE; current_location.update_lineno(117); /* SDP_Templates.ttcn, line 117 */ template_tr__SDP_remote__addr_defval = ANY_VALUE; current_location.update_lineno(117); /* SDP_Templates.ttcn, line 117 */ template_tr__SDP_rtp__port_defval = ANY_VALUE; current_location.update_lineno(150); /* SDP_Templates.ttcn, line 150 */ template_tr__SDP__recvonly.recvonly() = NULL_VALUE; current_location.update_lineno(154); /* SDP_Templates.ttcn, line 154 */ template_tr__SDP__sendonly.sendonly() = NULL_VALUE; current_location.update_lineno(158); /* SDP_Templates.ttcn, line 158 */ template_tr__SDP__sendrecv.sendrecv() = NULL_VALUE; current_location.update_lineno(179); /* SDP_Templates.ttcn, line 179 */ const_tr__SDP__curr_precondition__type_defval = cs_8; current_location.update_lineno(184); /* SDP_Templates.ttcn, line 184 */ template_tr__SDP__curr__present.curr().attr__value() = ANY_VALUE; current_location.update_lineno(191); /* SDP_Templates.ttcn, line 191 */ const_ts__SDP__curr_precondition__type_defval = cs_8; current_location.update_lineno(200); /* SDP_Templates.ttcn, line 200 */ const_tr__SDP__des_precondition__type_defval = cs_8; current_location.update_lineno(205); /* SDP_Templates.ttcn, line 205 */ template_tr__SDP__des__present.des().attr__value() = ANY_VALUE; current_location.update_lineno(213); /* SDP_Templates.ttcn, line 213 */ const_ts__SDP__des_precondition__type_defval = cs_8; current_location.update_lineno(221); /* SDP_Templates.ttcn, line 221 */ const_tr__SDP__conf_precondition__type_defval = cs_8; current_location.update_lineno(226); /* SDP_Templates.ttcn, line 226 */ template_tr__SDP__conf__present.conf().attr__value() = ANY_VALUE; current_location.update_lineno(233); /* SDP_Templates.ttcn, line 233 */ const_ts__SDP__conf_precondition__type_defval = cs_8; } } /* end of namespace */