// 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 "AbisOML_Types.hh"

namespace AbisOML__Types {

/* Bodies of functions, altsteps and testcases */

void OML__FOM__Subslot_encoder(const OML__FOM__Subslot& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_Subslot' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__Subslot_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__Subslot_decoder(OCTETSTRING& input_stream, OML__FOM__Subslot& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_Subslot' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__Subslot_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__AbisChannel_subslot__nr_encoder(const OML__FOM__Subslot& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_Subslot' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__AbisChannel_subslot__nr_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__AbisChannel_subslot__nr_decoder(OCTETSTRING& input_stream, OML__FOM__Subslot& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_Subslot' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__AbisChannel_subslot__nr_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__AbisChannel_encoder(const OML__FOM__AbisChannel& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_AbisChannel' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__AbisChannel_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__AbisChannel_decoder(OCTETSTRING& input_stream, OML__FOM__AbisChannel& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_AbisChannel' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__AbisChannel_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__Body_abis__channel_encoder(const OML__FOM__AbisChannel& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_AbisChannel' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__Body_abis__channel_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__Body_abis__channel_decoder(OCTETSTRING& input_stream, OML__FOM__AbisChannel& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_AbisChannel' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__Body_abis__channel_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__AdministrativeState_encoder(const OML__FOM__AdministrativeState& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_AdministrativeState' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__AdministrativeState_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__AdministrativeState_decoder(OCTETSTRING& input_stream, OML__FOM__AdministrativeState& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_AdministrativeState' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__AdministrativeState_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__Body_adm__state_encoder(const OML__FOM__AdministrativeState& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_AdministrativeState' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__Body_adm__state_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__Body_adm__state_decoder(OCTETSTRING& input_stream, OML__FOM__AdministrativeState& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_AdministrativeState' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__Body_adm__state_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__Body_auton__report_encoder(const OCTETSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `octetstring' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__Body_auton__report_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__Body_auton__report_decoder(OCTETSTRING& input_stream, OCTETSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `octetstring' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__Body_auton__report_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__Body_bcch__arfcn_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__Body_bcch__arfcn_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__Body_bcch__arfcn_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__Body_bcch__arfcn_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__Body_bsic_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__Body_bsic_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__Body_bsic_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__Body_bsic_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__Body_air__timer_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__Body_air__timer_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__Body_air__timer_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__Body_air__timer_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__Body_load__ind__period_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__Body_load__ind__period_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__Body_load__ind__period_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__Body_load__ind__period_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__Body_load__threshold_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__Body_load__threshold_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__Body_load__threshold_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__Body_load__threshold_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__ChannelCombination_encoder(const OML__ChannelCombination& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_ChannelCombination' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__ChannelCombination_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__ChannelCombination_decoder(OCTETSTRING& input_stream, OML__ChannelCombination& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_ChannelCombination' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__ChannelCombination_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__Body_chan__comb_encoder(const OML__ChannelCombination& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_ChannelCombination' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__Body_chan__comb_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__Body_chan__comb_decoder(OCTETSTRING& input_stream, OML__ChannelCombination& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_ChannelCombination' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__Body_chan__comb_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__EventType_encoder(const OML__FOM__EventType& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_EventType' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__EventType_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__EventType_decoder(OCTETSTRING& input_stream, OML__FOM__EventType& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_EventType' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__EventType_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__Body_event__type_encoder(const OML__FOM__EventType& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_EventType' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__Body_event__type_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__Body_event__type_decoder(OCTETSTRING& input_stream, OML__FOM__EventType& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_EventType' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__Body_event__type_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__Body_gsm__time_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__Body_gsm__time_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__Body_gsm__time_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__Body_gsm__time_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__Body_hsn_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__Body_hsn_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__Body_hsn_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__Body_hsn_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__Body_intave__param_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__Body_intave__param_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__Body_intave__param_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__Body_intave__param_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__InterfLevBoundaries_0_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__InterfLevBoundaries_0_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__InterfLevBoundaries_0_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__InterfLevBoundaries_0_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__InterfLevBoundaries_encoder(const OML__FOM__InterfLevBoundaries& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_InterfLevBoundaries' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__InterfLevBoundaries_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__InterfLevBoundaries_decoder(OCTETSTRING& input_stream, OML__FOM__InterfLevBoundaries& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_InterfLevBoundaries' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__InterfLevBoundaries_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__Body_interf__bound_encoder(const OML__FOM__InterfLevBoundaries& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_InterfLevBoundaries' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__Body_interf__bound_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__Body_interf__bound_decoder(OCTETSTRING& input_stream, OML__FOM__InterfLevBoundaries& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_InterfLevBoundaries' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__Body_interf__bound_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__Body_maio_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__Body_maio_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__Body_maio_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__Body_maio_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__Body_manuf__state_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__Body_manuf__state_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__Body_manuf__state_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__Body_manuf__state_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__Body_max__ta_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__Body_max__ta_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__Body_max__ta_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__Body_max__ta_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__NackCause_encoder(const OML__FOM__NackCause& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_NackCause' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__NackCause_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__NackCause_decoder(OCTETSTRING& input_stream, OML__FOM__NackCause& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_NackCause' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__NackCause_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__Body_nack__causes_encoder(const OML__FOM__NackCause& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_NackCause' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__Body_nack__causes_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__Body_nack__causes_decoder(OCTETSTRING& input_stream, OML__FOM__NackCause& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_NackCause' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__Body_nack__causes_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__Body_ny1_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__Body_ny1_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__Body_ny1_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__Body_ny1_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__OperationalState_encoder(const OML__FOM__OperationalState& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_OperationalState' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__OperationalState_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__OperationalState_decoder(OCTETSTRING& input_stream, OML__FOM__OperationalState& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_OperationalState' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__OperationalState_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__Body_opstate_encoder(const OML__FOM__OperationalState& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_OperationalState' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__Body_opstate_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__Body_opstate_decoder(OCTETSTRING& input_stream, OML__FOM__OperationalState& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_OperationalState' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__Body_opstate_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__Body_power__class_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__Body_power__class_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__Body_power__class_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__Body_power__class_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__PowerOuthputThresholds_0_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__PowerOuthputThresholds_0_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__PowerOuthputThresholds_0_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__PowerOuthputThresholds_0_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__PowerOuthputThresholds_encoder(const OML__FOM__PowerOuthputThresholds& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_PowerOuthputThresholds' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__PowerOuthputThresholds_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__PowerOuthputThresholds_decoder(OCTETSTRING& input_stream, OML__FOM__PowerOuthputThresholds& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_PowerOuthputThresholds' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__PowerOuthputThresholds_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__Body_power__thresh_encoder(const OML__FOM__PowerOuthputThresholds& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_PowerOuthputThresholds' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__Body_power__thresh_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__Body_power__thresh_decoder(OCTETSTRING& input_stream, OML__FOM__PowerOuthputThresholds& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_PowerOuthputThresholds' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__Body_power__thresh_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__ProbableCauseType_encoder(const OML__FOM__ProbableCauseType& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_ProbableCauseType' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__ProbableCauseType_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__ProbableCauseType_decoder(OCTETSTRING& input_stream, OML__FOM__ProbableCauseType& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_ProbableCauseType' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__ProbableCauseType_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__ProbableCause_cause__type_encoder(const OML__FOM__ProbableCauseType& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_ProbableCauseType' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__ProbableCause_cause__type_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__ProbableCause_cause__type_decoder(OCTETSTRING& input_stream, OML__FOM__ProbableCauseType& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_ProbableCauseType' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__ProbableCause_cause__type_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__ProbableCause_cause__value_encoder(const OCTETSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `octetstring' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__ProbableCause_cause__value_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__ProbableCause_cause__value_decoder(OCTETSTRING& input_stream, OCTETSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `octetstring' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__ProbableCause_cause__value_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__ProbableCause_encoder(const OML__FOM__ProbableCause& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_ProbableCause' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__ProbableCause_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__ProbableCause_decoder(OCTETSTRING& input_stream, OML__FOM__ProbableCause& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_ProbableCause' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__ProbableCause_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__Body_prob__cause_encoder(const OML__FOM__ProbableCause& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_ProbableCause' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__Body_prob__cause_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__Body_prob__cause_decoder(OCTETSTRING& input_stream, OML__FOM__ProbableCause& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_ProbableCause' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__Body_prob__cause_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__Body_rach__b__thresh_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__Body_rach__b__thresh_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__Body_rach__b__thresh_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__Body_rach__b__thresh_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__Body_loadavg__slots_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__Body_loadavg__slots_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__Body_loadavg__slots_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__Body_loadavg__slots_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__Body_radio__subch_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__Body_radio__subch_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__Body_radio__subch_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__Body_radio__subch_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__Body_rf__maxpwr__r_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__Body_rf__maxpwr__r_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__Body_rf__maxpwr__r_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__Body_rf__maxpwr__r_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__Body_spec__prob_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__Body_spec__prob_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__Body_spec__prob_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__Body_spec__prob_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__Body_start__time_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__Body_start__time_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__Body_start__time_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__Body_start__time_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__T200_sdcch__5ms_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__T200_sdcch__5ms_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__T200_sdcch__5ms_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__T200_sdcch__5ms_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__T200_facch__f__5ms_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__T200_facch__f__5ms_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__T200_facch__f__5ms_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__T200_facch__f__5ms_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__T200_facch__h__5ms_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__T200_facch__h__5ms_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__T200_facch__h__5ms_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__T200_facch__h__5ms_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__T200_sacch__tch__sapi0__10ms_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__T200_sacch__tch__sapi0__10ms_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__T200_sacch__tch__sapi0__10ms_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__T200_sacch__tch__sapi0__10ms_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__T200_sacch__sdcch__10ms_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__T200_sacch__sdcch__10ms_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__T200_sacch__sdcch__10ms_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__T200_sacch__sdcch__10ms_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__T200_sdcch__sapi3__5ms_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__T200_sdcch__sapi3__5ms_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__T200_sdcch__sapi3__5ms_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__T200_sdcch__sapi3__5ms_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__T200_sacch__rch__sapi3__10ms_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__T200_sacch__rch__sapi3__10ms_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__T200_sacch__rch__sapi3__10ms_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__T200_sacch__rch__sapi3__10ms_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__T200_encoder(const OML__FOM__T200& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_T200' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__T200_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__T200_decoder(OCTETSTRING& input_stream, OML__FOM__T200& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_T200' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__T200_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__Body_t200_encoder(const OML__FOM__T200& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_T200' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__Body_t200_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__Body_t200_decoder(OCTETSTRING& input_stream, OML__FOM__T200& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_T200' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__Body_t200_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__Body_tei_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__Body_tei_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__Body_tei_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__Body_tei_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__Body_test__no_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__Body_test__no_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__Body_test__no_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__Body_test__no_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__Body_vswr__thresh_encoder(const OCTETSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `octetstring' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__Body_vswr__thresh_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__Body_vswr__thresh_decoder(OCTETSTRING& input_stream, OCTETSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `octetstring' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__Body_vswr__thresh_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__Body_window__size_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__Body_window__size_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__Body_window__size_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__Body_window__size_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__Body_tsc_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__Body_tsc_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__Body_tsc_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__Body_tsc_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__Severity_encoder(const OML__FOM__Severity& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_Severity' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__Severity_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__Severity_decoder(OCTETSTRING& input_stream, OML__FOM__Severity& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_Severity' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__Severity_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__Body_severity_encoder(const OML__FOM__Severity& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_Severity' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__Body_severity_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__Body_severity_decoder(OCTETSTRING& input_stream, OML__FOM__Severity& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_Severity' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__Body_severity_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__Body_outst__alarm_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__Body_outst__alarm_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__Body_outst__alarm_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__Body_outst__alarm_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__Body_meas__type_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__Body_meas__type_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__Body_meas__type_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__Body_meas__type_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__IE__AvailStatus_len_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__IE__AvailStatus_len_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__IE__AvailStatus_len_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__IE__AvailStatus_len_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__AvailabilityStatus_encoder(const OML__FOM__AvailabilityStatus& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_AvailabilityStatus' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__AvailabilityStatus_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__AvailabilityStatus_decoder(OCTETSTRING& input_stream, OML__FOM__AvailabilityStatus& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_AvailabilityStatus' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__AvailabilityStatus_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__IE__AvailStatus_avail__status_encoder(const OML__FOM__AvailabilityStatus& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_AvailabilityStatus' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__IE__AvailStatus_avail__status_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__IE__AvailStatus_avail__status_decoder(OCTETSTRING& input_stream, OML__FOM__AvailabilityStatus& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_AvailabilityStatus' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__IE__AvailStatus_avail__status_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__IE__AvailStatus_encoder(const OML__IE__AvailStatus& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_IE_AvailStatus' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__IE__AvailStatus_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__IE__AvailStatus_decoder(OCTETSTRING& input_stream, OML__IE__AvailStatus& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_IE_AvailStatus' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__IE__AvailStatus_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__Body_avail__status_encoder(const OML__IE__AvailStatus& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_IE_AvailStatus' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__Body_avail__status_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__Body_avail__status_decoder(OCTETSTRING& input_stream, OML__IE__AvailStatus& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_IE_AvailStatus' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__Body_avail__status_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__IE__ArfcnList_len_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__IE__ArfcnList_len_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__IE__ArfcnList_len_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__IE__ArfcnList_len_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__ArfcnList_0_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__ArfcnList_0_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__ArfcnList_0_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__ArfcnList_0_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__ArfcnList_encoder(const OML__ArfcnList& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_ArfcnList' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__ArfcnList_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__ArfcnList_decoder(OCTETSTRING& input_stream, OML__ArfcnList& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_ArfcnList' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__ArfcnList_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__IE__ArfcnList_arfcn__list_encoder(const OML__ArfcnList& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_ArfcnList' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__IE__ArfcnList_arfcn__list_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__IE__ArfcnList_arfcn__list_decoder(OCTETSTRING& input_stream, OML__ArfcnList& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_ArfcnList' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__IE__ArfcnList_arfcn__list_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__IE__ArfcnList_encoder(const OML__IE__ArfcnList& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_IE_ArfcnList' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__IE__ArfcnList_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__IE__ArfcnList_decoder(OCTETSTRING& input_stream, OML__IE__ArfcnList& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_IE_ArfcnList' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__IE__ArfcnList_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__Body_arfcn__list_encoder(const OML__IE__ArfcnList& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_IE_ArfcnList' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__Body_arfcn__list_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__Body_arfcn__list_decoder(OCTETSTRING& input_stream, OML__IE__ArfcnList& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_IE_ArfcnList' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__Body_arfcn__list_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__Body_ip_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__Body_ip_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__Body_ip_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__Body_ip_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__Body_portnr_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__Body_portnr_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__Body_portnr_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__Body_portnr_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__Body_stream__id_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__Body_stream__id_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__Body_stream__id_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__Body_stream__id_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__Body_sec__oml__cfg_encoder(const OCTETSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `octetstring' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__Body_sec__oml__cfg_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__Body_sec__oml__cfg_decoder(OCTETSTRING& input_stream, OCTETSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `octetstring' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__Body_sec__oml__cfg_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__Body_ip__if__cfg_encoder(const OCTETSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `octetstring' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__Body_ip__if__cfg_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__Body_ip__if__cfg_decoder(OCTETSTRING& input_stream, OCTETSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `octetstring' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__Body_ip__if__cfg_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__Body_ip__gw__cfg_encoder(const OCTETSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `octetstring' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__Body_ip__gw__cfg_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__Body_ip__gw__cfg_decoder(OCTETSTRING& input_stream, OCTETSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `octetstring' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__Body_ip__gw__cfg_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__Body_in__serv__time_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__Body_in__serv__time_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__Body_in__serv__time_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__Body_in__serv__time_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__Body_paging__cfg_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__Body_paging__cfg_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__Body_paging__cfg_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__Body_paging__cfg_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__Body_freq__ctrl_encoder(const OCTETSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `octetstring' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__Body_freq__ctrl_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__Body_freq__ctrl_decoder(OCTETSTRING& input_stream, OCTETSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `octetstring' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__Body_freq__ctrl_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__ARI_len_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__ARI_len_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__ARI_len_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__ARI_len_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__ARI_non__reported__attr__len_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__ARI_non__reported__attr__len_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__ARI_non__reported__attr__len_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__ARI_non__reported__attr__len_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__ARI_non__reported__attr_0_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__ARI_non__reported__attr_0_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__ARI_non__reported__attr_0_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__ARI_non__reported__attr_0_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__ARI_non__reported__attr_encoder(const OML__FOM__ARI_non__reported__attr& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_ARI.non_reported_attr' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__ARI_non__reported__attr_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__ARI_non__reported__attr_decoder(OCTETSTRING& input_stream, OML__FOM__ARI_non__reported__attr& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_ARI.non_reported_attr' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__ARI_non__reported__attr_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__ARI_ies_encoder(const OML__FOM__IE__List& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_IE_List' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__ARI_ies_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__ARI_ies_decoder(OCTETSTRING& input_stream, OML__FOM__IE__List& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_IE_List' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__ARI_ies_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__ARI_encoder(const OML__FOM__ARI& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_ARI' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__ARI_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__ARI_decoder(OCTETSTRING& input_stream, OML__FOM__ARI& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_ARI' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__ARI_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__Body_ari_encoder(const OML__FOM__ARI& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_ARI' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__Body_ari_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__Body_ari_decoder(OCTETSTRING& input_stream, OML__FOM__ARI& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_ARI' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__Body_ari_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__IE__L16V_len_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__IE__L16V_len_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__IE__L16V_len_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__IE__L16V_len_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__IE__L16V_payload_encoder(const OCTETSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `octetstring' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__IE__L16V_payload_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__IE__L16V_payload_decoder(OCTETSTRING& input_stream, OCTETSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `octetstring' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__IE__L16V_payload_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__IE__L16V_encoder(const OML__IE__L16V& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_IE_L16V' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__IE__L16V_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__IE__L16V_decoder(OCTETSTRING& input_stream, OML__IE__L16V& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_IE_L16V' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__IE__L16V_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__Body_other_encoder(const OML__IE__L16V& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_IE_L16V' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__Body_other_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__Body_other_decoder(OCTETSTRING& input_stream, OML__IE__L16V& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_IE_L16V' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__Body_other_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__Body_encoder(const OML__FOM__IE__Body& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_IE_Body' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__Body_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__Body_decoder(OCTETSTRING& input_stream, OML__FOM__IE__Body& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_IE_Body' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__Body_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE_body_encoder(const OML__FOM__IE__Body& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_IE_Body' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE_body_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE_body_decoder(OCTETSTRING& input_stream, OML__FOM__IE__Body& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_IE_Body' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE_body_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE_encoder(const OML__FOM__IE& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_IE' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE_decoder(OCTETSTRING& input_stream, OML__FOM__IE& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_IE' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__List_0_encoder(const OML__FOM__IE& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_IE' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__List_0_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__List_0_decoder(OCTETSTRING& input_stream, OML__FOM__IE& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_IE' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__List_0_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM__IE__List_encoder(const OML__FOM__IE__List& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_IE_List' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM__IE__List_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM__IE__List_decoder(OCTETSTRING& input_stream, OML__FOM__IE__List& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_IE_List' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM__IE__List_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM_ies_encoder(const OML__FOM__IE__List& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_IE_List' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM_ies_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM_ies_decoder(OCTETSTRING& input_stream, OML__FOM__IE__List& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_IE_List' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM_ies_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__FOM_encoder(const OML__FOM& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__FOM_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__FOM_decoder(OCTETSTRING& input_stream, OML__FOM& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__FOM_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__Union_fom_encoder(const OML__FOM& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__Union_fom_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__Union_fom_decoder(OCTETSTRING& input_stream, OML__FOM& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__Union_fom_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__MANUF__IPA_len_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__MANUF__IPA_len_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__MANUF__IPA_len_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__MANUF__IPA_len_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__MANUF__IPA_str__len_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__MANUF__IPA_str__len_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__MANUF__IPA_str__len_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__MANUF__IPA_str__len_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__MANUF__IPA_manuf__str_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `charstring' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__MANUF__IPA_manuf__str_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__MANUF__IPA_manuf__str_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `charstring' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__MANUF__IPA_manuf__str_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__MANUF__IPA_hdr_encoder(const OML__FOM__Header& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_Header' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__MANUF__IPA_hdr_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__MANUF__IPA_hdr_decoder(OCTETSTRING& input_stream, OML__FOM__Header& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_Header' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__MANUF__IPA_hdr_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__MANUF__IPA_ies_encoder(const OML__FOM__IE__List& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_IE_List' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__MANUF__IPA_ies_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__MANUF__IPA_ies_decoder(OCTETSTRING& input_stream, OML__FOM__IE__List& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_FOM_IE_List' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__MANUF__IPA_ies_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__MANUF__IPA_encoder(const OML__MANUF__IPA& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_MANUF_IPA' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__MANUF__IPA_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__MANUF__IPA_decoder(OCTETSTRING& input_stream, OML__MANUF__IPA& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_MANUF_IPA' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__MANUF__IPA_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__MANUF_ipa_encoder(const OML__MANUF__IPA& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_MANUF_IPA' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__MANUF_ipa_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__MANUF_ipa_decoder(OCTETSTRING& input_stream, OML__MANUF__IPA& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_MANUF_IPA' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__MANUF_ipa_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__MANUF_encoder(const OML__MANUF& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_MANUF' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__MANUF_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__MANUF_decoder(OCTETSTRING& input_stream, OML__MANUF& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_MANUF' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__MANUF_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__Union_manuf_encoder(const OML__MANUF& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_MANUF' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__Union_manuf_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__Union_manuf_decoder(OCTETSTRING& input_stream, OML__MANUF& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_MANUF' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__Union_manuf_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__Union_other_encoder(const OCTETSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `octetstring' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__Union_other_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__Union_other_decoder(OCTETSTRING& input_stream, OCTETSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `octetstring' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__Union_other_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__Union_encoder(const OML__Union& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_Union' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__Union_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__Union_decoder(OCTETSTRING& input_stream, OML__Union& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_Union' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__Union_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__PDU_mdisc_encoder(const OML__MessageDiscriminator& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_MessageDiscriminator' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__PDU_mdisc_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__PDU_mdisc_decoder(OCTETSTRING& input_stream, OML__MessageDiscriminator& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_MessageDiscriminator' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__PDU_mdisc_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__PDU_placement_encoder(const OML__Placement& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_Placement' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__PDU_placement_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__PDU_placement_decoder(OCTETSTRING& input_stream, OML__Placement& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_Placement' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__PDU_placement_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__PDU_sequence_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__PDU_sequence_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__PDU_sequence_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__PDU_sequence_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__PDU_u_encoder(const OML__Union& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_Union' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__PDU_u_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__PDU_u_decoder(OCTETSTRING& input_stream, OML__Union& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_Union' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__PDU_u_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__PDU_encoder(const OML__PDU& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_PDU' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__PDU_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__PDU_decoder(OCTETSTRING& input_stream, OML__PDU& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_PDU' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__PDU_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__IE__LV_len_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__IE__LV_len_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__IE__LV_len_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `integer' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__IE__LV_len_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__IE__LV_payload_encoder(const OCTETSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `octetstring' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__IE__LV_payload_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__IE__LV_payload_decoder(OCTETSTRING& input_stream, OCTETSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `octetstring' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__IE__LV_payload_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

void OML__IE__LV_encoder(const OML__IE__LV& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, TRUE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_IE_LV' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf;
input_value.encode(OML__IE__LV_descr_, ttcn_buf, coding_type, extra_options);
ttcn_buf.get_string(output_stream);
}

INTEGER OML__IE__LV_decoder(OCTETSTRING& input_stream, OML__IE__LV& output_value, const UNIVERSAL_CHARSTRING& coding_name)
{
TTCN_EncDec::coding_t coding_type;
unsigned int extra_options = 0;
TTCN_EncDec::get_coding_from_str(coding_name, &coding_type, &extra_options, FALSE);
if (coding_type != TTCN_EncDec::CT_RAW) {
TTCN_Logger::begin_event_log2str();
coding_name.log();
TTCN_error("Type `@AbisOML_Types.OML_IE_LV' does not support %s encoding", (const char*) TTCN_Logger::end_event_log2str());
}
TTCN_Buffer ttcn_buf(input_stream);
output_value.decode(OML__IE__LV_descr_, ttcn_buf, coding_type, extra_options);
switch (TTCN_EncDec::get_last_error_type()) {
case TTCN_EncDec::ET_NONE:
ttcn_buf.cut();
ttcn_buf.get_string(input_stream);
return 0;
case TTCN_EncDec::ET_INCOMPL_MSG:
case TTCN_EncDec::ET_LEN_ERR:
return 2;
default:
return 1;
}
}

OML__IE__L16V_template ts__OML__IE__L16V(const INTEGER_template& len, const OCTETSTRING_template& payload)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 555, TTCN_Location::LOCATION_TEMPLATE, "ts_OML_IE_L16V");
OML__IE__L16V_template ret_val;
ret_val.len() = len;
ret_val.payload() = payload;
return ret_val;
}

OML__IE__L16V_template tr__OML__IE__L16V(const INTEGER_template& len, const OCTETSTRING_template& payload)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 559, TTCN_Location::LOCATION_TEMPLATE, "tr_OML_IE_L16V");
OML__IE__L16V_template ret_val;
ret_val.len() = len;
ret_val.payload() = payload;
return ret_val;
}

OCTETSTRING enc__OML__PDU(const OML__PDU& msg)
{
if (TTCN_Logger::log_this_event(TTCN_Logger::DEBUG_ENCDEC)) {
TTCN_Logger::begin_event(TTCN_Logger::DEBUG_ENCDEC);
TTCN_Logger::log_event_str("enc_OML_PDU(): Encoding @AbisOML_Types.OML_PDU: ");
msg.log();
TTCN_Logger::end_event();
}
TTCN_EncDec::set_error_behavior(TTCN_EncDec::ET_ALL, TTCN_EncDec::EB_DEFAULT);
TTCN_Buffer ttcn_buffer;
msg.encode(OML__PDU_descr_, ttcn_buffer, TTCN_EncDec::CT_RAW, 0);
OCTETSTRING ret_val;
ttcn_buffer.get_string(ret_val);
if (TTCN_Logger::log_this_event(TTCN_Logger::DEBUG_ENCDEC)) {
TTCN_Logger::begin_event(TTCN_Logger::DEBUG_ENCDEC);
TTCN_Logger::log_event_str("enc_OML_PDU(): Stream after encoding: ");
ret_val.log();
TTCN_Logger::end_event();
}
return ret_val;
}

OML__PDU dec__OML__PDU(const OCTETSTRING& stream)
{
if (TTCN_Logger::log_this_event(TTCN_Logger::DEBUG_ENCDEC)) {
TTCN_Logger::begin_event(TTCN_Logger::DEBUG_ENCDEC);
TTCN_Logger::log_event_str("dec_OML_PDU(): Stream before decoding: ");
stream.log();
TTCN_Logger::end_event();
}
TTCN_EncDec::set_error_behavior(TTCN_EncDec::ET_ALL, TTCN_EncDec::EB_DEFAULT);
TTCN_EncDec::clear_error();
TTCN_Buffer ttcn_buffer(stream);
OML__PDU ret_val;
ret_val.decode(OML__PDU_descr_, ttcn_buffer, TTCN_EncDec::CT_RAW);
if (TTCN_Logger::log_this_event(TTCN_Logger::DEBUG_ENCDEC)) {
TTCN_Logger::begin_event(TTCN_Logger::DEBUG_ENCDEC);
TTCN_Logger::log_event_str("dec_OML_PDU(): Decoded @AbisOML_Types.OML_PDU: ");
ret_val.log();
TTCN_Logger::end_event();
}
if (TTCN_EncDec::get_last_error_type() == TTCN_EncDec::ET_NONE) {
if (ttcn_buffer.get_pos() < ttcn_buffer.get_len()) {
ttcn_buffer.cut();
OCTETSTRING tmp_os;
ttcn_buffer.get_string(tmp_os);
TTCN_Logger::begin_event_log2str();
tmp_os.log();
CHARSTRING remaining_stream = TTCN_Logger::end_event_log2str();
TTCN_EncDec_ErrorContext::error(TTCN_EncDec::ET_EXTRA_DATA, "dec_OML_PDU(): Data remained at the end of the stream after successful decoding: %s", (const char*) remaining_stream);
}
}
return ret_val;
}

OML__FOM__IE_template ts__OML__IE(const OML__FOM__IE__Type& iei, const OML__FOM__IE__Body_template& body)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 770, TTCN_Location::LOCATION_TEMPLATE, "ts_OML_IE");
OML__FOM__IE_template ret_val;
ret_val.iei() = iei;
ret_val.body() = body;
return ret_val;
}

OML__FOM__IE_template tr__OML__IE(const OML__FOM__IE__Type& , const OML__FOM__IE__Body_template& body)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 774, TTCN_Location::LOCATION_TEMPLATE, "tr_OML_IE");
OML__FOM__IE_template ret_val;
ret_val.iei() = ANY_VALUE;
ret_val.body() = body;
return ret_val;
}

OML__PDU_template tr__OML__MsgType(const OML__FOM__MessageType_template& msg__type, const OML__FOM__ObjectClass_template& obj__class, const OML__FOM__ObjectInstance_template& obj__inst, const OML__FOM__IE__List_template& ies)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 786, TTCN_Location::LOCATION_TEMPLATE, "tr_OML_MsgType");
OML__PDU_template ret_val(tr__OML__FOM__only);
{
OML__FOM_template& tmp_0 = ret_val.u().fom();
{
OML__FOM__Header_template& tmp_1 = tmp_0.hdr();
tmp_1.msg__type() = msg__type;
tmp_1.obj__class() = obj__class;
tmp_1.obj__inst() = obj__inst;
}
tmp_0.ies() = ies;
}
return ret_val;
}

OML__PDU_template ts__OML__MsgType(const OML__FOM__MessageType_template& msg__type, const OML__FOM__ObjectClass_template& obj__class, const OML__FOM__ObjectInstance_template& obj__inst, const OML__FOM__IE__List_template& ies)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 802, TTCN_Location::LOCATION_TEMPLATE, "ts_OML_MsgType");
OML__PDU_template ret_val;
ret_val.mdisc() = OML__MessageDiscriminator::ABIS__OM__MDISC__FOM;
ret_val.placement() = OML__Placement::ABIS__OM__PLACEMENT__ONLY;
ret_val.sequence() = 0;
{
OML__FOM_template& tmp_2 = ret_val.u().fom();
tmp_2.len() = 0;
tmp_2.hdr() = ts__OML__FomHeader(msg__type, obj__class, obj__inst);
tmp_2.ies() = ies;
}
return ret_val;
}

OML__FOM__Header_template ts__OML__FomHeader(const OML__FOM__MessageType_template& msg__type, const OML__FOM__ObjectClass_template& obj__class, const OML__FOM__ObjectInstance_template& obj__inst)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 819, TTCN_Location::LOCATION_TEMPLATE, "ts_OML_FomHeader");
OML__FOM__Header_template ret_val;
ret_val.msg__type() = msg__type;
ret_val.obj__class() = obj__class;
ret_val.obj__inst() = obj__inst;
return ret_val;
}

OML__FOM__Header_template tr__OML__FomHeader(const OML__FOM__MessageType_template& msg__type, const OML__FOM__ObjectClass_template& obj__class, const OML__FOM__ObjectInstance_template& obj__inst)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 826, TTCN_Location::LOCATION_TEMPLATE, "tr_OML_FomHeader");
OML__FOM__Header_template ret_val;
ret_val.msg__type() = msg__type;
ret_val.obj__class() = obj__class;
ret_val.obj__inst() = obj__inst;
return ret_val;
}

OML__FOM__ObjectInstance_template ts__OML__ObjectInstance(const INTEGER& bts, const INTEGER& trx, const INTEGER& ts)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 835, TTCN_Location::LOCATION_TEMPLATE, "ts_OML_ObjectInstance");
OML__FOM__ObjectInstance_template ret_val;
ret_val.bts__nr() = bts;
ret_val.trx__nr() = trx;
ret_val.ts__nr() = ts;
return ret_val;
}

OML__FOM__ObjectInstance_template tr__OML__ObjectInstance(const INTEGER_template& bts, const INTEGER_template& trx, const INTEGER_template& ts)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 840, TTCN_Location::LOCATION_TEMPLATE, "tr_OML_ObjectInstance");
OML__FOM__ObjectInstance_template ret_val;
ret_val.bts__nr() = bts;
ret_val.trx__nr() = trx;
ret_val.ts__nr() = ts;
return ret_val;
}

OML__PDU_template ts__OML__IPA__MsgType(const OML__FOM__MessageType_template& msg__type, const OML__FOM__ObjectClass_template& obj__class, const OML__FOM__ObjectInstance_template& obj__inst, const OML__FOM__IE__List_template& ies)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 849, TTCN_Location::LOCATION_TEMPLATE, "ts_OML_IPA_MsgType");
OML__PDU_template ret_val;
ret_val.mdisc() = OML__MessageDiscriminator::ABIS__OM__MDISC__MANUF;
ret_val.placement() = OML__Placement::ABIS__OM__PLACEMENT__ONLY;
ret_val.sequence() = 0;
{
OML__MANUF__IPA_template& tmp_3 = ret_val.u().manuf().ipa();
tmp_3.len() = 0;
tmp_3.str__len() = 13;
tmp_3.manuf__str() = cs_0;
tmp_3.hdr() = ts__OML__FomHeader(msg__type, obj__class, obj__inst);
tmp_3.ies() = ies;
}
return ret_val;
}

OML__PDU_template tr__OML__IPA__MsgType(const OML__FOM__MessageType_template& msg__type, const OML__FOM__ObjectClass_template& obj__class, const OML__FOM__ObjectInstance_template& obj__inst, const OML__FOM__IE__List_template& ies)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 868, TTCN_Location::LOCATION_TEMPLATE, "tr_OML_IPA_MsgType");
OML__PDU_template ret_val;
ret_val.mdisc() = OML__MessageDiscriminator::ABIS__OM__MDISC__MANUF;
ret_val.placement() = OML__Placement::ABIS__OM__PLACEMENT__ONLY;
ret_val.sequence() = 0;
{
OML__MANUF__IPA_template& tmp_4 = ret_val.u().manuf().ipa();
tmp_4.len() = ANY_VALUE;
tmp_4.str__len() = 13;
tmp_4.manuf__str() = cs_0;
tmp_4.hdr() = tr__OML__FomHeader(msg__type, obj__class, obj__inst);
tmp_4.ies() = ies;
}
return ret_val;
}

OML__PDU_template ts__OML__StateChgEvtRep(const OML__FOM__ObjectClass_template& obj__class, const OML__FOM__ObjectInstance_template& obj__inst, const OML__FOM__OperationalState_template& opstate, const OML__FOM__AvailabilityStatus_template& avstate)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 889, TTCN_Location::LOCATION_TEMPLATE, "ts_OML_StateChgEvtRep");
OML__PDU_template ret_val;
{
OML__FOM__IE__List_template tmp_5;
tmp_5.set_size(2);
{
OML__FOM__IE__Body_template tmp_6;
tmp_6.opstate() = opstate;
tmp_5[0] = ts__OML__IE(OML__FOM__IE__Type::NM__ATT__OPER__STATE, tmp_6);
}
{
OML__FOM__IE__Body_template tmp_7;
{
OML__IE__AvailStatus_template& tmp_8 = tmp_7.avail__status();
tmp_8.len() = 1;
tmp_8.avail__status() = avstate;
}
tmp_5[1] = ts__OML__IE(OML__FOM__IE__Type::NM__ATT__AVAIL__STATUS, tmp_7);
}
ret_val = ts__OML__MsgType(OML__FOM__MessageType_template(OML__FOM__MessageType::NM__MT__STATECHG__EVENT__REP), obj__class, obj__inst, tmp_5);
}
return ret_val;
}

OML__PDU_template tr__OML__StateChgEvtRep(const OML__FOM__ObjectClass_template& obj__class, const OML__FOM__ObjectInstance_template& obj__inst, const OML__FOM__OperationalState_template& opstate, const OML__FOM__AvailabilityStatus_template& avstate, const OML__FOM__AdministrativeState_template& admstate)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 897, TTCN_Location::LOCATION_TEMPLATE, "tr_OML_StateChgEvtRep");
OML__PDU_template ret_val;
{
OML__FOM__IE__List_template tmp_9;
tmp_9.set_size(3);
{
OML__FOM__IE__Body_template tmp_10;
tmp_10.opstate() = opstate;
tmp_9[0] = tr__OML__IE(OML__FOM__IE__Type::NM__ATT__OPER__STATE, tmp_10);
}
{
OML__FOM__IE__Body_template tmp_11;
{
OML__IE__AvailStatus_template& tmp_12 = tmp_11.avail__status();
tmp_12.len() = 1;
tmp_12.avail__status() = avstate;
}
tmp_9[1] = tr__OML__IE(OML__FOM__IE__Type::NM__ATT__AVAIL__STATUS, tmp_11);
}
{
OML__FOM__IE__Body_template tmp_13;
tmp_13.adm__state() = admstate;
tmp_9[2] = tr__OML__IE(OML__FOM__IE__Type::NM__ATT__ADM__STATE, tmp_13);
}
ret_val = tr__OML__MsgType(OML__FOM__MessageType_template(OML__FOM__MessageType::NM__MT__STATECHG__EVENT__REP), obj__class, obj__inst, tmp_9);
}
return ret_val;
}

OML__PDU_template ts__OML__FailureEvtRep(const OML__FOM__ObjectClass_template& obj__class, const OML__FOM__ObjectInstance_template& obj__inst, const OML__FOM__EventType_template& evt__type, const OML__FOM__Severity_template& severity, const OML__FOM__ProbableCause_template& cause)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 909, TTCN_Location::LOCATION_TEMPLATE, "ts_OML_FailureEvtRep");
OML__PDU_template ret_val;
{
OML__FOM__IE__List_template tmp_14;
tmp_14.set_size(3);
{
OML__FOM__IE__Body_template tmp_15;
tmp_15.event__type() = evt__type;
tmp_14[0] = ts__OML__IE(OML__FOM__IE__Type::NM__ATT__EVENT__TYPE, tmp_15);
}
{
OML__FOM__IE__Body_template tmp_16;
tmp_16.severity() = severity;
tmp_14[1] = ts__OML__IE(OML__FOM__IE__Type::NM__ATT__SEVERITY, tmp_16);
}
{
OML__FOM__IE__Body_template tmp_17;
tmp_17.prob__cause() = cause;
tmp_14[2] = ts__OML__IE(OML__FOM__IE__Type::NM__ATT__PROB__CAUSE, tmp_17);
}
ret_val = ts__OML__MsgType(OML__FOM__MessageType_template(OML__FOM__MessageType::NM__MT__FAILURE__EVENT__REP), obj__class, obj__inst, tmp_14);
}
return ret_val;
}

OML__PDU_template tr__OML__FailureEvtRep(const OML__FOM__ObjectClass_template& obj__class, const OML__FOM__ObjectInstance_template& obj__inst, const OML__FOM__EventType_template& evt__type, const OML__FOM__Severity_template& severity, const OML__FOM__ProbableCause_template& cause)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 919, TTCN_Location::LOCATION_TEMPLATE, "tr_OML_FailureEvtRep");
OML__PDU_template ret_val;
{
OML__FOM__IE__List_template tmp_18;
tmp_18.set_size(4);
{
OML__FOM__IE__Body_template tmp_19;
tmp_19.event__type() = evt__type;
tmp_18[0] = tr__OML__IE(OML__FOM__IE__Type::NM__ATT__EVENT__TYPE, tmp_19);
}
{
OML__FOM__IE__Body_template tmp_20;
tmp_20.severity() = severity;
tmp_18[1] = tr__OML__IE(OML__FOM__IE__Type::NM__ATT__SEVERITY, tmp_20);
}
{
OML__FOM__IE__Body_template tmp_21;
tmp_21.prob__cause() = cause;
tmp_18[2] = tr__OML__IE(OML__FOM__IE__Type::NM__ATT__PROB__CAUSE, tmp_21);
}
tmp_18[3] = ANY_OR_OMIT;
ret_val = tr__OML__MsgType(OML__FOM__MessageType_template(OML__FOM__MessageType::NM__MT__FAILURE__EVENT__REP), obj__class, obj__inst, tmp_18);
}
return ret_val;
}

OML__PDU_template ts__OML__ChangeAdmState(const OML__FOM__ObjectClass_template& obj__class, const OML__FOM__ObjectInstance_template& obj__inst, const OML__FOM__AdministrativeState_template& adm__st)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 932, TTCN_Location::LOCATION_TEMPLATE, "ts_OML_ChangeAdmState");
OML__PDU_template ret_val;
{
OML__FOM__IE__List_template tmp_22;
tmp_22.set_size(1);
{
OML__FOM__IE__Body_template tmp_23;
tmp_23.adm__state() = adm__st;
tmp_22[0] = ts__OML__IE(OML__FOM__IE__Type::NM__ATT__ADM__STATE, tmp_23);
}
ret_val = ts__OML__MsgType(OML__FOM__MessageType_template(OML__FOM__MessageType::NM__MT__CHG__ADM__STATE), obj__class, obj__inst, tmp_22);
}
return ret_val;
}

OML__PDU_template tr__OML__ChangeAdmState(const OML__FOM__ObjectClass_template& obj__class, const OML__FOM__ObjectInstance_template& obj__inst, const OML__FOM__AdministrativeState_template& adm__st)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 938, TTCN_Location::LOCATION_TEMPLATE, "tr_OML_ChangeAdmState");
OML__PDU_template ret_val;
{
OML__FOM__IE__List_template tmp_24;
tmp_24.set_size(1);
{
OML__FOM__IE__Body_template tmp_25;
tmp_25.adm__state() = adm__st;
tmp_24[0] = tr__OML__IE(OML__FOM__IE__Type::NM__ATT__ADM__STATE, tmp_25);
}
ret_val = tr__OML__MsgType(OML__FOM__MessageType_template(OML__FOM__MessageType::NM__MT__CHG__ADM__STATE), obj__class, obj__inst, tmp_24);
}
return ret_val;
}

OML__PDU_template ts__OML__ChangeAdmStateACK(const OML__FOM__ObjectClass_template& obj__class, const OML__FOM__ObjectInstance_template& obj__inst, const OML__FOM__AdministrativeState_template& adm__st)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 945, TTCN_Location::LOCATION_TEMPLATE, "ts_OML_ChangeAdmStateACK");
OML__PDU_template ret_val;
{
OML__FOM__IE__List_template tmp_26;
tmp_26.set_size(1);
{
OML__FOM__IE__Body_template tmp_27;
tmp_27.adm__state() = adm__st;
tmp_26[0] = ts__OML__IE(OML__FOM__IE__Type::NM__ATT__ADM__STATE, tmp_27);
}
ret_val = ts__OML__MsgType(OML__FOM__MessageType_template(OML__FOM__MessageType::NM__MT__CHG__ADM__STATE__ACK), obj__class, obj__inst, tmp_26);
}
return ret_val;
}

OML__PDU_template tr__OML__ChangeAdmStateACK(const OML__FOM__ObjectClass_template& obj__class, const OML__FOM__ObjectInstance_template& obj__inst, const OML__FOM__AdministrativeState_template& adm__st)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 951, TTCN_Location::LOCATION_TEMPLATE, "tr_OML_ChangeAdmStateACK");
OML__PDU_template ret_val;
{
OML__FOM__IE__List_template tmp_28;
tmp_28.set_size(1);
{
OML__FOM__IE__Body_template tmp_29;
tmp_29.adm__state() = adm__st;
tmp_28[0] = tr__OML__IE(OML__FOM__IE__Type::NM__ATT__ADM__STATE, tmp_29);
}
ret_val = tr__OML__MsgType(OML__FOM__MessageType_template(OML__FOM__MessageType::NM__MT__CHG__ADM__STATE__ACK), obj__class, obj__inst, tmp_28);
}
return ret_val;
}

OML__PDU_template ts__OML__ChangeAdmStateNACK(const OML__FOM__ObjectClass_template& obj__class, const OML__FOM__ObjectInstance_template& obj__inst, const OML__FOM__NackCause_template& cause)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 957, TTCN_Location::LOCATION_TEMPLATE, "ts_OML_ChangeAdmStateNACK");
OML__PDU_template ret_val;
{
OML__FOM__IE__List_template tmp_30;
tmp_30.set_size(1);
{
OML__FOM__IE__Body_template tmp_31;
tmp_31.nack__causes() = cause;
tmp_30[0] = ts__OML__IE(OML__FOM__IE__Type::NM__ATT__NACK__CAUSES, tmp_31);
}
ret_val = ts__OML__MsgType(OML__FOM__MessageType_template(OML__FOM__MessageType::NM__MT__CHG__ADM__STATE__NACK), obj__class, obj__inst, tmp_30);
}
return ret_val;
}

OML__PDU_template tr__OML__ChangeAdmStateNACK(const OML__FOM__ObjectClass_template& obj__class, const OML__FOM__ObjectInstance_template& obj__inst, const OML__FOM__NackCause_template& cause)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 963, TTCN_Location::LOCATION_TEMPLATE, "tr_OML_ChangeAdmStateNACK");
OML__PDU_template ret_val;
{
OML__FOM__IE__List_template tmp_32;
tmp_32.set_size(2);
tmp_32[0] = ANY_OR_OMIT;
{
OML__FOM__IE__Body_template tmp_33;
tmp_33.nack__causes() = cause;
tmp_32[1] = tr__OML__IE(OML__FOM__IE__Type::NM__ATT__NACK__CAUSES, tmp_33);
}
ret_val = tr__OML__MsgType(OML__FOM__MessageType_template(OML__FOM__MessageType::NM__MT__CHG__ADM__STATE__NACK), obj__class, obj__inst, tmp_32);
}
return ret_val;
}

OML__PDU_template ts__OML__Opstart(const OML__FOM__ObjectClass_template& obj__class, const OML__FOM__ObjectInstance_template& obj__inst)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 976, TTCN_Location::LOCATION_TEMPLATE, "ts_OML_Opstart");
OML__PDU_template ret_val;
ret_val = ts__OML__MsgType(OML__FOM__MessageType_template(OML__FOM__MessageType::NM__MT__OPSTART), obj__class, obj__inst, ts__OML__MsgType_ies_defval);
return ret_val;
}

OML__PDU_template tr__OML__Opstart(const OML__FOM__ObjectClass_template& obj__class, const OML__FOM__ObjectInstance_template& obj__inst)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 979, TTCN_Location::LOCATION_TEMPLATE, "tr_OML_Opstart");
OML__PDU_template ret_val;
ret_val = tr__OML__MsgType(OML__FOM__MessageType_template(OML__FOM__MessageType::NM__MT__OPSTART), obj__class, obj__inst, tr__OML__MsgType_ies_defval);
return ret_val;
}

OML__PDU_template ts__OML__OpstartACK(const OML__FOM__ObjectClass_template& obj__class, const OML__FOM__ObjectInstance_template& obj__inst)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 983, TTCN_Location::LOCATION_TEMPLATE, "ts_OML_OpstartACK");
OML__PDU_template ret_val;
ret_val = ts__OML__MsgType(OML__FOM__MessageType_template(OML__FOM__MessageType::NM__MT__OPSTART__ACK), obj__class, obj__inst, ts__OML__MsgType_ies_defval);
return ret_val;
}

OML__PDU_template tr__OML__OpstartACK(const OML__FOM__ObjectClass_template& obj__class, const OML__FOM__ObjectInstance_template& obj__inst)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 986, TTCN_Location::LOCATION_TEMPLATE, "tr_OML_OpstartACK");
OML__PDU_template ret_val;
ret_val = tr__OML__MsgType(OML__FOM__MessageType_template(OML__FOM__MessageType::NM__MT__OPSTART__ACK), obj__class, obj__inst, tr__OML__MsgType_ies_defval);
return ret_val;
}

OML__PDU_template ts__OML__OpstartNACK(const OML__FOM__ObjectClass_template& obj__class, const OML__FOM__ObjectInstance_template& obj__inst, const OML__FOM__NackCause_template& cause)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 990, TTCN_Location::LOCATION_TEMPLATE, "ts_OML_OpstartNACK");
OML__PDU_template ret_val;
{
OML__FOM__IE__List_template tmp_34;
tmp_34.set_size(1);
{
OML__FOM__IE__Body_template tmp_35;
tmp_35.nack__causes() = cause;
tmp_34[0] = ts__OML__IE(OML__FOM__IE__Type::NM__ATT__NACK__CAUSES, tmp_35);
}
ret_val = ts__OML__MsgType(OML__FOM__MessageType_template(OML__FOM__MessageType::NM__MT__OPSTART__NACK), obj__class, obj__inst, tmp_34);
}
return ret_val;
}

OML__PDU_template tr__OML__OpstartNACK(const OML__FOM__ObjectClass_template& obj__class, const OML__FOM__ObjectInstance_template& obj__inst, const OML__FOM__NackCause_template& cause)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 996, TTCN_Location::LOCATION_TEMPLATE, "tr_OML_OpstartNACK");
OML__PDU_template ret_val;
{
OML__FOM__IE__List_template tmp_36;
tmp_36.set_size(1);
{
OML__FOM__IE__Body_template tmp_37;
tmp_37.nack__causes() = cause;
tmp_36[0] = tr__OML__IE(OML__FOM__IE__Type::NM__ATT__NACK__CAUSES, tmp_37);
}
ret_val = tr__OML__MsgType(OML__FOM__MessageType_template(OML__FOM__MessageType::NM__MT__OPSTART__NACK), obj__class, obj__inst, tmp_36);
}
return ret_val;
}

OML__PDU_template ts__OML__SwActReq(const OML__FOM__ObjectClass_template& obj__class, const OML__FOM__ObjectInstance_template& obj__inst, const OCTETSTRING_template& hw__config, const OCTETSTRING_template& sw__config)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 1004, TTCN_Location::LOCATION_TEMPLATE, "ts_OML_SwActReq");
OML__PDU_template ret_val;
{
OML__FOM__IE__List_template tmp_38;
tmp_38.set_size(2);
{
OML__FOM__IE__Body_template tmp_39;
tmp_39.other() = ts__OML__IE__L16V(INTEGER_template(0), hw__config);
tmp_38[0] = ts__OML__IE(OML__FOM__IE__Type::NM__ATT__HW__CONFIG, tmp_39);
}
{
OML__FOM__IE__Body_template tmp_40;
tmp_40.other() = ts__OML__IE__L16V(INTEGER_template(0), sw__config);
tmp_38[1] = ts__OML__IE(OML__FOM__IE__Type::NM__ATT__SW__CONFIG, tmp_40);
}
ret_val = ts__OML__MsgType(OML__FOM__MessageType_template(OML__FOM__MessageType::NM__MT__SW__ACT__REQ), obj__class, obj__inst, tmp_38);
}
return ret_val;
}

OML__PDU_template tr__OML__SwActReq(const OML__FOM__ObjectClass_template& obj__class, const OML__FOM__ObjectInstance_template& obj__inst, const OCTETSTRING_template& hw__config, const OCTETSTRING_template& sw__config)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 1012, TTCN_Location::LOCATION_TEMPLATE, "tr_OML_SwActReq");
OML__PDU_template ret_val;
{
OML__FOM__IE__List_template tmp_41;
tmp_41.set_size(2);
{
OML__FOM__IE__Body_template tmp_42;
tmp_42.other() = tr__OML__IE__L16V(INTEGER_template(ANY_VALUE), hw__config);
tmp_41[0] = tr__OML__IE(OML__FOM__IE__Type::NM__ATT__HW__CONFIG, tmp_42);
}
{
OML__FOM__IE__Body_template tmp_43;
tmp_43.other() = tr__OML__IE__L16V(INTEGER_template(ANY_VALUE), sw__config);
tmp_41[1] = tr__OML__IE(OML__FOM__IE__Type::NM__ATT__SW__CONFIG, tmp_43);
}
ret_val = tr__OML__MsgType(OML__FOM__MessageType_template(OML__FOM__MessageType::NM__MT__SW__ACT__REQ), obj__class, obj__inst, tmp_41);
}
return ret_val;
}

OML__PDU_template ts__OML__SwActReqACK(const OML__FOM__ObjectClass_template& obj__class, const OML__FOM__ObjectInstance_template& obj__inst, const OCTETSTRING_template& hw__config, const OCTETSTRING_template& sw__config)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 1021, TTCN_Location::LOCATION_TEMPLATE, "ts_OML_SwActReqACK");
OML__PDU_template ret_val;
{
OML__FOM__IE__List_template tmp_44;
tmp_44.set_size(2);
{
OML__FOM__IE__Body_template tmp_45;
tmp_45.other() = ts__OML__IE__L16V(INTEGER_template(0), hw__config);
tmp_44[0] = ts__OML__IE(OML__FOM__IE__Type::NM__ATT__HW__CONFIG, tmp_45);
}
{
OML__FOM__IE__Body_template tmp_46;
tmp_46.other() = ts__OML__IE__L16V(INTEGER_template(0), sw__config);
tmp_44[1] = ts__OML__IE(OML__FOM__IE__Type::NM__ATT__SW__CONFIG, tmp_46);
}
ret_val = ts__OML__MsgType(OML__FOM__MessageType_template(OML__FOM__MessageType::NM__MT__SW__ACT__REQ__ACK), obj__class, obj__inst, tmp_44);
}
return ret_val;
}

OML__PDU_template tr__OML__SwActReqACK(const OML__FOM__ObjectClass_template& obj__class, const OML__FOM__ObjectInstance_template& obj__inst, const OCTETSTRING_template& hw__config, const OCTETSTRING_template& sw__config)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 1029, TTCN_Location::LOCATION_TEMPLATE, "tr_OML_SwActReqACK");
OML__PDU_template ret_val;
{
OML__FOM__IE__List_template tmp_47;
tmp_47.set_size(2);
{
OML__FOM__IE__Body_template tmp_48;
tmp_48.other() = tr__OML__IE__L16V(INTEGER_template(ANY_VALUE), hw__config);
tmp_47[0] = tr__OML__IE(OML__FOM__IE__Type::NM__ATT__HW__CONFIG, tmp_48);
}
{
OML__FOM__IE__Body_template tmp_49;
tmp_49.other() = tr__OML__IE__L16V(INTEGER_template(ANY_VALUE), sw__config);
tmp_47[1] = tr__OML__IE(OML__FOM__IE__Type::NM__ATT__SW__CONFIG, tmp_49);
}
ret_val = tr__OML__MsgType(OML__FOM__MessageType_template(OML__FOM__MessageType::NM__MT__SW__ACT__REQ__ACK), obj__class, obj__inst, tmp_47);
}
return ret_val;
}

OML__PDU_template ts__OML__ActivateSw(const OML__FOM__ObjectClass_template& obj__class, const OML__FOM__ObjectInstance_template& obj__inst, const OCTETSTRING_template& file__id, const OCTETSTRING_template& sw__desc)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 1039, TTCN_Location::LOCATION_TEMPLATE, "ts_OML_ActivateSw");
OML__PDU_template ret_val;
{
OML__FOM__IE__List_template tmp_50;
tmp_50.set_size(2);
{
OML__FOM__IE__Body_template tmp_51;
tmp_51.other() = ts__OML__IE__L16V(INTEGER_template(0), file__id);
tmp_50[0] = ts__OML__IE(OML__FOM__IE__Type::NM__ATT__FILE__ID, tmp_51);
}
{
OML__FOM__IE__Body_template tmp_52;
tmp_52.other() = ts__OML__IE__L16V(INTEGER_template(0), sw__desc);
tmp_50[1] = ts__OML__IE(OML__FOM__IE__Type::NM__ATT__SW__DESCR, tmp_52);
}
ret_val = ts__OML__MsgType(OML__FOM__MessageType_template(OML__FOM__MessageType::NM__MT__ACTIVATE__SW), obj__class, obj__inst, tmp_50);
}
return ret_val;
}

OML__PDU_template tr__OML__ActivateSw(const OML__FOM__ObjectClass_template& obj__class, const OML__FOM__ObjectInstance_template& obj__inst, const OCTETSTRING_template& file__id, const OCTETSTRING_template& sw__desc)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 1047, TTCN_Location::LOCATION_TEMPLATE, "tr_OML_ActivateSw");
OML__PDU_template ret_val;
{
OML__FOM__IE__List_template tmp_53;
tmp_53.set_size(2);
{
OML__FOM__IE__Body_template tmp_54;
tmp_54.other() = tr__OML__IE__L16V(INTEGER_template(ANY_VALUE), file__id);
tmp_53[0] = tr__OML__IE(OML__FOM__IE__Type::NM__ATT__FILE__ID, tmp_54);
}
{
OML__FOM__IE__Body_template tmp_55;
tmp_55.other() = tr__OML__IE__L16V(INTEGER_template(ANY_VALUE), sw__desc);
tmp_53[1] = tr__OML__IE(OML__FOM__IE__Type::NM__ATT__SW__DESCR, tmp_55);
}
ret_val = tr__OML__MsgType(OML__FOM__MessageType_template(OML__FOM__MessageType::NM__MT__ACTIVATE__SW), obj__class, obj__inst, tmp_53);
}
return ret_val;
}

OML__PDU_template ts__OML__ActivateSwACK(const OML__FOM__ObjectClass_template& obj__class, const OML__FOM__ObjectInstance_template& obj__inst, const OCTETSTRING_template& file__id, const OCTETSTRING_template& sw__desc)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 1056, TTCN_Location::LOCATION_TEMPLATE, "ts_OML_ActivateSwACK");
OML__PDU_template ret_val;
{
OML__FOM__IE__List_template tmp_56;
tmp_56.set_size(2);
{
OML__FOM__IE__Body_template tmp_57;
tmp_57.other() = ts__OML__IE__L16V(INTEGER_template(0), file__id);
tmp_56[0] = ts__OML__IE(OML__FOM__IE__Type::NM__ATT__FILE__ID, tmp_57);
}
{
OML__FOM__IE__Body_template tmp_58;
tmp_58.other() = ts__OML__IE__L16V(INTEGER_template(0), sw__desc);
tmp_56[1] = ts__OML__IE(OML__FOM__IE__Type::NM__ATT__SW__DESCR, tmp_58);
}
ret_val = ts__OML__MsgType(OML__FOM__MessageType_template(OML__FOM__MessageType::NM__MT__ACTIVATE__SW__ACK), obj__class, obj__inst, tmp_56);
}
return ret_val;
}

OML__PDU_template tr__OML__ActivateSwACK(const OML__FOM__ObjectClass_template& obj__class, const OML__FOM__ObjectInstance_template& obj__inst, const OCTETSTRING_template& file__id, const OCTETSTRING_template& sw__desc)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 1064, TTCN_Location::LOCATION_TEMPLATE, "tr_OML_ActivateSwACK");
OML__PDU_template ret_val;
{
OML__FOM__IE__List_template tmp_59;
tmp_59.set_size(2);
{
OML__FOM__IE__Body_template tmp_60;
tmp_60.other() = tr__OML__IE__L16V(INTEGER_template(ANY_VALUE), file__id);
tmp_59[0] = tr__OML__IE(OML__FOM__IE__Type::NM__ATT__FILE__ID, tmp_60);
}
{
OML__FOM__IE__Body_template tmp_61;
tmp_61.other() = tr__OML__IE__L16V(INTEGER_template(ANY_VALUE), sw__desc);
tmp_59[1] = tr__OML__IE(OML__FOM__IE__Type::NM__ATT__SW__DESCR, tmp_61);
}
ret_val = tr__OML__MsgType(OML__FOM__MessageType_template(OML__FOM__MessageType::NM__MT__ACTIVATE__SW__ACK), obj__class, obj__inst, tmp_59);
}
return ret_val;
}

OML__PDU_template ts__OML__SwActivatedRep(const OML__FOM__ObjectClass_template& obj__class, const OML__FOM__ObjectInstance_template& obj__inst)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 1074, TTCN_Location::LOCATION_TEMPLATE, "ts_OML_SwActivatedRep");
OML__PDU_template ret_val;
ret_val = ts__OML__MsgType(OML__FOM__MessageType_template(OML__FOM__MessageType::NM__MT__SW__ACTIVATED__REP), obj__class, obj__inst, OML__FOM__IE__List_template(NULL_VALUE));
return ret_val;
}

OML__PDU_template tr__OML__SwActivatedRep(const OML__FOM__ObjectClass_template& obj__class, const OML__FOM__ObjectInstance_template& obj__inst)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 1077, TTCN_Location::LOCATION_TEMPLATE, "tr_OML_SwActivatedRep");
OML__PDU_template ret_val;
ret_val = tr__OML__MsgType(OML__FOM__MessageType_template(OML__FOM__MessageType::NM__MT__SW__ACTIVATED__REP), obj__class, obj__inst, OML__FOM__IE__List_template(ANY_OR_OMIT));
return ret_val;
}

OML__PDU_template ts__OML__SetBtsAttr(const OML__FOM__ObjectInstance_template& obj__inst, const OML__FOM__IE__List_template& ies)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 1083, TTCN_Location::LOCATION_TEMPLATE, "ts_OML_SetBtsAttr");
OML__PDU_template ret_val;
ret_val = ts__OML__MsgType(OML__FOM__MessageType_template(OML__FOM__MessageType::NM__MT__SET__BTS__ATTR), OML__FOM__ObjectClass_template(OML__FOM__ObjectClass::NM__OC__BTS), obj__inst, ies);
return ret_val;
}

OML__PDU_template tr__OML__SetBtsAttr(const OML__FOM__ObjectInstance_template& obj__inst, const OML__FOM__IE__List_template& ies)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 1086, TTCN_Location::LOCATION_TEMPLATE, "tr_OML_SetBtsAttr");
OML__PDU_template ret_val;
ret_val = tr__OML__MsgType(OML__FOM__MessageType_template(OML__FOM__MessageType::NM__MT__SET__BTS__ATTR), OML__FOM__ObjectClass_template(OML__FOM__ObjectClass::NM__OC__BTS), obj__inst, ies);
return ret_val;
}

OML__PDU_template ts__OML__SetRadioAttr(const OML__FOM__ObjectInstance_template& obj__inst, const INTEGER_template& maxpwr__r, const OML__ArfcnList_template& arfcn__list)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 1092, TTCN_Location::LOCATION_TEMPLATE, "ts_OML_SetRadioAttr");
OML__PDU_template ret_val;
{
OML__FOM__IE__List_template tmp_62;
tmp_62.set_size(2);
{
OML__FOM__IE__Body_template tmp_63;
tmp_63.rf__maxpwr__r() = maxpwr__r;
tmp_62[0] = ts__OML__IE(OML__FOM__IE__Type::NM__ATT__RF__MAXPOWR__R, tmp_63);
}
{
OML__FOM__IE__Body_template tmp_64;
{
OML__IE__ArfcnList_template& tmp_65 = tmp_64.arfcn__list();
tmp_65.len() = 0;
tmp_65.arfcn__list() = arfcn__list;
}
tmp_62[1] = ts__OML__IE(OML__FOM__IE__Type::NM__ATT__ARFCN__LIST, tmp_64);
}
ret_val = ts__OML__MsgType(OML__FOM__MessageType_template(OML__FOM__MessageType::NM__MT__SET__RADIO__ATTR), OML__FOM__ObjectClass_template(OML__FOM__ObjectClass::NM__OC__RADIO__CARRIER), obj__inst, tmp_62);
}
return ret_val;
}

OML__PDU_template tr__OML__SetRadioAttr(const OML__FOM__ObjectInstance_template& obj__inst, const INTEGER_template& maxpwr__r, const OML__ArfcnList_template& arfcn__list)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 1099, TTCN_Location::LOCATION_TEMPLATE, "tr_OML_SetRadioAttr");
OML__PDU_template ret_val;
{
OML__FOM__IE__List_template tmp_66;
tmp_66.set_size(2);
{
OML__FOM__IE__Body_template tmp_67;
tmp_67.rf__maxpwr__r() = maxpwr__r;
tmp_66[0] = tr__OML__IE(OML__FOM__IE__Type::NM__ATT__RF__MAXPOWR__R, tmp_67);
}
{
OML__FOM__IE__Body_template tmp_68;
{
OML__IE__ArfcnList_template& tmp_69 = tmp_68.arfcn__list();
tmp_69.len() = 0;
tmp_69.arfcn__list() = arfcn__list;
}
tmp_66[1] = tr__OML__IE(OML__FOM__IE__Type::NM__ATT__ARFCN__LIST, tmp_68);
}
ret_val = tr__OML__MsgType(OML__FOM__MessageType_template(OML__FOM__MessageType::NM__MT__SET__RADIO__ATTR), OML__FOM__ObjectClass_template(OML__FOM__ObjectClass::NM__OC__RADIO__CARRIER), obj__inst, tmp_66);
}
return ret_val;
}

OML__PDU_template ts__OML__SetChanAttr(const OML__FOM__ObjectInstance_template& obj__inst, const OML__ChannelCombination_template& chan__comb, const INTEGER_template& tsc)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 1109, TTCN_Location::LOCATION_TEMPLATE, "ts_OML_SetChanAttr");
OML__PDU_template ret_val;
{
OML__FOM__IE__List_template tmp_70;
tmp_70.set_size(2);
{
OML__FOM__IE__Body_template tmp_71;
tmp_71.chan__comb() = chan__comb;
tmp_70[0] = ts__OML__IE(OML__FOM__IE__Type::NM__ATT__CHAN__COMB, tmp_71);
}
{
OML__FOM__IE__Body_template tmp_72;
tmp_72.tsc() = tsc;
tmp_70[1] = ts__OML__IE(OML__FOM__IE__Type::NM__ATT__TSC, tmp_72);
}
ret_val = ts__OML__MsgType(OML__FOM__MessageType_template(OML__FOM__MessageType::NM__MT__SET__CHAN__ATTR), OML__FOM__ObjectClass_template(OML__FOM__ObjectClass::NM__OC__CHANNEL), obj__inst, tmp_70);
}
return ret_val;
}

OML__PDU_template tr__OML__SetChanAttr(const OML__FOM__ObjectInstance_template& obj__inst, const OML__ChannelCombination_template& chan__comb, const INTEGER_template& tsc)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 1116, TTCN_Location::LOCATION_TEMPLATE, "tr_OML_SetChanAttr");
OML__PDU_template ret_val;
{
OML__FOM__IE__List_template tmp_73;
tmp_73.set_size(3);
{
OML__FOM__IE__Body_template tmp_74;
tmp_74.chan__comb() = chan__comb;
tmp_73[0] = tr__OML__IE(OML__FOM__IE__Type::NM__ATT__CHAN__COMB, tmp_74);
}
tmp_73[1] = ANY_OR_OMIT;
{
OML__FOM__IE__Body_template tmp_75;
tmp_75.tsc() = tsc;
tmp_73[2] = tr__OML__IE(OML__FOM__IE__Type::NM__ATT__TSC, tmp_75);
}
ret_val = tr__OML__MsgType(OML__FOM__MessageType_template(OML__FOM__MessageType::NM__MT__SET__CHAN__ATTR), OML__FOM__ObjectClass_template(OML__FOM__ObjectClass::NM__OC__CHANNEL), obj__inst, tmp_73);
}
return ret_val;
}

OML__PDU_template ts__OML__GetAttributes(const OML__FOM__ObjectClass_template& obj__class, const OML__FOM__ObjectInstance_template& obj__inst, const OCTETSTRING_template& req__attr)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 1127, TTCN_Location::LOCATION_TEMPLATE, "ts_OML_GetAttributes");
OML__PDU_template ret_val;
{
OML__FOM__IE__List_template tmp_76;
tmp_76.set_size(1);
{
OML__FOM__IE__Body_template tmp_77;
tmp_77.other() = ts__OML__IE__L16V(INTEGER_template(0), req__attr);
tmp_76[0] = ts__OML__IE(OML__FOM__IE__Type::NM__ATT__LIST__REQ__ATTR, tmp_77);
}
ret_val = ts__OML__MsgType(OML__FOM__MessageType_template(OML__FOM__MessageType::NM__MT__GET__ATTR), obj__class, obj__inst, tmp_76);
}
return ret_val;
}

OML__PDU_template tr__OML__GetAttributes(const OML__FOM__ObjectClass_template& obj__class, const OML__FOM__ObjectInstance_template& obj__inst, const OCTETSTRING_template& req__attr)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 1133, TTCN_Location::LOCATION_TEMPLATE, "tr_OML_GetAttributes");
OML__PDU_template ret_val;
{
OML__FOM__IE__List_template tmp_78;
tmp_78.set_size(1);
{
OML__FOM__IE__Body_template tmp_79;
tmp_79.other() = tr__OML__IE__L16V(INTEGER_template(ANY_VALUE), req__attr);
tmp_78[0] = tr__OML__IE(OML__FOM__IE__Type::NM__ATT__LIST__REQ__ATTR, tmp_79);
}
ret_val = tr__OML__MsgType(OML__FOM__MessageType_template(OML__FOM__MessageType::NM__MT__GET__ATTR), obj__class, obj__inst, tmp_78);
}
return ret_val;
}

OML__PDU_template ts__OML__GetAttributesResponse(const OML__FOM__ObjectClass_template& obj__class, const OML__FOM__ObjectInstance_template& obj__inst, const OCTETSTRING_template& req__attr)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 1141, TTCN_Location::LOCATION_TEMPLATE, "ts_OML_GetAttributesResponse");
OML__PDU_template ret_val;
{
OML__FOM__IE__List_template tmp_80;
tmp_80.set_size(1);
{
OML__FOM__IE__Body_template tmp_81;
tmp_81.other() = ts__OML__IE__L16V(INTEGER_template(0), req__attr);
tmp_80[0] = ts__OML__IE(OML__FOM__IE__Type::NM__ATT__GET__ARI, tmp_81);
}
ret_val = ts__OML__MsgType(OML__FOM__MessageType_template(OML__FOM__MessageType::NM__MT__GET__ATTR__RESP), obj__class, obj__inst, tmp_80);
}
return ret_val;
}

OML__PDU_template tr__OML__GetAttributesResponse(const OML__FOM__ObjectClass_template& obj__class, const OML__FOM__ObjectInstance_template& obj__inst, const OML__FOM__ARI_template& ari)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 1147, TTCN_Location::LOCATION_TEMPLATE, "tr_OML_GetAttributesResponse");
OML__PDU_template ret_val;
{
OML__FOM__IE__List_template tmp_82;
tmp_82.set_size(1);
{
OML__FOM__IE__Body_template tmp_83;
tmp_83.ari() = ari;
tmp_82[0] = tr__OML__IE(OML__FOM__IE__Type::NM__ATT__GET__ARI, tmp_83);
}
ret_val = tr__OML__MsgType(OML__FOM__MessageType_template(OML__FOM__MessageType::NM__MT__GET__ATTR__RESP), obj__class, obj__inst, tmp_82);
}
return ret_val;
}

OML__PDU f__OML__make__ack(const OML__PDU& orig)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 1155, TTCN_Location::LOCATION_FUNCTION, "f_OML_make_ack");
current_location.update_lineno(1156);
/* AbisOML_Types.ttcn, line 1156 */
OML__PDU resp(orig);
current_location.update_lineno(1157);
/* AbisOML_Types.ttcn, line 1157 */
{
boolean tmp_87;
{
boolean tmp_84 = resp.is_bound();
if(tmp_84) {
const OML__PDU& tmp_85 = resp;
const OML__Union& tmp_86 = tmp_85.u();
tmp_84 = tmp_86.is_bound();
if (tmp_84) {
tmp_84 = tmp_86.ischosen(OML__Union::ALT_fom);
}
}
tmp_87 = tmp_84;
}
if (tmp_87) {
current_location.update_lineno(1158);
/* AbisOML_Types.ttcn, line 1158 */
resp.u().fom().hdr().msg__type().int2enum((OML__FOM__MessageType::enum2int(const_cast< const OML__PDU&>(orig).u().fom().hdr().msg__type()) + 1));
}
else {
current_location.update_lineno(1159);
/* AbisOML_Types.ttcn, line 1159 */
boolean tmp_91;
{
boolean tmp_88 = resp.is_bound();
if(tmp_88) {
const OML__PDU& tmp_89 = resp;
const OML__Union& tmp_90 = tmp_89.u();
tmp_88 = tmp_90.is_bound();
if (tmp_88) {
tmp_88 = tmp_90.ischosen(OML__Union::ALT_manuf);
}
}
tmp_91 = tmp_88;
}
if (tmp_91) {
current_location.update_lineno(1160);
/* AbisOML_Types.ttcn, line 1160 */
resp.u().manuf().ipa().hdr().msg__type().int2enum((OML__FOM__MessageType::enum2int(const_cast< const OML__PDU&>(orig).u().manuf().ipa().hdr().msg__type()) + 1));
}
else {
current_location.update_lineno(1162);
/* AbisOML_Types.ttcn, line 1162 */
try {
TTCN_Logger::begin_event(TTCN_USER);
TTCN_Logger::log_event_str("Unsupported OML in f_OML_make_ack(): ");
orig.log();
TTCN_Logger::end_event();
} catch (...) {
TTCN_Logger::finish_event();
throw;
}
TTCN_error("testcase.stop");
}
}
}
current_location.update_lineno(1164);
/* AbisOML_Types.ttcn, line 1164 */
return resp;
}

OML__PDU_template f__OML__make__ack__exp(const OML__PDU& orig)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 1166, TTCN_Location::LOCATION_FUNCTION, "f_OML_make_ack_exp");
current_location.update_lineno(1167);
/* AbisOML_Types.ttcn, line 1167 */
OML__PDU_template resp(orig);
current_location.update_lineno(1168);
/* AbisOML_Types.ttcn, line 1168 */
OML__FOM__MessageType msg__t;
current_location.update_lineno(1169);
/* AbisOML_Types.ttcn, line 1169 */
{
boolean tmp_95;
{
boolean tmp_92 = resp.is_bound();
if(tmp_92) {
switch (resp.get_selection()) {
case UNINITIALIZED_TEMPLATE:
tmp_92 = FALSE;
break;
case ANY_VALUE:
tmp_92 = FALSE;
break;
case SPECIFIC_VALUE: {
if(tmp_92) {
const OML__PDU_template& tmp_93 = resp;
const OML__Union_template& tmp_94 = tmp_93.u();
tmp_92 = tmp_94.is_bound();
if (tmp_92) {
tmp_92 = tmp_94.ischosen(OML__Union::ALT_fom);
}
}
break;}
default:
tmp_92 = FALSE;
break;
}
}
tmp_95 = tmp_92;
}
if (tmp_95) {
current_location.update_lineno(1170);
/* AbisOML_Types.ttcn, line 1170 */
resp.u().fom().len() = ANY_VALUE;
current_location.update_lineno(1171);
/* AbisOML_Types.ttcn, line 1171 */
msg__t.int2enum((OML__FOM__MessageType::enum2int(const_cast< const OML__PDU&>(orig).u().fom().hdr().msg__type()) + 1));
current_location.update_lineno(1172);
/* AbisOML_Types.ttcn, line 1172 */
resp.u().fom().hdr().msg__type() = msg__t;
}
else {
current_location.update_lineno(1173);
/* AbisOML_Types.ttcn, line 1173 */
boolean tmp_101;
{
boolean tmp_98 = resp.is_bound();
if(tmp_98) {
switch (resp.get_selection()) {
case UNINITIALIZED_TEMPLATE:
tmp_98 = FALSE;
break;
case ANY_VALUE:
tmp_98 = FALSE;
break;
case SPECIFIC_VALUE: {
if(tmp_98) {
const OML__PDU_template& tmp_99 = resp;
const OML__Union_template& tmp_100 = tmp_99.u();
tmp_98 = tmp_100.is_bound();
if (tmp_98) {
tmp_98 = tmp_100.ischosen(OML__Union::ALT_manuf);
}
}
break;}
default:
tmp_98 = FALSE;
break;
}
}
tmp_101 = tmp_98;
}
if (tmp_101) {
current_location.update_lineno(1174);
/* AbisOML_Types.ttcn, line 1174 */
resp.u().manuf().ipa().len() = ANY_VALUE;
current_location.update_lineno(1175);
/* AbisOML_Types.ttcn, line 1175 */
msg__t.int2enum((OML__FOM__MessageType::enum2int(const_cast< const OML__PDU&>(orig).u().manuf().ipa().hdr().msg__type()) + 1));
current_location.update_lineno(1176);
/* AbisOML_Types.ttcn, line 1176 */
resp.u().manuf().ipa().hdr().msg__type() = msg__t;
}
else {
current_location.update_lineno(1178);
/* AbisOML_Types.ttcn, line 1178 */
try {
TTCN_Logger::begin_event(TTCN_USER);
TTCN_Logger::log_event_str("Unsupported OML in f_OML_make_ack(): ");
orig.log();
TTCN_Logger::end_event();
} catch (...) {
TTCN_Logger::finish_event();
throw;
}
TTCN_error("testcase.stop");
}
}
}
current_location.update_lineno(1180);
/* AbisOML_Types.ttcn, line 1180 */
return resp;
}

OML__PDU f__OML__make__nack(const OML__PDU& orig, const OML__FOM__NackCause& cause)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 1184, TTCN_Location::LOCATION_FUNCTION, "f_OML_make_nack");
current_location.update_lineno(1185);
/* AbisOML_Types.ttcn, line 1185 */
OML__PDU resp(orig);
current_location.update_lineno(1186);
/* AbisOML_Types.ttcn, line 1186 */
{
boolean tmp_107;
{
boolean tmp_104 = resp.is_bound();
if(tmp_104) {
const OML__PDU& tmp_105 = resp;
const OML__Union& tmp_106 = tmp_105.u();
tmp_104 = tmp_106.is_bound();
if (tmp_104) {
tmp_104 = tmp_106.ischosen(OML__Union::ALT_fom);
}
}
tmp_107 = tmp_104;
}
if (tmp_107) {
current_location.update_lineno(1187);
/* AbisOML_Types.ttcn, line 1187 */
resp.u().fom().hdr().msg__type().int2enum((OML__FOM__MessageType::enum2int(const_cast< const OML__PDU&>(orig).u().fom().hdr().msg__type()) + 2));
current_location.update_lineno(1188);
/* AbisOML_Types.ttcn, line 1188 */
{
OML__FOM__IE__List& tmp_109 = resp.u().fom().ies(); /* 7388 */
{
OML__FOM__IE__List tmp_110;
tmp_110.set_size(1);
{
OML__FOM__IE__Body_template tmp_111;
tmp_111.nack__causes() = cause;
tmp_110[0] = ts__OML__IE(OML__FOM__IE__Type::NM__ATT__NACK__CAUSES, tmp_111).valueof();
}
tmp_109 = (const_cast< const OML__PDU&>(orig).u().fom().ies()() + tmp_110);
}
}
}
else {
current_location.update_lineno(1191);
/* AbisOML_Types.ttcn, line 1191 */
boolean tmp_115;
{
boolean tmp_112 = resp.is_bound();
if(tmp_112) {
const OML__PDU& tmp_113 = resp;
const OML__Union& tmp_114 = tmp_113.u();
tmp_112 = tmp_114.is_bound();
if (tmp_112) {
tmp_112 = tmp_114.ischosen(OML__Union::ALT_manuf);
}
}
tmp_115 = tmp_112;
}
if (tmp_115) {
current_location.update_lineno(1192);
/* AbisOML_Types.ttcn, line 1192 */
resp.u().manuf().ipa().hdr().msg__type().int2enum((OML__FOM__MessageType::enum2int(const_cast< const OML__PDU&>(orig).u().manuf().ipa().hdr().msg__type()) + 2));
current_location.update_lineno(1193);
/* AbisOML_Types.ttcn, line 1193 */
{
OML__FOM__IE__List& tmp_117 = resp.u().manuf().ipa().ies(); /* 7388 */
{
OML__FOM__IE__List tmp_118;
tmp_118.set_size(1);
{
OML__FOM__IE__Body_template tmp_119;
tmp_119.nack__causes() = cause;
tmp_118[0] = ts__OML__IE(OML__FOM__IE__Type::NM__ATT__NACK__CAUSES, tmp_119).valueof();
}
tmp_117 = (const_cast< const OML__PDU&>(orig).u().manuf().ipa().ies()() + tmp_118);
}
}
}
else {
current_location.update_lineno(1197);
/* AbisOML_Types.ttcn, line 1197 */
try {
TTCN_Logger::begin_event(TTCN_USER);
TTCN_Logger::log_event_str("Unsupported OML in f_OML_make_nack(): ");
orig.log();
TTCN_Logger::end_event();
} catch (...) {
TTCN_Logger::finish_event();
throw;
}
TTCN_error("testcase.stop");
}
}
}
current_location.update_lineno(1199);
/* AbisOML_Types.ttcn, line 1199 */
return resp;
}

OML__PDU_template f__OML__make__nack__exp(const OML__PDU& orig, const OML__FOM__NackCause_template& cause)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 1201, TTCN_Location::LOCATION_FUNCTION, "f_OML_make_nack_exp");
current_location.update_lineno(1202);
/* AbisOML_Types.ttcn, line 1202 */
OML__PDU_template resp(orig);
current_location.update_lineno(1203);
/* AbisOML_Types.ttcn, line 1203 */
OML__FOM__MessageType msg__t;
current_location.update_lineno(1204);
/* AbisOML_Types.ttcn, line 1204 */
{
boolean tmp_123;
{
boolean tmp_120 = resp.is_bound();
if(tmp_120) {
switch (resp.get_selection()) {
case UNINITIALIZED_TEMPLATE:
tmp_120 = FALSE;
break;
case ANY_VALUE:
tmp_120 = FALSE;
break;
case SPECIFIC_VALUE: {
if(tmp_120) {
const OML__PDU_template& tmp_121 = resp;
const OML__Union_template& tmp_122 = tmp_121.u();
tmp_120 = tmp_122.is_bound();
if (tmp_120) {
tmp_120 = tmp_122.ischosen(OML__Union::ALT_fom);
}
}
break;}
default:
tmp_120 = FALSE;
break;
}
}
tmp_123 = tmp_120;
}
if (tmp_123) {
current_location.update_lineno(1205);
/* AbisOML_Types.ttcn, line 1205 */
resp.u().fom().len() = ANY_VALUE;
current_location.update_lineno(1206);
/* AbisOML_Types.ttcn, line 1206 */
msg__t.int2enum((OML__FOM__MessageType::enum2int(const_cast< const OML__PDU&>(orig).u().fom().hdr().msg__type()) + 2));
current_location.update_lineno(1207);
/* AbisOML_Types.ttcn, line 1207 */
resp.u().fom().hdr().msg__type() = msg__t;
current_location.update_lineno(1208);
/* AbisOML_Types.ttcn, line 1208 */
{
OML__FOM__IE__List_template& tmp_127 = resp.u().fom().ies();
tmp_127.remove_all_permutations();
tmp_127.set_size(2);
tmp_127[0] = ANY_OR_OMIT;
{
OML__FOM__IE__Body_template tmp_128;
tmp_128.nack__causes() = cause;
tmp_127[1] = tr__OML__IE(OML__FOM__IE__Type::NM__ATT__NACK__CAUSES, tmp_128);
}
}
}
else {
current_location.update_lineno(1211);
/* AbisOML_Types.ttcn, line 1211 */
boolean tmp_132;
{
boolean tmp_129 = resp.is_bound();
if(tmp_129) {
switch (resp.get_selection()) {
case UNINITIALIZED_TEMPLATE:
tmp_129 = FALSE;
break;
case ANY_VALUE:
tmp_129 = FALSE;
break;
case SPECIFIC_VALUE: {
if(tmp_129) {
const OML__PDU_template& tmp_130 = resp;
const OML__Union_template& tmp_131 = tmp_130.u();
tmp_129 = tmp_131.is_bound();
if (tmp_129) {
tmp_129 = tmp_131.ischosen(OML__Union::ALT_manuf);
}
}
break;}
default:
tmp_129 = FALSE;
break;
}
}
tmp_132 = tmp_129;
}
if (tmp_132) {
current_location.update_lineno(1212);
/* AbisOML_Types.ttcn, line 1212 */
resp.u().manuf().ipa().len() = ANY_VALUE;
current_location.update_lineno(1213);
/* AbisOML_Types.ttcn, line 1213 */
msg__t.int2enum((OML__FOM__MessageType::enum2int(const_cast< const OML__PDU&>(orig).u().manuf().ipa().hdr().msg__type()) + 2));
current_location.update_lineno(1214);
/* AbisOML_Types.ttcn, line 1214 */
resp.u().manuf().ipa().hdr().msg__type() = msg__t;
current_location.update_lineno(1215);
/* AbisOML_Types.ttcn, line 1215 */
{
OML__FOM__IE__List_template& tmp_136 = resp.u().manuf().ipa().ies();
tmp_136.remove_all_permutations();
tmp_136.set_size(2);
tmp_136[0] = ANY_OR_OMIT;
{
OML__FOM__IE__Body_template tmp_137;
tmp_137.nack__causes() = cause;
tmp_136[1] = tr__OML__IE(OML__FOM__IE__Type::NM__ATT__NACK__CAUSES, tmp_137);
}
}
}
else {
current_location.update_lineno(1224);
/* AbisOML_Types.ttcn, line 1224 */
try {
TTCN_Logger::begin_event(TTCN_USER);
TTCN_Logger::log_event_str("Unsupported OML in f_OML_make_nack_exp(): ");
orig.log();
TTCN_Logger::end_event();
} catch (...) {
TTCN_Logger::finish_event();
throw;
}
TTCN_error("testcase.stop");
}
}
}
current_location.update_lineno(1226);
/* AbisOML_Types.ttcn, line 1226 */
return resp;
}

OML__FOM__IE__Body f__OML__FOM__IE__List__get__ie(const OML__FOM__IE__List& ie__list, const OML__FOM__IE__Type& iei)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 1229, TTCN_Location::LOCATION_FUNCTION, "f_OML_FOM_IE_List_get_ie");
{
current_location.update_lineno(1231);
/* AbisOML_Types.ttcn, line 1231 */
INTEGER i(0);
current_location.update_lineno(1231);
/* AbisOML_Types.ttcn, line 1231 */
for ( ; ; ) {
current_location.update_lineno(1231);
/* AbisOML_Types.ttcn, line 1231 */
if (!(i < ie__list.lengthof())) break;
current_location.update_lineno(1232);
/* AbisOML_Types.ttcn, line 1232 */
if ((const_cast< const OML__FOM__IE__List&>(ie__list)[i].iei() == iei)) {
current_location.update_lineno(1233);
/* AbisOML_Types.ttcn, line 1233 */
return const_cast< const OML__FOM__IE__List&>(ie__list)[i].body();
}
current_location.update_lineno(1231);
/* AbisOML_Types.ttcn, line 1231 */
{
INTEGER tmp_138;
++i;
}
}
}
current_location.update_lineno(1236);
/* AbisOML_Types.ttcn, line 1236 */
OML__FOM__IE__Body dummy;
current_location.update_lineno(1237);
/* AbisOML_Types.ttcn, line 1237 */
return dummy;
}

OML__FOM__IE__Body f__OML__FOM__get__ie(const OML__FOM& fom, const OML__FOM__IE__Type& iei)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 1240, TTCN_Location::LOCATION_FUNCTION, "f_OML_FOM_get_ie");
current_location.update_lineno(1242);
/* AbisOML_Types.ttcn, line 1242 */
return f__OML__FOM__IE__List__get__ie(const_cast< const OML__FOM&>(fom).ies(), iei);
}

OML__PDU_template ts__OML__IPA__RslConnect(const OML__FOM__ObjectInstance_template& obj__inst, const INTEGER_template& stream__id, const INTEGER_template& port__nr)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 1252, TTCN_Location::LOCATION_TEMPLATE, "ts_OML_IPA_RslConnect");
OML__PDU_template ret_val;
{
OML__FOM__IE__List_template tmp_139;
tmp_139.set_size(2);
{
OML__FOM__IE__Body_template tmp_140;
tmp_140.stream__id() = stream__id;
tmp_139[0] = ts__OML__IE(OML__FOM__IE__Type::NM__ATT__IPACC__STREAM__ID, tmp_140);
}
{
OML__FOM__IE__Body_template tmp_141;
tmp_141.portnr() = port__nr;
tmp_139[1] = ts__OML__IE(OML__FOM__IE__Type::NM__ATT__IPACC__DST__IP__PORT, tmp_141);
}
ret_val = ts__OML__IPA__MsgType(OML__FOM__MessageType_template(OML__FOM__MessageType::NM__MT__IPACC__RSL__CONNECT), OML__FOM__ObjectClass_template(OML__FOM__ObjectClass::NM__OC__BASEB__TRANSC), obj__inst, tmp_139);
}
return ret_val;
}

OML__PDU_template tr__OML__IPA__RslConnect(const OML__FOM__ObjectInstance_template& obj__inst, const INTEGER_template& stream__id, const INTEGER_template& port__nr)
{
TTCN_Location current_location("AbisOML_Types.ttcn", 1259, TTCN_Location::LOCATION_TEMPLATE, "tr_OML_IPA_RslConnect");
OML__PDU_template ret_val;
{
OML__FOM__IE__List_template tmp_142;
tmp_142.set_size(2);
{
OML__FOM__IE__Body_template tmp_143;
tmp_143.stream__id() = stream__id;
tmp_142[0] = tr__OML__IE(OML__FOM__IE__Type::NM__ATT__IPACC__STREAM__ID, tmp_143);
}
{
OML__FOM__IE__Body_template tmp_144;
tmp_144.portnr() = port__nr;
tmp_142[1] = tr__OML__IE(OML__FOM__IE__Type::NM__ATT__IPACC__DST__IP__PORT, tmp_144);
}
ret_val = tr__OML__IPA__MsgType(OML__FOM__MessageType_template(OML__FOM__MessageType::NM__MT__IPACC__RSL__CONNECT), OML__FOM__ObjectClass_template(OML__FOM__ObjectClass::NM__OC__BASEB__TRANSC), obj__inst, tmp_142);
}
return ret_val;
}


/* Bodies of static functions */

void pre_init_module()
{
TTCN_Location current_location("AbisOML_Types.ttcn", 0, TTCN_Location::LOCATION_UNKNOWN, "AbisOML_Types");
GSM__Types::module_object.pre_init_module();
module_object.add_function("enc_OML_PDU", (genericfunc_t)&enc__OML__PDU, NULL);
module_object.add_function("dec_OML_PDU", (genericfunc_t)&dec__OML__PDU, NULL);
module_object.add_function("f_OML_make_ack", (genericfunc_t)&f__OML__make__ack, NULL);
module_object.add_function("f_OML_make_ack_exp", (genericfunc_t)&f__OML__make__ack__exp, NULL);
module_object.add_function("f_OML_make_nack", (genericfunc_t)&f__OML__make__nack, NULL);
module_object.add_function("f_OML_make_nack_exp", (genericfunc_t)&f__OML__make__nack__exp, NULL);
module_object.add_function("f_OML_FOM_IE_List_get_ie", (genericfunc_t)&f__OML__FOM__IE__List__get__ie, NULL);
module_object.add_function("f_OML_FOM_get_ie", (genericfunc_t)&f__OML__FOM__get__ie, NULL);
}

void post_init_module()
{
TTCN_Location current_location("AbisOML_Types.ttcn", 0, TTCN_Location::LOCATION_UNKNOWN, "AbisOML_Types");
GSM__Types::module_object.post_init_module();
current_location.update_lineno(779);
/* AbisOML_Types.ttcn, line 779 */
template_tr__OML__FOM__only.mdisc() = OML__MessageDiscriminator::ABIS__OM__MDISC__FOM;
template_tr__OML__FOM__only.placement() = OML__Placement::ABIS__OM__PLACEMENT__ONLY;
template_tr__OML__FOM__only.sequence() = 0;
template_tr__OML__FOM__only.u() = ANY_VALUE;
current_location.update_lineno(787);
/* AbisOML_Types.ttcn, line 787 */
template_tr__OML__MsgType_obj__class_defval = ANY_VALUE;
current_location.update_lineno(788);
/* AbisOML_Types.ttcn, line 788 */
template_tr__OML__MsgType_obj__inst_defval = ANY_VALUE;
current_location.update_lineno(789);
/* AbisOML_Types.ttcn, line 789 */
template_tr__OML__MsgType_ies_defval = ANY_OR_OMIT;
current_location.update_lineno(805);
/* AbisOML_Types.ttcn, line 805 */
template_ts__OML__MsgType_ies_defval = OMIT_VALUE;
current_location.update_lineno(852);
/* AbisOML_Types.ttcn, line 852 */
template_ts__OML__IPA__MsgType_ies_defval = OMIT_VALUE;
current_location.update_lineno(868);
/* AbisOML_Types.ttcn, line 868 */
template_tr__OML__IPA__MsgType_msg__type_defval = ANY_VALUE;
current_location.update_lineno(869);
/* AbisOML_Types.ttcn, line 869 */
template_tr__OML__IPA__MsgType_obj__class_defval = ANY_VALUE;
current_location.update_lineno(870);
/* AbisOML_Types.ttcn, line 870 */
template_tr__OML__IPA__MsgType_obj__inst_defval = ANY_VALUE;
current_location.update_lineno(871);
/* AbisOML_Types.ttcn, line 871 */
template_tr__OML__IPA__MsgType_ies_defval = ANY_OR_OMIT;
current_location.update_lineno(899);
/* AbisOML_Types.ttcn, line 899 */
template_tr__OML__StateChgEvtRep_opstate_defval = ANY_VALUE;
current_location.update_lineno(900);
/* AbisOML_Types.ttcn, line 900 */
template_tr__OML__StateChgEvtRep_avstate_defval = ANY_VALUE;
current_location.update_lineno(901);
/* AbisOML_Types.ttcn, line 901 */
template_tr__OML__StateChgEvtRep_admstate_defval = ANY_VALUE;
current_location.update_lineno(965);
/* AbisOML_Types.ttcn, line 965 */
template_tr__OML__ChangeAdmStateNACK_cause_defval = ANY_VALUE;
current_location.update_lineno(998);
/* AbisOML_Types.ttcn, line 998 */
template_tr__OML__OpstartNACK_cause_defval = ANY_VALUE;
current_location.update_lineno(1149);
/* AbisOML_Types.ttcn, line 1149 */
template_tr__OML__GetAttributesResponse_ari_defval = ANY_VALUE;
}


} /* end of namespace */
