// This C++ header file was generated by the TTCN-3 compiler
// of the TTCN-3 Test Executor version 11.2.1
// for TCC TITAN REGRESSION TEST USER (titanrt@seliius01695) on Thu Aug  6 13:06:57 2026

// Copyright (c) 2000-2026 Ericsson Telecom AB

// Do not edit this file unless you know what you are doing.

#ifndef TitanLoggerApi_HH
#define TitanLoggerApi_HH

#ifndef TITAN_RUNTIME_2
#error Generated code does not match with used runtime.\
 Code was generated with -R option but -DTITAN_RUNTIME_2 was not used.
#endif

/* Header file includes */

#include <TTCN3.hh>

#if TTCN3_VERSION != 110201
#error Version mismatch detected.\
 Please check the version of the TTCN-3 compiler and the base library.\
 Run make clean and rebuild the project if the version of the compiler changed recently.
#endif

#ifndef LINUX
#error This file should be compiled on LINUX
#endif

#undef TitanLoggerApi_HH
#endif

namespace TitanLoggerApi {

/* Forward declarations of classes */

class TitanLog_sequence__list;
class TitanLog_sequence__list_template;
class ComponentIDType;
class ComponentIDType_template;
class TitanLog_sequence__list_0_event__list;
class TitanLog_sequence__list_0_event__list_template;
class TimestampType;
class TimestampType_template;
class TitanLogEvent_sourceInfo__list;
class TitanLogEvent_sourceInfo__list_template;
class LocationInfo_ent__type;
class LocationInfo_ent__type_template;
class LocationInfo;
class LocationInfo_template;
class LogEventType_choice;
class LogEventType_choice_template;
typedef PreGenRecordOf::PREGEN__RECORD__OF__CHARSTRING Strings_str__list;
typedef PreGenRecordOf::PREGEN__RECORD__OF__CHARSTRING_template Strings_str__list_template;
class Strings;
class Strings_template;
class DefaultEvent_choice;
class DefaultEvent_choice_template;
class DefaultEnd;
class DefaultEnd_template;
class DefaultOp;
class DefaultOp_template;
class DefaultEvent;
class DefaultEvent_template;
class Categorized;
class Categorized_template;
class ExecutorEvent_choice;
class ExecutorEvent_choice_template;
class ExecutorRuntime_reason;
class ExecutorRuntime_reason_template;
class ExecutorRuntime;
class ExecutorRuntime_template;
class ExecutorConfigdata_reason;
class ExecutorConfigdata_reason_template;
class ExecutorConfigdata;
class ExecutorConfigdata_template;
class ExecutorComponent_reason;
class ExecutorComponent_reason_template;
class ExecutorComponent;
class ExecutorComponent_template;
class ExecutorUnqualified_reason;
class ExecutorUnqualified_reason_template;
class ExecutorUnqualified;
class ExecutorUnqualified_template;
class ExecutorEvent;
class ExecutorEvent_template;
class FunctionEvent_choice;
class FunctionEvent_choice_template;
class RandomAction;
class RandomAction_template;
class FunctionEvent_choice_random;
class FunctionEvent_choice_random_template;
class FunctionEvent;
class FunctionEvent_template;
class ParallelEvent_choice;
class ParallelEvent_choice_template;
class ParallelPTC_reason;
class ParallelPTC_reason_template;
class ParallelPTC;
class ParallelPTC_template;
class PTC__exit;
class PTC__exit_template;
class ParPort_operation;
class ParPort_operation_template;
class ParPort;
class ParPort_template;
class ParallelEvent;
class ParallelEvent_template;
class TestcaseEvent_choice;
class TestcaseEvent_choice_template;
class QualifiedName;
class QualifiedName_template;
class Verdict;
class Verdict_template;
class TestcaseType;
class TestcaseType_template;
class TestcaseEvent;
class TestcaseEvent_template;
class PortEvent_choice;
class PortEvent_choice_template;
class Port__Queue_operation;
class Port__Queue_operation_template;
class Port__Queue;
class Port__Queue_template;
class Port__State_operation;
class Port__State_operation_template;
class Port__State;
class Port__State_template;
class Port__oper;
class Port__oper_template;
class Proc__port__out;
class Proc__port__out_template;
class Proc__port__in;
class Proc__port__in_template;
class Msg__port__send;
class Msg__port__send_template;
class Msg__port__recv_operation;
class Msg__port__recv_operation_template;
class Msg__port__recv;
class Msg__port__recv_template;
class Dualface__mapped;
class Dualface__mapped_template;
class Dualface__discard;
class Dualface__discard_template;
class Setstate;
class Setstate_template;
class Port__Misc_reason;
class Port__Misc_reason_template;
class Port__Misc;
class Port__Misc_template;
class PortEvent;
class PortEvent_template;
class StatisticsType_choice;
class StatisticsType_choice_template;
class StatisticsType_choice_verdictStatistics;
class StatisticsType_choice_verdictStatistics_template;
class StatisticsType;
class StatisticsType_template;
class TimerEvent_choice;
class TimerEvent_choice_template;
class TimerType;
class TimerType_template;
class TimerGuardType;
class TimerGuardType_template;
class TimerAnyTimeoutType;
class TimerAnyTimeoutType_template;
class TimerEvent;
class TimerEvent_template;
class VerdictOp_choice;
class VerdictOp_choice_template;
class SetVerdictType;
class SetVerdictType_template;
class FinalVerdictType_choice;
class FinalVerdictType_choice_template;
class FinalVerdictInfo;
class FinalVerdictInfo_template;
class FinalVerdictType_choice_notification;
class FinalVerdictType_choice_notification_template;
class FinalVerdictType;
class FinalVerdictType_template;
class VerdictOp;
class VerdictOp_template;
class MatchingEvent_choice;
class MatchingEvent_choice_template;
class MatchingDoneType_reason;
class MatchingDoneType_reason_template;
class MatchingDoneType;
class MatchingDoneType_template;
class PortType;
class PortType_template;
class MatchingSuccessType;
class MatchingSuccessType_template;
class MatchingFailureType_choice;
class MatchingFailureType_choice_template;
class MatchingFailureType_reason;
class MatchingFailureType_reason_template;
class MatchingFailureType;
class MatchingFailureType_template;
class MatchingProblemType_reason;
class MatchingProblemType_reason_template;
class MatchingProblemType_operation;
class MatchingProblemType_operation_template;
class MatchingProblemType;
class MatchingProblemType_template;
class MatchingTimeout;
class MatchingTimeout_template;
class MatchingEvent;
class MatchingEvent_template;
class ExecutionSummaryType;
class ExecutionSummaryType_template;
class LogEventType;
class LogEventType_template;
class TitanLogEvent;
class TitanLogEvent_template;
class TitanLog_sequence__list_0;
class TitanLog_sequence__list_0_template;
class TitanLog;
class TitanLog_template;
class TitanSingleLogEvent;
class TitanSingleLogEvent_template;
class ErrorEvent;
class ErrorEvent_template;
class WarningEvent;
class WarningEvent_template;
class VerdictType;
class VerdictType_template;
class Parallel_reason;
class Parallel_reason_template;
class Parallel;
class Parallel_template;
typedef PreGenRecordOf::PREGEN__RECORD__OF__CHARSTRING StartFunction_parameter__list;
typedef PreGenRecordOf::PREGEN__RECORD__OF__CHARSTRING_template StartFunction_parameter__list_template;
class StartFunction;
class StartFunction_template;

} /* end of namespace */

#ifndef TitanLoggerApi_HH
#define TitanLoggerApi_HH

namespace TitanLoggerApi {

/* Class definitions */

class TitanLog_sequence__list : public Record_Of_Type {

static const TitanLog_sequence__list_0 UNBOUND_ELEM;

public:
TitanLog_sequence__list(): Record_Of_Type() {}
TitanLog_sequence__list(null_type other_value): Record_Of_Type(other_value) {}
TitanLog_sequence__list(const TitanLog_sequence__list& other_value): Record_Of_Type(other_value) {}
~TitanLog_sequence__list() { clean_up(); }

inline TitanLog_sequence__list& operator=(null_type other_value) { set_val(other_value); return *this; }
inline TitanLog_sequence__list& operator=(const TitanLog_sequence__list& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const TitanLog_sequence__list& other_value) const { return is_equal(&other_value); }
boolean operator!=(const TitanLog_sequence__list& other_value) const { return !is_equal(&other_value); }
TitanLog_sequence__list_0& operator[](int index_value);
TitanLog_sequence__list_0& operator[](const INTEGER& index_value);
const TitanLog_sequence__list_0& operator[](int index_value) const;
const TitanLog_sequence__list_0& operator[](const INTEGER& index_value) const;
TitanLog_sequence__list operator<<=(int rotate_count) const;
TitanLog_sequence__list operator<<=(const INTEGER& rotate_count) const;
TitanLog_sequence__list operator>>=(int rotate_count) const;
TitanLog_sequence__list operator>>=(const INTEGER& rotate_count) const;

TitanLog_sequence__list operator+(const TitanLog_sequence__list& other_value) const;

TitanLog_sequence__list operator+(const OPTIONAL<TitanLog_sequence__list>& other_value) const;

TitanLog_sequence__list operator+(null_type) const;

TitanLog_sequence__list substr(int index, int returncount) const;

TitanLog_sequence__list replace(int index, int len, const TitanLog_sequence__list& repl) const;

TitanLog_sequence__list replace(int index, int len, const TitanLog_sequence__list_template& repl) const;

Base_Type* clone() const { return new TitanLog_sequence__list(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
const TTCN_Typedescriptor_t* get_elem_descr() const;
Base_Type* create_elem() const;
const Base_Type* get_unbound_elem() const;
boolean is_set() const { return FALSE; }
boolean isXerAttribute() const { return FALSE; }
virtual boolean can_start_v(const char * name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int flavor2);
static  boolean can_start  (const char * name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int flavor2);
boolean isXmlValueList() const { return FALSE; }

};

class TitanLog_sequence__list_template : public Record_Of_Template {
friend TitanLog_sequence__list_template operator+(template_sel left_template, const TitanLog_sequence__list_template& right_template);
friend TitanLog_sequence__list_template operator+(const TitanLog_sequence__list& left_value, const TitanLog_sequence__list_template& right_template);
friend TitanLog_sequence__list_template operator+(template_sel left_template, const TitanLog_sequence__list& right_value);
friend TitanLog_sequence__list_template operator+(template_sel left_template, const OPTIONAL<TitanLog_sequence__list>& right_value);
friend TitanLog_sequence__list_template operator+(const TitanLog_sequence__list& left_value, template_sel right_template);

public:
TitanLog_sequence__list_template() {}
TitanLog_sequence__list_template(template_sel other_value): Record_Of_Template(other_value) { check_single_selection(other_value); }
TitanLog_sequence__list_template(null_type other_value);
TitanLog_sequence__list_template(const TitanLog_sequence__list& other_value) { copy_value(&other_value); }
TitanLog_sequence__list_template(const OPTIONAL<TitanLog_sequence__list>& other_value) { copy_optional(&other_value); }
TitanLog_sequence__list_template(TitanLog_sequence__list_template* p_precondition, TitanLog_sequence__list_template* p_implied_template);
TitanLog_sequence__list_template(Dynamic_Match_Interface<TitanLog_sequence__list>* p_dyn_match);
TitanLog_sequence__list_template(const TitanLog_sequence__list_template& other_value): Record_Of_Template() { copy_template(other_value); }
~TitanLog_sequence__list_template();
boolean match_dynamic(const Base_Type* match_value) const;
TitanLog_sequence__list_template& operator=(template_sel other_value);
TitanLog_sequence__list_template& operator=(null_type other_value);
TitanLog_sequence__list_template& operator=(const TitanLog_sequence__list& other_value);
TitanLog_sequence__list_template& operator=(const OPTIONAL<TitanLog_sequence__list>& other_value);
TitanLog_sequence__list_template& operator=(const TitanLog_sequence__list_template& other_value);

TitanLog_sequence__list_template operator+(const TitanLog_sequence__list_template& other_value) const;
TitanLog_sequence__list_template operator+(const TitanLog_sequence__list& other_value) const;
TitanLog_sequence__list_template operator+(template_sel other_value) const;
TitanLog_sequence__list_template operator+(null_type) const;

TitanLog_sequence__list_0_template& operator[](int index_value);
TitanLog_sequence__list_0_template& operator[](const INTEGER& index_value);
const TitanLog_sequence__list_0_template& operator[](int index_value) const;
const TitanLog_sequence__list_0_template& operator[](const INTEGER& index_value) const;
TitanLog_sequence__list_0_template& init_elem(int index_value);

const TitanLog_sequence__list_0_template& get_elem(int index_value) const;

inline boolean match(const TitanLog_sequence__list& match_value, boolean legacy = FALSE) const { return matchv(&match_value, legacy); }
TitanLog_sequence__list valueof() const;
const TitanLog_sequence__list_template to_present() const;
const TitanLog_sequence__list to_value() const;
TitanLog_sequence__list substr(int index, int returncount) const;

TitanLog_sequence__list replace(int index, int len, const TitanLog_sequence__list_template& repl) const;

TitanLog_sequence__list replace(int index, int len, const TitanLog_sequence__list& repl) const;

inline TitanLog_sequence__list_template& list_item(int list_index) { return *(static_cast<TitanLog_sequence__list_template*>(get_list_item(list_index))); }
inline void log_match(const TitanLog_sequence__list& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
Record_Of_Template* create() const { return new TitanLog_sequence__list_template; }
Base_Template* create_elem() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean get_legacy_subref_setting() const { return FALSE; }
static TitanLog_sequence__list_0_template any_value_elem;

Base_Template* get_any_value_elem() const;

};

class ComponentIDType : public Record_Type {
  INTEGER field_id;
  CHARSTRING field_name;
  Base_Type* fld_vec[2];
  void init_vec();
public:
  ComponentIDType();
  ComponentIDType(const ComponentIDType& other_value);
  ComponentIDType(const INTEGER& par_id,
    const CHARSTRING& par_name);
inline ComponentIDType& operator=(const ComponentIDType& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const ComponentIDType& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const ComponentIDType& other_value) const
    { return !is_equal(&other_value); }

  inline INTEGER& id()
    {return field_id;}
  inline const INTEGER& id() const
    {return field_id;}
  inline CHARSTRING& name()
    {return field_name;}
  inline const CHARSTRING& name() const
    {return field_name;}
Base_Type* clone() const { return new ComponentIDType(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 2;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 2; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class ComponentIDType_template : public Record_Template {
void set_specific();
public:
ComponentIDType_template(): Record_Template() {}
ComponentIDType_template(template_sel other_value): Record_Template(other_value) {}
ComponentIDType_template(const ComponentIDType& other_value): Record_Template() { copy_value(&other_value); }
ComponentIDType_template(const OPTIONAL<ComponentIDType>& other_value): Record_Template() { copy_optional(&other_value); }
ComponentIDType_template(ComponentIDType_template* p_precondition, ComponentIDType_template* p_implied_template);
ComponentIDType_template(Dynamic_Match_Interface<ComponentIDType>* p_dyn_match);
ComponentIDType_template(const ComponentIDType_template& other_value): Record_Template() { copy_template(other_value); }
~ComponentIDType_template();
boolean match_dynamic(const Base_Type* match_value) const;
ComponentIDType_template& operator=(template_sel other_value);
ComponentIDType_template& operator=(const ComponentIDType& other_value);
ComponentIDType_template& operator=(const OPTIONAL<ComponentIDType>& other_value);
ComponentIDType_template& operator=(const ComponentIDType_template& other_value);
inline boolean match(const ComponentIDType& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const ComponentIDType& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
ComponentIDType valueof() const;
const ComponentIDType_template to_present() const;
const ComponentIDType to_value() const;
inline ComponentIDType_template& list_item(int list_index) const { return *(static_cast<ComponentIDType_template*>(get_list_item(list_index))); }
INTEGER_template& id();
const INTEGER_template& id() const;
INTEGER_template& init_id();
const INTEGER_template& get_field_id() const;
CHARSTRING_template& name();
const CHARSTRING_template& name() const;
CHARSTRING_template& init_name();
const CHARSTRING_template& get_field_name() const;
Record_Template* create() const { return new ComponentIDType_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static INTEGER_template any_value_field_id;
static CHARSTRING_template any_value_field_name;
Base_Template* get_any_value_field(int field_index) const;
};

class TitanLog_sequence__list_0_event__list : public Record_Of_Type {

static const TitanLogEvent UNBOUND_ELEM;

public:
TitanLog_sequence__list_0_event__list(): Record_Of_Type() {}
TitanLog_sequence__list_0_event__list(null_type other_value): Record_Of_Type(other_value) {}
TitanLog_sequence__list_0_event__list(const TitanLog_sequence__list_0_event__list& other_value): Record_Of_Type(other_value) {}
~TitanLog_sequence__list_0_event__list() { clean_up(); }

inline TitanLog_sequence__list_0_event__list& operator=(null_type other_value) { set_val(other_value); return *this; }
inline TitanLog_sequence__list_0_event__list& operator=(const TitanLog_sequence__list_0_event__list& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const TitanLog_sequence__list_0_event__list& other_value) const { return is_equal(&other_value); }
boolean operator!=(const TitanLog_sequence__list_0_event__list& other_value) const { return !is_equal(&other_value); }
TitanLogEvent& operator[](int index_value);
TitanLogEvent& operator[](const INTEGER& index_value);
const TitanLogEvent& operator[](int index_value) const;
const TitanLogEvent& operator[](const INTEGER& index_value) const;
TitanLog_sequence__list_0_event__list operator<<=(int rotate_count) const;
TitanLog_sequence__list_0_event__list operator<<=(const INTEGER& rotate_count) const;
TitanLog_sequence__list_0_event__list operator>>=(int rotate_count) const;
TitanLog_sequence__list_0_event__list operator>>=(const INTEGER& rotate_count) const;

TitanLog_sequence__list_0_event__list operator+(const TitanLog_sequence__list_0_event__list& other_value) const;

TitanLog_sequence__list_0_event__list operator+(const OPTIONAL<TitanLog_sequence__list_0_event__list>& other_value) const;

TitanLog_sequence__list_0_event__list operator+(null_type) const;

TitanLog_sequence__list_0_event__list substr(int index, int returncount) const;

TitanLog_sequence__list_0_event__list replace(int index, int len, const TitanLog_sequence__list_0_event__list& repl) const;

TitanLog_sequence__list_0_event__list replace(int index, int len, const TitanLog_sequence__list_0_event__list_template& repl) const;

Base_Type* clone() const { return new TitanLog_sequence__list_0_event__list(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
const TTCN_Typedescriptor_t* get_elem_descr() const;
Base_Type* create_elem() const;
const Base_Type* get_unbound_elem() const;
boolean is_set() const { return FALSE; }
boolean isXerAttribute() const { return FALSE; }
virtual boolean can_start_v(const char * name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int flavor2);
static  boolean can_start  (const char * name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int flavor2);
boolean isXmlValueList() const { return FALSE; }

};

class TitanLog_sequence__list_0_event__list_template : public Record_Of_Template {
friend TitanLog_sequence__list_0_event__list_template operator+(template_sel left_template, const TitanLog_sequence__list_0_event__list_template& right_template);
friend TitanLog_sequence__list_0_event__list_template operator+(const TitanLog_sequence__list_0_event__list& left_value, const TitanLog_sequence__list_0_event__list_template& right_template);
friend TitanLog_sequence__list_0_event__list_template operator+(template_sel left_template, const TitanLog_sequence__list_0_event__list& right_value);
friend TitanLog_sequence__list_0_event__list_template operator+(template_sel left_template, const OPTIONAL<TitanLog_sequence__list_0_event__list>& right_value);
friend TitanLog_sequence__list_0_event__list_template operator+(const TitanLog_sequence__list_0_event__list& left_value, template_sel right_template);

public:
TitanLog_sequence__list_0_event__list_template() {}
TitanLog_sequence__list_0_event__list_template(template_sel other_value): Record_Of_Template(other_value) { check_single_selection(other_value); }
TitanLog_sequence__list_0_event__list_template(null_type other_value);
TitanLog_sequence__list_0_event__list_template(const TitanLog_sequence__list_0_event__list& other_value) { copy_value(&other_value); }
TitanLog_sequence__list_0_event__list_template(const OPTIONAL<TitanLog_sequence__list_0_event__list>& other_value) { copy_optional(&other_value); }
TitanLog_sequence__list_0_event__list_template(TitanLog_sequence__list_0_event__list_template* p_precondition, TitanLog_sequence__list_0_event__list_template* p_implied_template);
TitanLog_sequence__list_0_event__list_template(Dynamic_Match_Interface<TitanLog_sequence__list_0_event__list>* p_dyn_match);
TitanLog_sequence__list_0_event__list_template(const TitanLog_sequence__list_0_event__list_template& other_value): Record_Of_Template() { copy_template(other_value); }
~TitanLog_sequence__list_0_event__list_template();
boolean match_dynamic(const Base_Type* match_value) const;
TitanLog_sequence__list_0_event__list_template& operator=(template_sel other_value);
TitanLog_sequence__list_0_event__list_template& operator=(null_type other_value);
TitanLog_sequence__list_0_event__list_template& operator=(const TitanLog_sequence__list_0_event__list& other_value);
TitanLog_sequence__list_0_event__list_template& operator=(const OPTIONAL<TitanLog_sequence__list_0_event__list>& other_value);
TitanLog_sequence__list_0_event__list_template& operator=(const TitanLog_sequence__list_0_event__list_template& other_value);

TitanLog_sequence__list_0_event__list_template operator+(const TitanLog_sequence__list_0_event__list_template& other_value) const;
TitanLog_sequence__list_0_event__list_template operator+(const TitanLog_sequence__list_0_event__list& other_value) const;
TitanLog_sequence__list_0_event__list_template operator+(template_sel other_value) const;
TitanLog_sequence__list_0_event__list_template operator+(null_type) const;

TitanLogEvent_template& operator[](int index_value);
TitanLogEvent_template& operator[](const INTEGER& index_value);
const TitanLogEvent_template& operator[](int index_value) const;
const TitanLogEvent_template& operator[](const INTEGER& index_value) const;
TitanLogEvent_template& init_elem(int index_value);

const TitanLogEvent_template& get_elem(int index_value) const;

inline boolean match(const TitanLog_sequence__list_0_event__list& match_value, boolean legacy = FALSE) const { return matchv(&match_value, legacy); }
TitanLog_sequence__list_0_event__list valueof() const;
const TitanLog_sequence__list_0_event__list_template to_present() const;
const TitanLog_sequence__list_0_event__list to_value() const;
TitanLog_sequence__list_0_event__list substr(int index, int returncount) const;

TitanLog_sequence__list_0_event__list replace(int index, int len, const TitanLog_sequence__list_0_event__list_template& repl) const;

TitanLog_sequence__list_0_event__list replace(int index, int len, const TitanLog_sequence__list_0_event__list& repl) const;

inline TitanLog_sequence__list_0_event__list_template& list_item(int list_index) { return *(static_cast<TitanLog_sequence__list_0_event__list_template*>(get_list_item(list_index))); }
inline void log_match(const TitanLog_sequence__list_0_event__list& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
Record_Of_Template* create() const { return new TitanLog_sequence__list_0_event__list_template; }
Base_Template* create_elem() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean get_legacy_subref_setting() const { return FALSE; }
static TitanLogEvent_template any_value_elem;

Base_Template* get_any_value_elem() const;

};

class TimestampType : public Record_Type {
  INTEGER field_seconds;
  INTEGER field_microSeconds;
  Base_Type* fld_vec[2];
  void init_vec();
public:
  TimestampType();
  TimestampType(const TimestampType& other_value);
  TimestampType(const INTEGER& par_seconds,
    const INTEGER& par_microSeconds);
inline TimestampType& operator=(const TimestampType& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const TimestampType& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const TimestampType& other_value) const
    { return !is_equal(&other_value); }

  inline INTEGER& seconds()
    {return field_seconds;}
  inline const INTEGER& seconds() const
    {return field_seconds;}
  inline INTEGER& microSeconds()
    {return field_microSeconds;}
  inline const INTEGER& microSeconds() const
    {return field_microSeconds;}
Base_Type* clone() const { return new TimestampType(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 2;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 2; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class TimestampType_template : public Record_Template {
void set_specific();
public:
TimestampType_template(): Record_Template() {}
TimestampType_template(template_sel other_value): Record_Template(other_value) {}
TimestampType_template(const TimestampType& other_value): Record_Template() { copy_value(&other_value); }
TimestampType_template(const OPTIONAL<TimestampType>& other_value): Record_Template() { copy_optional(&other_value); }
TimestampType_template(TimestampType_template* p_precondition, TimestampType_template* p_implied_template);
TimestampType_template(Dynamic_Match_Interface<TimestampType>* p_dyn_match);
TimestampType_template(const TimestampType_template& other_value): Record_Template() { copy_template(other_value); }
~TimestampType_template();
boolean match_dynamic(const Base_Type* match_value) const;
TimestampType_template& operator=(template_sel other_value);
TimestampType_template& operator=(const TimestampType& other_value);
TimestampType_template& operator=(const OPTIONAL<TimestampType>& other_value);
TimestampType_template& operator=(const TimestampType_template& other_value);
inline boolean match(const TimestampType& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const TimestampType& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
TimestampType valueof() const;
const TimestampType_template to_present() const;
const TimestampType to_value() const;
inline TimestampType_template& list_item(int list_index) const { return *(static_cast<TimestampType_template*>(get_list_item(list_index))); }
INTEGER_template& seconds();
const INTEGER_template& seconds() const;
INTEGER_template& init_seconds();
const INTEGER_template& get_field_seconds() const;
INTEGER_template& microSeconds();
const INTEGER_template& microSeconds() const;
INTEGER_template& init_microSeconds();
const INTEGER_template& get_field_microSeconds() const;
Record_Template* create() const { return new TimestampType_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static INTEGER_template any_value_field_seconds;
static INTEGER_template any_value_field_microSeconds;
Base_Template* get_any_value_field(int field_index) const;
};

class TitanLogEvent_sourceInfo__list : public Record_Of_Type {

static const LocationInfo UNBOUND_ELEM;

public:
TitanLogEvent_sourceInfo__list(): Record_Of_Type() {}
TitanLogEvent_sourceInfo__list(null_type other_value): Record_Of_Type(other_value) {}
TitanLogEvent_sourceInfo__list(const TitanLogEvent_sourceInfo__list& other_value): Record_Of_Type(other_value) {}
~TitanLogEvent_sourceInfo__list() { clean_up(); }

inline TitanLogEvent_sourceInfo__list& operator=(null_type other_value) { set_val(other_value); return *this; }
inline TitanLogEvent_sourceInfo__list& operator=(const TitanLogEvent_sourceInfo__list& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const TitanLogEvent_sourceInfo__list& other_value) const { return is_equal(&other_value); }
boolean operator!=(const TitanLogEvent_sourceInfo__list& other_value) const { return !is_equal(&other_value); }
LocationInfo& operator[](int index_value);
LocationInfo& operator[](const INTEGER& index_value);
const LocationInfo& operator[](int index_value) const;
const LocationInfo& operator[](const INTEGER& index_value) const;
TitanLogEvent_sourceInfo__list operator<<=(int rotate_count) const;
TitanLogEvent_sourceInfo__list operator<<=(const INTEGER& rotate_count) const;
TitanLogEvent_sourceInfo__list operator>>=(int rotate_count) const;
TitanLogEvent_sourceInfo__list operator>>=(const INTEGER& rotate_count) const;

TitanLogEvent_sourceInfo__list operator+(const TitanLogEvent_sourceInfo__list& other_value) const;

TitanLogEvent_sourceInfo__list operator+(const OPTIONAL<TitanLogEvent_sourceInfo__list>& other_value) const;

TitanLogEvent_sourceInfo__list operator+(null_type) const;

TitanLogEvent_sourceInfo__list substr(int index, int returncount) const;

TitanLogEvent_sourceInfo__list replace(int index, int len, const TitanLogEvent_sourceInfo__list& repl) const;

TitanLogEvent_sourceInfo__list replace(int index, int len, const TitanLogEvent_sourceInfo__list_template& repl) const;

Base_Type* clone() const { return new TitanLogEvent_sourceInfo__list(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
const TTCN_Typedescriptor_t* get_elem_descr() const;
Base_Type* create_elem() const;
const Base_Type* get_unbound_elem() const;
boolean is_set() const { return FALSE; }
boolean isXerAttribute() const { return FALSE; }
virtual boolean can_start_v(const char * name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int flavor2);
static  boolean can_start  (const char * name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int flavor2);
boolean isXmlValueList() const { return FALSE; }

};

class TitanLogEvent_sourceInfo__list_template : public Record_Of_Template {
friend TitanLogEvent_sourceInfo__list_template operator+(template_sel left_template, const TitanLogEvent_sourceInfo__list_template& right_template);
friend TitanLogEvent_sourceInfo__list_template operator+(const TitanLogEvent_sourceInfo__list& left_value, const TitanLogEvent_sourceInfo__list_template& right_template);
friend TitanLogEvent_sourceInfo__list_template operator+(template_sel left_template, const TitanLogEvent_sourceInfo__list& right_value);
friend TitanLogEvent_sourceInfo__list_template operator+(template_sel left_template, const OPTIONAL<TitanLogEvent_sourceInfo__list>& right_value);
friend TitanLogEvent_sourceInfo__list_template operator+(const TitanLogEvent_sourceInfo__list& left_value, template_sel right_template);

public:
TitanLogEvent_sourceInfo__list_template() {}
TitanLogEvent_sourceInfo__list_template(template_sel other_value): Record_Of_Template(other_value) { check_single_selection(other_value); }
TitanLogEvent_sourceInfo__list_template(null_type other_value);
TitanLogEvent_sourceInfo__list_template(const TitanLogEvent_sourceInfo__list& other_value) { copy_value(&other_value); }
TitanLogEvent_sourceInfo__list_template(const OPTIONAL<TitanLogEvent_sourceInfo__list>& other_value) { copy_optional(&other_value); }
TitanLogEvent_sourceInfo__list_template(TitanLogEvent_sourceInfo__list_template* p_precondition, TitanLogEvent_sourceInfo__list_template* p_implied_template);
TitanLogEvent_sourceInfo__list_template(Dynamic_Match_Interface<TitanLogEvent_sourceInfo__list>* p_dyn_match);
TitanLogEvent_sourceInfo__list_template(const TitanLogEvent_sourceInfo__list_template& other_value): Record_Of_Template() { copy_template(other_value); }
~TitanLogEvent_sourceInfo__list_template();
boolean match_dynamic(const Base_Type* match_value) const;
TitanLogEvent_sourceInfo__list_template& operator=(template_sel other_value);
TitanLogEvent_sourceInfo__list_template& operator=(null_type other_value);
TitanLogEvent_sourceInfo__list_template& operator=(const TitanLogEvent_sourceInfo__list& other_value);
TitanLogEvent_sourceInfo__list_template& operator=(const OPTIONAL<TitanLogEvent_sourceInfo__list>& other_value);
TitanLogEvent_sourceInfo__list_template& operator=(const TitanLogEvent_sourceInfo__list_template& other_value);

TitanLogEvent_sourceInfo__list_template operator+(const TitanLogEvent_sourceInfo__list_template& other_value) const;
TitanLogEvent_sourceInfo__list_template operator+(const TitanLogEvent_sourceInfo__list& other_value) const;
TitanLogEvent_sourceInfo__list_template operator+(template_sel other_value) const;
TitanLogEvent_sourceInfo__list_template operator+(null_type) const;

LocationInfo_template& operator[](int index_value);
LocationInfo_template& operator[](const INTEGER& index_value);
const LocationInfo_template& operator[](int index_value) const;
const LocationInfo_template& operator[](const INTEGER& index_value) const;
LocationInfo_template& init_elem(int index_value);

const LocationInfo_template& get_elem(int index_value) const;

inline boolean match(const TitanLogEvent_sourceInfo__list& match_value, boolean legacy = FALSE) const { return matchv(&match_value, legacy); }
TitanLogEvent_sourceInfo__list valueof() const;
const TitanLogEvent_sourceInfo__list_template to_present() const;
const TitanLogEvent_sourceInfo__list to_value() const;
TitanLogEvent_sourceInfo__list substr(int index, int returncount) const;

TitanLogEvent_sourceInfo__list replace(int index, int len, const TitanLogEvent_sourceInfo__list_template& repl) const;

TitanLogEvent_sourceInfo__list replace(int index, int len, const TitanLogEvent_sourceInfo__list& repl) const;

inline TitanLogEvent_sourceInfo__list_template& list_item(int list_index) { return *(static_cast<TitanLogEvent_sourceInfo__list_template*>(get_list_item(list_index))); }
inline void log_match(const TitanLogEvent_sourceInfo__list& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
Record_Of_Template* create() const { return new TitanLogEvent_sourceInfo__list_template; }
Base_Template* create_elem() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean get_legacy_subref_setting() const { return FALSE; }
static LocationInfo_template any_value_elem;

Base_Template* get_any_value_elem() const;

};

class LocationInfo_ent__type : public Enum_Type { // enum
friend class LocationInfo_ent__type_template;
public:
enum enum_type { unknown = 0, controlpart = 1, testcase__ = 2, altstep__ = 3, function__ = 4, external__function = 5, template__ = 6, UNKNOWN_VALUE = 7, UNBOUND_VALUE = 8 };
private:
enum_type enum_value;

public:
LocationInfo_ent__type();
LocationInfo_ent__type(int other_value);
LocationInfo_ent__type(enum_type other_value);
LocationInfo_ent__type(const LocationInfo_ent__type& other_value);

LocationInfo_ent__type& operator=(int other_value);
LocationInfo_ent__type& operator=(enum_type other_value);
LocationInfo_ent__type& operator=(const LocationInfo_ent__type& other_value);

boolean operator==(int other_value) const;
boolean operator==(enum_type other_value) const;
boolean operator==(const LocationInfo_ent__type& other_value) const;
inline boolean operator!=(int other_value) const { return !(*this == other_value); }
inline boolean operator!=(enum_type other_value) const { return !(*this == other_value); }
inline boolean operator!=(const LocationInfo_ent__type& other_value) const { return !(*this == other_value); }
boolean operator<(int other_value) const;
boolean operator<(enum_type other_value) const;
boolean operator<(const LocationInfo_ent__type& other_value) const;
boolean operator>(int other_value) const;
boolean operator>(enum_type other_value) const;
boolean operator>(const LocationInfo_ent__type& other_value) const;
inline boolean operator<=(int other_value) const { return !(*this > other_value); }
inline boolean operator<=(enum_type other_value) const { return !(*this > other_value); }
inline boolean operator<=(const LocationInfo_ent__type& other_value) const { return !(*this > other_value); }
inline boolean operator>=(int other_value) const { return !(*this < other_value); }
inline boolean operator>=(enum_type other_value) const { return !(*this < other_value); }
inline boolean operator>=(const LocationInfo_ent__type& other_value) const { return !(*this < other_value); }

static const char *enum_to_str(enum_type enum_par, boolean txt = FALSE);
static enum_type str_to_enum(const char *str_par, const int* int_par = NULL, const int* int_par2 = NULL);
static boolean is_valid_enum(int int_par);

static int enum2int(enum_type enum_par);
static int enum2int(const LocationInfo_ent__type& enum_par);
int as_int() const { return enum2int(enum_value); }
void from_int(int p_val) { *this = p_val; }
void int2enum(int int_val);
operator enum_type() const;
inline boolean is_bound() const { return enum_value != UNBOUND_VALUE; }
inline boolean is_value() const { return enum_value != UNBOUND_VALUE; }
inline void clean_up(){ enum_value = UNBOUND_VALUE; }
boolean is_equal(const Base_Type* other_value) const;
void set_value(const Base_Type* other_value);
Base_Type* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
void log() const;
void set_param(Module_Param& param);
static int* get_int_for_param(enum_type );
Module_Param* get_param(Module_Param_Name& param_name) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void encode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...) const;
void decode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...);
int XER_encode(const XERdescriptor_t&, TTCN_Buffer&, unsigned int,unsigned int, int, embed_values_enc_struct_t*) const;
int XER_decode(const XERdescriptor_t&, XmlReaderWrap&, unsigned int, unsigned int, embed_values_dec_struct_t*);
static boolean can_start(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
boolean can_start_v(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
};

class LocationInfo_ent__type_template : public Base_Template {
union {
LocationInfo_ent__type::enum_type single_value;
struct {
unsigned int n_values;
LocationInfo_ent__type_template *list_value;
} value_list;
struct {
LocationInfo_ent__type_template* precondition;
LocationInfo_ent__type_template* implied_template;
} implication_;
dynmatch_struct<LocationInfo_ent__type>* dyn_match;
};

void copy_template(const LocationInfo_ent__type_template& other_value);

public:
LocationInfo_ent__type_template();
LocationInfo_ent__type_template(template_sel other_value);
LocationInfo_ent__type_template(int other_value);
LocationInfo_ent__type_template(LocationInfo_ent__type::enum_type other_value);
LocationInfo_ent__type_template(const LocationInfo_ent__type& other_value);
LocationInfo_ent__type_template(const OPTIONAL<LocationInfo_ent__type>& other_value);
LocationInfo_ent__type_template(LocationInfo_ent__type_template* p_precondition, LocationInfo_ent__type_template* p_implied_template);
LocationInfo_ent__type_template(Dynamic_Match_Interface<LocationInfo_ent__type>* p_dyn_match);
LocationInfo_ent__type_template(const LocationInfo_ent__type_template& other_value);
~LocationInfo_ent__type_template();

boolean is_bound() const;
boolean is_value() const;
void clean_up();
LocationInfo_ent__type_template& operator=(template_sel other_value);
LocationInfo_ent__type_template& operator=(int other_value);
LocationInfo_ent__type_template& operator=(LocationInfo_ent__type::enum_type other_value);
LocationInfo_ent__type_template& operator=(const LocationInfo_ent__type& other_value);
LocationInfo_ent__type_template& operator=(const OPTIONAL<LocationInfo_ent__type>& other_value);
LocationInfo_ent__type_template& operator=(const LocationInfo_ent__type_template& other_value);

boolean match(LocationInfo_ent__type::enum_type other_value, boolean legacy = FALSE) const;
boolean match(const LocationInfo_ent__type& other_value, boolean legacy = FALSE) const;
LocationInfo_ent__type::enum_type valueof() const;
const LocationInfo_ent__type_template to_present() const;
const LocationInfo_ent__type to_value() const;
void set_type(template_sel template_type, unsigned int list_length = 0);
LocationInfo_ent__type_template& list_item(unsigned int list_index);
void valueofv(Base_Type* value) const;
void set_value(template_sel other_value);
void copy_value(const Base_Type* other_value);
void to_valuev(Base_Type* value) const;
Base_Template* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean matchv(const Base_Type* other_value, boolean legacy) const;
void log_matchv(const Base_Type* match_value, boolean legacy) const;
void log() const;
void log_match(const LocationInfo_ent__type& match_value, boolean legacy = FALSE) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
void set_param(Module_Param& param);
Module_Param* get_param(Module_Param_Name& param_name) const;
};

class LocationInfo : public Record_Type {
  CHARSTRING field_filename;
  INTEGER field_line;
  CHARSTRING field_ent__name;
  LocationInfo_ent__type field_ent__type;
  Base_Type* fld_vec[4];
  void init_vec();
public:
  LocationInfo();
  LocationInfo(const LocationInfo& other_value);
  LocationInfo(const CHARSTRING& par_filename,
    const INTEGER& par_line,
    const CHARSTRING& par_ent__name,
    const LocationInfo_ent__type& par_ent__type);
inline LocationInfo& operator=(const LocationInfo& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const LocationInfo& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const LocationInfo& other_value) const
    { return !is_equal(&other_value); }

  inline CHARSTRING& filename()
    {return field_filename;}
  inline const CHARSTRING& filename() const
    {return field_filename;}
  inline INTEGER& line()
    {return field_line;}
  inline const INTEGER& line() const
    {return field_line;}
  inline CHARSTRING& ent__name()
    {return field_ent__name;}
  inline const CHARSTRING& ent__name() const
    {return field_ent__name;}
  inline LocationInfo_ent__type& ent__type()
    {return field_ent__type;}
  inline const LocationInfo_ent__type& ent__type() const
    {return field_ent__type;}
Base_Type* clone() const { return new LocationInfo(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 4;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 4; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class LocationInfo_template : public Record_Template {
void set_specific();
public:
LocationInfo_template(): Record_Template() {}
LocationInfo_template(template_sel other_value): Record_Template(other_value) {}
LocationInfo_template(const LocationInfo& other_value): Record_Template() { copy_value(&other_value); }
LocationInfo_template(const OPTIONAL<LocationInfo>& other_value): Record_Template() { copy_optional(&other_value); }
LocationInfo_template(LocationInfo_template* p_precondition, LocationInfo_template* p_implied_template);
LocationInfo_template(Dynamic_Match_Interface<LocationInfo>* p_dyn_match);
LocationInfo_template(const LocationInfo_template& other_value): Record_Template() { copy_template(other_value); }
~LocationInfo_template();
boolean match_dynamic(const Base_Type* match_value) const;
LocationInfo_template& operator=(template_sel other_value);
LocationInfo_template& operator=(const LocationInfo& other_value);
LocationInfo_template& operator=(const OPTIONAL<LocationInfo>& other_value);
LocationInfo_template& operator=(const LocationInfo_template& other_value);
inline boolean match(const LocationInfo& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const LocationInfo& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
LocationInfo valueof() const;
const LocationInfo_template to_present() const;
const LocationInfo to_value() const;
inline LocationInfo_template& list_item(int list_index) const { return *(static_cast<LocationInfo_template*>(get_list_item(list_index))); }
CHARSTRING_template& filename();
const CHARSTRING_template& filename() const;
CHARSTRING_template& init_filename();
const CHARSTRING_template& get_field_filename() const;
INTEGER_template& line();
const INTEGER_template& line() const;
INTEGER_template& init_line();
const INTEGER_template& get_field_line() const;
CHARSTRING_template& ent__name();
const CHARSTRING_template& ent__name() const;
CHARSTRING_template& init_ent__name();
const CHARSTRING_template& get_field_ent__name() const;
LocationInfo_ent__type_template& ent__type();
const LocationInfo_ent__type_template& ent__type() const;
LocationInfo_ent__type_template& init_ent__type();
const LocationInfo_ent__type_template& get_field_ent__type() const;
Record_Template* create() const { return new LocationInfo_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static CHARSTRING_template any_value_field_filename;
static INTEGER_template any_value_field_line;
static CHARSTRING_template any_value_field_ent__name;
static LocationInfo_ent__type_template any_value_field_ent__type;
Base_Template* get_any_value_field(int field_index) const;
};

class LogEventType_choice : public Base_Type {
public:
static const int s_count = 17;

public:
enum union_selection_type { UNBOUND_VALUE = 0, ALT_actionEvent = 1, ALT_defaultEvent = 2, ALT_errorLog = 3, ALT_executorEvent = 4, ALT_functionEvent = 5, ALT_parallelEvent = 6, ALT_testcaseOp = 7, ALT_portEvent = 8, ALT_statistics = 9, ALT_timerEvent = 10, ALT_userLog = 11, ALT_verdictOp = 12, ALT_warningLog = 13, ALT_matchingEvent = 14, ALT_debugLog = 15, ALT_executionSummary = 16, ALT_unhandledEvent = 17 };
private:
union_selection_type union_selection;
union {
Strings *field_actionEvent;
DefaultEvent *field_defaultEvent;
Categorized *field_errorLog;
ExecutorEvent *field_executorEvent;
FunctionEvent *field_functionEvent;
ParallelEvent *field_parallelEvent;
TestcaseEvent *field_testcaseOp;
PortEvent *field_portEvent;
StatisticsType *field_statistics;
TimerEvent *field_timerEvent;
Strings *field_userLog;
VerdictOp *field_verdictOp;
Categorized *field_warningLog;
MatchingEvent *field_matchingEvent;
Categorized *field_debugLog;
ExecutionSummaryType *field_executionSummary;
CHARSTRING *field_unhandledEvent;
};
Erroneous_descriptor_t* err_descr;
void copy_value(const LogEventType_choice& other_value);

public:
LogEventType_choice();
LogEventType_choice(const LogEventType_choice& other_value);
~LogEventType_choice();
LogEventType_choice& operator=(const LogEventType_choice& other_value);
boolean operator==(const LogEventType_choice& other_value) const;
inline boolean operator!=(const LogEventType_choice& other_value) const { return !(*this == other_value); }
Strings& actionEvent();
const Strings& actionEvent() const;
DefaultEvent& defaultEvent();
const DefaultEvent& defaultEvent() const;
Categorized& errorLog();
const Categorized& errorLog() const;
ExecutorEvent& executorEvent();
const ExecutorEvent& executorEvent() const;
FunctionEvent& functionEvent();
const FunctionEvent& functionEvent() const;
ParallelEvent& parallelEvent();
const ParallelEvent& parallelEvent() const;
TestcaseEvent& testcaseOp();
const TestcaseEvent& testcaseOp() const;
PortEvent& portEvent();
const PortEvent& portEvent() const;
StatisticsType& statistics();
const StatisticsType& statistics() const;
TimerEvent& timerEvent();
const TimerEvent& timerEvent() const;
Strings& userLog();
const Strings& userLog() const;
VerdictOp& verdictOp();
const VerdictOp& verdictOp() const;
Categorized& warningLog();
const Categorized& warningLog() const;
MatchingEvent& matchingEvent();
const MatchingEvent& matchingEvent() const;
Categorized& debugLog();
const Categorized& debugLog() const;
ExecutionSummaryType& executionSummary();
const ExecutionSummaryType& executionSummary() const;
CHARSTRING& unhandledEvent();
const CHARSTRING& unhandledEvent() const;
inline union_selection_type get_selection() const { return union_selection; }
boolean ischosen(union_selection_type checked_selection) const;
boolean is_bound() const;
boolean is_value() const;
void clean_up();
boolean is_equal(const Base_Type* other_value) const;
void set_value(const Base_Type* other_value);
Base_Type* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
void set_err_descr(Erroneous_descriptor_t* p_err_descr) { err_descr=p_err_descr; }
Erroneous_descriptor_t* get_err_descr() const { return err_descr; }
void log() const;
void set_param(Module_Param& param);
Module_Param* get_param(Module_Param_Name& param_name) const;
  void set_implicit_omit();
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void encode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...) const;
void decode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...);
int XER_encode(const XERdescriptor_t&, TTCN_Buffer&, unsigned int,unsigned int, int, embed_values_enc_struct_t*) const;
int XER_decode(const XERdescriptor_t&, XmlReaderWrap&, unsigned int, unsigned int, embed_values_dec_struct_t*);
static boolean can_start(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
boolean can_start_v(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
char **collect_ns(const XERdescriptor_t& p_td, size_t& num, boolean& def_ns, unsigned int flavor = 0) const;
int XER_encode_negtest(const Erroneous_descriptor_t* p_err_descr, const XERdescriptor_t& p_td, TTCN_Buffer& p_buf, unsigned int p_flavor, unsigned int p_flavor2, int p_indent, embed_values_enc_struct_t*) const;
};

class LogEventType_choice_template : public Base_Template {
union {
struct {
LogEventType_choice::union_selection_type union_selection;
union {
Strings_template *field_actionEvent;
DefaultEvent_template *field_defaultEvent;
Categorized_template *field_errorLog;
ExecutorEvent_template *field_executorEvent;
FunctionEvent_template *field_functionEvent;
ParallelEvent_template *field_parallelEvent;
TestcaseEvent_template *field_testcaseOp;
PortEvent_template *field_portEvent;
StatisticsType_template *field_statistics;
TimerEvent_template *field_timerEvent;
Strings_template *field_userLog;
VerdictOp_template *field_verdictOp;
Categorized_template *field_warningLog;
MatchingEvent_template *field_matchingEvent;
Categorized_template *field_debugLog;
ExecutionSummaryType_template *field_executionSummary;
CHARSTRING_template *field_unhandledEvent;
};
} single_value;
struct {
unsigned int n_values;
LogEventType_choice_template *list_value;
} value_list;
struct {
LogEventType_choice_template* precondition;
LogEventType_choice_template* implied_template;
} implication_;
dynmatch_struct<LogEventType_choice>* dyn_match;
};
Erroneous_descriptor_t* err_descr;
static Strings_template any_value_field_actionEvent;
static DefaultEvent_template any_value_field_defaultEvent;
static Categorized_template any_value_field_errorLog;
static ExecutorEvent_template any_value_field_executorEvent;
static FunctionEvent_template any_value_field_functionEvent;
static ParallelEvent_template any_value_field_parallelEvent;
static TestcaseEvent_template any_value_field_testcaseOp;
static PortEvent_template any_value_field_portEvent;
static StatisticsType_template any_value_field_statistics;
static TimerEvent_template any_value_field_timerEvent;
static Strings_template any_value_field_userLog;
static VerdictOp_template any_value_field_verdictOp;
static Categorized_template any_value_field_warningLog;
static MatchingEvent_template any_value_field_matchingEvent;
static Categorized_template any_value_field_debugLog;
static ExecutionSummaryType_template any_value_field_executionSummary;
static CHARSTRING_template any_value_field_unhandledEvent;
void copy_value(const LogEventType_choice& other_value);

void copy_template(const LogEventType_choice_template& other_value);

public:
LogEventType_choice_template();
LogEventType_choice_template(template_sel other_value);
LogEventType_choice_template(const LogEventType_choice& other_value);
LogEventType_choice_template(const OPTIONAL<LogEventType_choice>& other_value);
LogEventType_choice_template(LogEventType_choice_template* p_precondition, LogEventType_choice_template* p_implied_template);
LogEventType_choice_template(Dynamic_Match_Interface<LogEventType_choice>* p_dyn_match);
LogEventType_choice_template(const LogEventType_choice_template& other_value);
~LogEventType_choice_template();
void clean_up();
LogEventType_choice_template& operator=(template_sel other_value);
LogEventType_choice_template& operator=(const LogEventType_choice& other_value);
LogEventType_choice_template& operator=(const OPTIONAL<LogEventType_choice>& other_value);
LogEventType_choice_template& operator=(const LogEventType_choice_template& other_value);
boolean match(const LogEventType_choice& other_value, boolean legacy = FALSE) const;
boolean is_value() const;LogEventType_choice valueof() const;
const LogEventType_choice_template to_present() const;
const LogEventType_choice to_value() const;
LogEventType_choice_template& list_item(unsigned int list_index) const;
void set_type(template_sel template_type, unsigned int list_length);
LogEventType_choice::union_selection_type get_union_selection() const;
Strings_template& actionEvent();
const Strings_template& actionEvent() const;
Strings_template& init_actionEvent();
const Strings_template& get_field_actionEvent() const;
DefaultEvent_template& defaultEvent();
const DefaultEvent_template& defaultEvent() const;
DefaultEvent_template& init_defaultEvent();
const DefaultEvent_template& get_field_defaultEvent() const;
Categorized_template& errorLog();
const Categorized_template& errorLog() const;
Categorized_template& init_errorLog();
const Categorized_template& get_field_errorLog() const;
ExecutorEvent_template& executorEvent();
const ExecutorEvent_template& executorEvent() const;
ExecutorEvent_template& init_executorEvent();
const ExecutorEvent_template& get_field_executorEvent() const;
FunctionEvent_template& functionEvent();
const FunctionEvent_template& functionEvent() const;
FunctionEvent_template& init_functionEvent();
const FunctionEvent_template& get_field_functionEvent() const;
ParallelEvent_template& parallelEvent();
const ParallelEvent_template& parallelEvent() const;
ParallelEvent_template& init_parallelEvent();
const ParallelEvent_template& get_field_parallelEvent() const;
TestcaseEvent_template& testcaseOp();
const TestcaseEvent_template& testcaseOp() const;
TestcaseEvent_template& init_testcaseOp();
const TestcaseEvent_template& get_field_testcaseOp() const;
PortEvent_template& portEvent();
const PortEvent_template& portEvent() const;
PortEvent_template& init_portEvent();
const PortEvent_template& get_field_portEvent() const;
StatisticsType_template& statistics();
const StatisticsType_template& statistics() const;
StatisticsType_template& init_statistics();
const StatisticsType_template& get_field_statistics() const;
TimerEvent_template& timerEvent();
const TimerEvent_template& timerEvent() const;
TimerEvent_template& init_timerEvent();
const TimerEvent_template& get_field_timerEvent() const;
Strings_template& userLog();
const Strings_template& userLog() const;
Strings_template& init_userLog();
const Strings_template& get_field_userLog() const;
VerdictOp_template& verdictOp();
const VerdictOp_template& verdictOp() const;
VerdictOp_template& init_verdictOp();
const VerdictOp_template& get_field_verdictOp() const;
Categorized_template& warningLog();
const Categorized_template& warningLog() const;
Categorized_template& init_warningLog();
const Categorized_template& get_field_warningLog() const;
MatchingEvent_template& matchingEvent();
const MatchingEvent_template& matchingEvent() const;
MatchingEvent_template& init_matchingEvent();
const MatchingEvent_template& get_field_matchingEvent() const;
Categorized_template& debugLog();
const Categorized_template& debugLog() const;
Categorized_template& init_debugLog();
const Categorized_template& get_field_debugLog() const;
ExecutionSummaryType_template& executionSummary();
const ExecutionSummaryType_template& executionSummary() const;
ExecutionSummaryType_template& init_executionSummary();
const ExecutionSummaryType_template& get_field_executionSummary() const;
CHARSTRING_template& unhandledEvent();
const CHARSTRING_template& unhandledEvent() const;
CHARSTRING_template& init_unhandledEvent();
const CHARSTRING_template& get_field_unhandledEvent() const;
boolean ischosen(LogEventType_choice::union_selection_type checked_selection) const;
void set_err_descr(Erroneous_descriptor_t* p_err_descr) { err_descr=p_err_descr; }
void valueofv(Base_Type* value) const;
void set_value(template_sel other_value);
void copy_value(const Base_Type* other_value);
void to_valuev(Base_Type* value) const;
Base_Template* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean matchv(const Base_Type* other_value, boolean legacy) const;
void log_matchv(const Base_Type* match_value, boolean legacy) const;
void log() const;
void log_match(const LogEventType_choice& match_value, boolean legacy = FALSE) const;
  void set_implicit_omit();
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
void set_param(Module_Param& param);
Module_Param* get_param(Module_Param_Name& param_name) const;
void check_restriction(template_res t_res, const char* t_name=NULL, boolean legacy = FALSE) const;
};

class Strings : public Record_Type {
  Strings_str__list field_str__list;
  Base_Type* fld_vec[1];
  void init_vec();
public:
  Strings();
  Strings(const Strings& other_value);
  Strings(const Strings_str__list& par_str__list);
inline Strings& operator=(const Strings& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const Strings& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const Strings& other_value) const
    { return !is_equal(&other_value); }

  inline Strings_str__list& str__list()
    {return field_str__list;}
  inline const Strings_str__list& str__list() const
    {return field_str__list;}
Base_Type* clone() const { return new Strings(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 1;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 1; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class Strings_template : public Record_Template {
void set_specific();
public:
Strings_template(): Record_Template() {}
Strings_template(template_sel other_value): Record_Template(other_value) {}
Strings_template(const Strings& other_value): Record_Template() { copy_value(&other_value); }
Strings_template(const OPTIONAL<Strings>& other_value): Record_Template() { copy_optional(&other_value); }
Strings_template(Strings_template* p_precondition, Strings_template* p_implied_template);
Strings_template(Dynamic_Match_Interface<Strings>* p_dyn_match);
Strings_template(const Strings_template& other_value): Record_Template() { copy_template(other_value); }
~Strings_template();
boolean match_dynamic(const Base_Type* match_value) const;
Strings_template& operator=(template_sel other_value);
Strings_template& operator=(const Strings& other_value);
Strings_template& operator=(const OPTIONAL<Strings>& other_value);
Strings_template& operator=(const Strings_template& other_value);
inline boolean match(const Strings& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const Strings& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
Strings valueof() const;
const Strings_template to_present() const;
const Strings to_value() const;
inline Strings_template& list_item(int list_index) const { return *(static_cast<Strings_template*>(get_list_item(list_index))); }
Strings_str__list_template& str__list();
const Strings_str__list_template& str__list() const;
Strings_str__list_template& init_str__list();
const Strings_str__list_template& get_field_str__list() const;
Record_Template* create() const { return new Strings_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static Strings_str__list_template any_value_field_str__list;
Base_Template* get_any_value_field(int field_index) const;
};

class DefaultEvent_choice : public Base_Type {
public:
static const int s_count = 3;

public:
enum union_selection_type { UNBOUND_VALUE = 0, ALT_defaultopActivate = 1, ALT_defaultopDeactivate = 2, ALT_defaultopExit = 3 };
private:
union_selection_type union_selection;
union {
DefaultOp *field_defaultopActivate;
DefaultOp *field_defaultopDeactivate;
DefaultOp *field_defaultopExit;
};
Erroneous_descriptor_t* err_descr;
void copy_value(const DefaultEvent_choice& other_value);

public:
DefaultEvent_choice();
DefaultEvent_choice(const DefaultEvent_choice& other_value);
~DefaultEvent_choice();
DefaultEvent_choice& operator=(const DefaultEvent_choice& other_value);
boolean operator==(const DefaultEvent_choice& other_value) const;
inline boolean operator!=(const DefaultEvent_choice& other_value) const { return !(*this == other_value); }
DefaultOp& defaultopActivate();
const DefaultOp& defaultopActivate() const;
DefaultOp& defaultopDeactivate();
const DefaultOp& defaultopDeactivate() const;
DefaultOp& defaultopExit();
const DefaultOp& defaultopExit() const;
inline union_selection_type get_selection() const { return union_selection; }
boolean ischosen(union_selection_type checked_selection) const;
boolean is_bound() const;
boolean is_value() const;
void clean_up();
boolean is_equal(const Base_Type* other_value) const;
void set_value(const Base_Type* other_value);
Base_Type* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
void set_err_descr(Erroneous_descriptor_t* p_err_descr) { err_descr=p_err_descr; }
Erroneous_descriptor_t* get_err_descr() const { return err_descr; }
void log() const;
void set_param(Module_Param& param);
Module_Param* get_param(Module_Param_Name& param_name) const;
  void set_implicit_omit();
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void encode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...) const;
void decode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...);
int XER_encode(const XERdescriptor_t&, TTCN_Buffer&, unsigned int,unsigned int, int, embed_values_enc_struct_t*) const;
int XER_decode(const XERdescriptor_t&, XmlReaderWrap&, unsigned int, unsigned int, embed_values_dec_struct_t*);
static boolean can_start(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
boolean can_start_v(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
char **collect_ns(const XERdescriptor_t& p_td, size_t& num, boolean& def_ns, unsigned int flavor = 0) const;
int XER_encode_negtest(const Erroneous_descriptor_t* p_err_descr, const XERdescriptor_t& p_td, TTCN_Buffer& p_buf, unsigned int p_flavor, unsigned int p_flavor2, int p_indent, embed_values_enc_struct_t*) const;
};

class DefaultEvent_choice_template : public Base_Template {
union {
struct {
DefaultEvent_choice::union_selection_type union_selection;
union {
DefaultOp_template *field_defaultopActivate;
DefaultOp_template *field_defaultopDeactivate;
DefaultOp_template *field_defaultopExit;
};
} single_value;
struct {
unsigned int n_values;
DefaultEvent_choice_template *list_value;
} value_list;
struct {
DefaultEvent_choice_template* precondition;
DefaultEvent_choice_template* implied_template;
} implication_;
dynmatch_struct<DefaultEvent_choice>* dyn_match;
};
Erroneous_descriptor_t* err_descr;
static DefaultOp_template any_value_field_defaultopActivate;
static DefaultOp_template any_value_field_defaultopDeactivate;
static DefaultOp_template any_value_field_defaultopExit;
void copy_value(const DefaultEvent_choice& other_value);

void copy_template(const DefaultEvent_choice_template& other_value);

public:
DefaultEvent_choice_template();
DefaultEvent_choice_template(template_sel other_value);
DefaultEvent_choice_template(const DefaultEvent_choice& other_value);
DefaultEvent_choice_template(const OPTIONAL<DefaultEvent_choice>& other_value);
DefaultEvent_choice_template(DefaultEvent_choice_template* p_precondition, DefaultEvent_choice_template* p_implied_template);
DefaultEvent_choice_template(Dynamic_Match_Interface<DefaultEvent_choice>* p_dyn_match);
DefaultEvent_choice_template(const DefaultEvent_choice_template& other_value);
~DefaultEvent_choice_template();
void clean_up();
DefaultEvent_choice_template& operator=(template_sel other_value);
DefaultEvent_choice_template& operator=(const DefaultEvent_choice& other_value);
DefaultEvent_choice_template& operator=(const OPTIONAL<DefaultEvent_choice>& other_value);
DefaultEvent_choice_template& operator=(const DefaultEvent_choice_template& other_value);
boolean match(const DefaultEvent_choice& other_value, boolean legacy = FALSE) const;
boolean is_value() const;DefaultEvent_choice valueof() const;
const DefaultEvent_choice_template to_present() const;
const DefaultEvent_choice to_value() const;
DefaultEvent_choice_template& list_item(unsigned int list_index) const;
void set_type(template_sel template_type, unsigned int list_length);
DefaultEvent_choice::union_selection_type get_union_selection() const;
DefaultOp_template& defaultopActivate();
const DefaultOp_template& defaultopActivate() const;
DefaultOp_template& init_defaultopActivate();
const DefaultOp_template& get_field_defaultopActivate() const;
DefaultOp_template& defaultopDeactivate();
const DefaultOp_template& defaultopDeactivate() const;
DefaultOp_template& init_defaultopDeactivate();
const DefaultOp_template& get_field_defaultopDeactivate() const;
DefaultOp_template& defaultopExit();
const DefaultOp_template& defaultopExit() const;
DefaultOp_template& init_defaultopExit();
const DefaultOp_template& get_field_defaultopExit() const;
boolean ischosen(DefaultEvent_choice::union_selection_type checked_selection) const;
void set_err_descr(Erroneous_descriptor_t* p_err_descr) { err_descr=p_err_descr; }
void valueofv(Base_Type* value) const;
void set_value(template_sel other_value);
void copy_value(const Base_Type* other_value);
void to_valuev(Base_Type* value) const;
Base_Template* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean matchv(const Base_Type* other_value, boolean legacy) const;
void log_matchv(const Base_Type* match_value, boolean legacy) const;
void log() const;
void log_match(const DefaultEvent_choice& match_value, boolean legacy = FALSE) const;
  void set_implicit_omit();
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
void set_param(Module_Param& param);
Module_Param* get_param(Module_Param_Name& param_name) const;
void check_restriction(template_res t_res, const char* t_name=NULL, boolean legacy = FALSE) const;
};

class DefaultEnd : public Enum_Type { // enum
friend class DefaultEnd_template;
public:
enum enum_type { break__ = 0, finish = 1, repeat__ = 2, UNKNOWN_VALUE = 3, UNBOUND_VALUE = 4 };
private:
enum_type enum_value;

public:
DefaultEnd();
DefaultEnd(int other_value);
DefaultEnd(enum_type other_value);
DefaultEnd(const DefaultEnd& other_value);

DefaultEnd& operator=(int other_value);
DefaultEnd& operator=(enum_type other_value);
DefaultEnd& operator=(const DefaultEnd& other_value);

boolean operator==(int other_value) const;
boolean operator==(enum_type other_value) const;
boolean operator==(const DefaultEnd& other_value) const;
inline boolean operator!=(int other_value) const { return !(*this == other_value); }
inline boolean operator!=(enum_type other_value) const { return !(*this == other_value); }
inline boolean operator!=(const DefaultEnd& other_value) const { return !(*this == other_value); }
boolean operator<(int other_value) const;
boolean operator<(enum_type other_value) const;
boolean operator<(const DefaultEnd& other_value) const;
boolean operator>(int other_value) const;
boolean operator>(enum_type other_value) const;
boolean operator>(const DefaultEnd& other_value) const;
inline boolean operator<=(int other_value) const { return !(*this > other_value); }
inline boolean operator<=(enum_type other_value) const { return !(*this > other_value); }
inline boolean operator<=(const DefaultEnd& other_value) const { return !(*this > other_value); }
inline boolean operator>=(int other_value) const { return !(*this < other_value); }
inline boolean operator>=(enum_type other_value) const { return !(*this < other_value); }
inline boolean operator>=(const DefaultEnd& other_value) const { return !(*this < other_value); }

static const char *enum_to_str(enum_type enum_par, boolean txt = FALSE);
static enum_type str_to_enum(const char *str_par, const int* int_par = NULL, const int* int_par2 = NULL);
static boolean is_valid_enum(int int_par);

static int enum2int(enum_type enum_par);
static int enum2int(const DefaultEnd& enum_par);
int as_int() const { return enum2int(enum_value); }
void from_int(int p_val) { *this = p_val; }
void int2enum(int int_val);
operator enum_type() const;
inline boolean is_bound() const { return enum_value != UNBOUND_VALUE; }
inline boolean is_value() const { return enum_value != UNBOUND_VALUE; }
inline void clean_up(){ enum_value = UNBOUND_VALUE; }
boolean is_equal(const Base_Type* other_value) const;
void set_value(const Base_Type* other_value);
Base_Type* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
void log() const;
void set_param(Module_Param& param);
static int* get_int_for_param(enum_type );
Module_Param* get_param(Module_Param_Name& param_name) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void encode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...) const;
void decode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...);
int XER_encode(const XERdescriptor_t&, TTCN_Buffer&, unsigned int,unsigned int, int, embed_values_enc_struct_t*) const;
int XER_decode(const XERdescriptor_t&, XmlReaderWrap&, unsigned int, unsigned int, embed_values_dec_struct_t*);
static boolean can_start(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
boolean can_start_v(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
};

class DefaultEnd_template : public Base_Template {
union {
DefaultEnd::enum_type single_value;
struct {
unsigned int n_values;
DefaultEnd_template *list_value;
} value_list;
struct {
DefaultEnd_template* precondition;
DefaultEnd_template* implied_template;
} implication_;
dynmatch_struct<DefaultEnd>* dyn_match;
};

void copy_template(const DefaultEnd_template& other_value);

public:
DefaultEnd_template();
DefaultEnd_template(template_sel other_value);
DefaultEnd_template(int other_value);
DefaultEnd_template(DefaultEnd::enum_type other_value);
DefaultEnd_template(const DefaultEnd& other_value);
DefaultEnd_template(const OPTIONAL<DefaultEnd>& other_value);
DefaultEnd_template(DefaultEnd_template* p_precondition, DefaultEnd_template* p_implied_template);
DefaultEnd_template(Dynamic_Match_Interface<DefaultEnd>* p_dyn_match);
DefaultEnd_template(const DefaultEnd_template& other_value);
~DefaultEnd_template();

boolean is_bound() const;
boolean is_value() const;
void clean_up();
DefaultEnd_template& operator=(template_sel other_value);
DefaultEnd_template& operator=(int other_value);
DefaultEnd_template& operator=(DefaultEnd::enum_type other_value);
DefaultEnd_template& operator=(const DefaultEnd& other_value);
DefaultEnd_template& operator=(const OPTIONAL<DefaultEnd>& other_value);
DefaultEnd_template& operator=(const DefaultEnd_template& other_value);

boolean match(DefaultEnd::enum_type other_value, boolean legacy = FALSE) const;
boolean match(const DefaultEnd& other_value, boolean legacy = FALSE) const;
DefaultEnd::enum_type valueof() const;
const DefaultEnd_template to_present() const;
const DefaultEnd to_value() const;
void set_type(template_sel template_type, unsigned int list_length = 0);
DefaultEnd_template& list_item(unsigned int list_index);
void valueofv(Base_Type* value) const;
void set_value(template_sel other_value);
void copy_value(const Base_Type* other_value);
void to_valuev(Base_Type* value) const;
Base_Template* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean matchv(const Base_Type* other_value, boolean legacy) const;
void log_matchv(const Base_Type* match_value, boolean legacy) const;
void log() const;
void log_match(const DefaultEnd& match_value, boolean legacy = FALSE) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
void set_param(Module_Param& param);
Module_Param* get_param(Module_Param_Name& param_name) const;
};

class DefaultOp : public Record_Type {
  CHARSTRING field_name;
  INTEGER field_id;
  DefaultEnd field_end;
  Base_Type* fld_vec[3];
  void init_vec();
public:
  DefaultOp();
  DefaultOp(const DefaultOp& other_value);
  DefaultOp(const CHARSTRING& par_name,
    const INTEGER& par_id,
    const DefaultEnd& par_end);
inline DefaultOp& operator=(const DefaultOp& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const DefaultOp& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const DefaultOp& other_value) const
    { return !is_equal(&other_value); }

  inline CHARSTRING& name()
    {return field_name;}
  inline const CHARSTRING& name() const
    {return field_name;}
  inline INTEGER& id()
    {return field_id;}
  inline const INTEGER& id() const
    {return field_id;}
  inline DefaultEnd& end()
    {return field_end;}
  inline const DefaultEnd& end() const
    {return field_end;}
Base_Type* clone() const { return new DefaultOp(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 3;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 3; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class DefaultOp_template : public Record_Template {
void set_specific();
public:
DefaultOp_template(): Record_Template() {}
DefaultOp_template(template_sel other_value): Record_Template(other_value) {}
DefaultOp_template(const DefaultOp& other_value): Record_Template() { copy_value(&other_value); }
DefaultOp_template(const OPTIONAL<DefaultOp>& other_value): Record_Template() { copy_optional(&other_value); }
DefaultOp_template(DefaultOp_template* p_precondition, DefaultOp_template* p_implied_template);
DefaultOp_template(Dynamic_Match_Interface<DefaultOp>* p_dyn_match);
DefaultOp_template(const DefaultOp_template& other_value): Record_Template() { copy_template(other_value); }
~DefaultOp_template();
boolean match_dynamic(const Base_Type* match_value) const;
DefaultOp_template& operator=(template_sel other_value);
DefaultOp_template& operator=(const DefaultOp& other_value);
DefaultOp_template& operator=(const OPTIONAL<DefaultOp>& other_value);
DefaultOp_template& operator=(const DefaultOp_template& other_value);
inline boolean match(const DefaultOp& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const DefaultOp& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
DefaultOp valueof() const;
const DefaultOp_template to_present() const;
const DefaultOp to_value() const;
inline DefaultOp_template& list_item(int list_index) const { return *(static_cast<DefaultOp_template*>(get_list_item(list_index))); }
CHARSTRING_template& name();
const CHARSTRING_template& name() const;
CHARSTRING_template& init_name();
const CHARSTRING_template& get_field_name() const;
INTEGER_template& id();
const INTEGER_template& id() const;
INTEGER_template& init_id();
const INTEGER_template& get_field_id() const;
DefaultEnd_template& end();
const DefaultEnd_template& end() const;
DefaultEnd_template& init_end();
const DefaultEnd_template& get_field_end() const;
Record_Template* create() const { return new DefaultOp_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static CHARSTRING_template any_value_field_name;
static INTEGER_template any_value_field_id;
static DefaultEnd_template any_value_field_end;
Base_Template* get_any_value_field(int field_index) const;
};

class DefaultEvent : public Record_Type {
  DefaultEvent_choice field_choice;
  Base_Type* fld_vec[1];
  void init_vec();
public:
  DefaultEvent();
  DefaultEvent(const DefaultEvent& other_value);
  DefaultEvent(const DefaultEvent_choice& par_choice);
inline DefaultEvent& operator=(const DefaultEvent& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const DefaultEvent& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const DefaultEvent& other_value) const
    { return !is_equal(&other_value); }

  inline DefaultEvent_choice& choice()
    {return field_choice;}
  inline const DefaultEvent_choice& choice() const
    {return field_choice;}
Base_Type* clone() const { return new DefaultEvent(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 1;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 1; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class DefaultEvent_template : public Record_Template {
void set_specific();
public:
DefaultEvent_template(): Record_Template() {}
DefaultEvent_template(template_sel other_value): Record_Template(other_value) {}
DefaultEvent_template(const DefaultEvent& other_value): Record_Template() { copy_value(&other_value); }
DefaultEvent_template(const OPTIONAL<DefaultEvent>& other_value): Record_Template() { copy_optional(&other_value); }
DefaultEvent_template(DefaultEvent_template* p_precondition, DefaultEvent_template* p_implied_template);
DefaultEvent_template(Dynamic_Match_Interface<DefaultEvent>* p_dyn_match);
DefaultEvent_template(const DefaultEvent_template& other_value): Record_Template() { copy_template(other_value); }
~DefaultEvent_template();
boolean match_dynamic(const Base_Type* match_value) const;
DefaultEvent_template& operator=(template_sel other_value);
DefaultEvent_template& operator=(const DefaultEvent& other_value);
DefaultEvent_template& operator=(const OPTIONAL<DefaultEvent>& other_value);
DefaultEvent_template& operator=(const DefaultEvent_template& other_value);
inline boolean match(const DefaultEvent& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const DefaultEvent& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
DefaultEvent valueof() const;
const DefaultEvent_template to_present() const;
const DefaultEvent to_value() const;
inline DefaultEvent_template& list_item(int list_index) const { return *(static_cast<DefaultEvent_template*>(get_list_item(list_index))); }
DefaultEvent_choice_template& choice();
const DefaultEvent_choice_template& choice() const;
DefaultEvent_choice_template& init_choice();
const DefaultEvent_choice_template& get_field_choice() const;
Record_Template* create() const { return new DefaultEvent_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static DefaultEvent_choice_template any_value_field_choice;
Base_Template* get_any_value_field(int field_index) const;
};

class Categorized : public Record_Type {
  INTEGER field_category;
  CHARSTRING field_text;
  Base_Type* fld_vec[2];
  void init_vec();
public:
  Categorized();
  Categorized(const Categorized& other_value);
  Categorized(const INTEGER& par_category,
    const CHARSTRING& par_text);
inline Categorized& operator=(const Categorized& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const Categorized& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const Categorized& other_value) const
    { return !is_equal(&other_value); }

  inline INTEGER& category()
    {return field_category;}
  inline const INTEGER& category() const
    {return field_category;}
  inline CHARSTRING& text()
    {return field_text;}
  inline const CHARSTRING& text() const
    {return field_text;}
Base_Type* clone() const { return new Categorized(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 2;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 2; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class Categorized_template : public Record_Template {
void set_specific();
public:
Categorized_template(): Record_Template() {}
Categorized_template(template_sel other_value): Record_Template(other_value) {}
Categorized_template(const Categorized& other_value): Record_Template() { copy_value(&other_value); }
Categorized_template(const OPTIONAL<Categorized>& other_value): Record_Template() { copy_optional(&other_value); }
Categorized_template(Categorized_template* p_precondition, Categorized_template* p_implied_template);
Categorized_template(Dynamic_Match_Interface<Categorized>* p_dyn_match);
Categorized_template(const Categorized_template& other_value): Record_Template() { copy_template(other_value); }
~Categorized_template();
boolean match_dynamic(const Base_Type* match_value) const;
Categorized_template& operator=(template_sel other_value);
Categorized_template& operator=(const Categorized& other_value);
Categorized_template& operator=(const OPTIONAL<Categorized>& other_value);
Categorized_template& operator=(const Categorized_template& other_value);
inline boolean match(const Categorized& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const Categorized& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
Categorized valueof() const;
const Categorized_template to_present() const;
const Categorized to_value() const;
inline Categorized_template& list_item(int list_index) const { return *(static_cast<Categorized_template*>(get_list_item(list_index))); }
INTEGER_template& category();
const INTEGER_template& category() const;
INTEGER_template& init_category();
const INTEGER_template& get_field_category() const;
CHARSTRING_template& text();
const CHARSTRING_template& text() const;
CHARSTRING_template& init_text();
const CHARSTRING_template& get_field_text() const;
Record_Template* create() const { return new Categorized_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static INTEGER_template any_value_field_category;
static CHARSTRING_template any_value_field_text;
Base_Template* get_any_value_field(int field_index) const;
};

class ExecutorEvent_choice : public Base_Type {
public:
static const int s_count = 7;

public:
enum union_selection_type { UNBOUND_VALUE = 0, ALT_executorRuntime = 1, ALT_executorConfigdata = 2, ALT_extcommandStart = 3, ALT_extcommandSuccess = 4, ALT_executorComponent = 5, ALT_logOptions = 6, ALT_executorMisc = 7 };
private:
union_selection_type union_selection;
union {
ExecutorRuntime *field_executorRuntime;
ExecutorConfigdata *field_executorConfigdata;
CHARSTRING *field_extcommandStart;
CHARSTRING *field_extcommandSuccess;
ExecutorComponent *field_executorComponent;
CHARSTRING *field_logOptions;
ExecutorUnqualified *field_executorMisc;
};
Erroneous_descriptor_t* err_descr;
void copy_value(const ExecutorEvent_choice& other_value);

public:
ExecutorEvent_choice();
ExecutorEvent_choice(const ExecutorEvent_choice& other_value);
~ExecutorEvent_choice();
ExecutorEvent_choice& operator=(const ExecutorEvent_choice& other_value);
boolean operator==(const ExecutorEvent_choice& other_value) const;
inline boolean operator!=(const ExecutorEvent_choice& other_value) const { return !(*this == other_value); }
ExecutorRuntime& executorRuntime();
const ExecutorRuntime& executorRuntime() const;
ExecutorConfigdata& executorConfigdata();
const ExecutorConfigdata& executorConfigdata() const;
CHARSTRING& extcommandStart();
const CHARSTRING& extcommandStart() const;
CHARSTRING& extcommandSuccess();
const CHARSTRING& extcommandSuccess() const;
ExecutorComponent& executorComponent();
const ExecutorComponent& executorComponent() const;
CHARSTRING& logOptions();
const CHARSTRING& logOptions() const;
ExecutorUnqualified& executorMisc();
const ExecutorUnqualified& executorMisc() const;
inline union_selection_type get_selection() const { return union_selection; }
boolean ischosen(union_selection_type checked_selection) const;
boolean is_bound() const;
boolean is_value() const;
void clean_up();
boolean is_equal(const Base_Type* other_value) const;
void set_value(const Base_Type* other_value);
Base_Type* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
void set_err_descr(Erroneous_descriptor_t* p_err_descr) { err_descr=p_err_descr; }
Erroneous_descriptor_t* get_err_descr() const { return err_descr; }
void log() const;
void set_param(Module_Param& param);
Module_Param* get_param(Module_Param_Name& param_name) const;
  void set_implicit_omit();
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void encode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...) const;
void decode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...);
int XER_encode(const XERdescriptor_t&, TTCN_Buffer&, unsigned int,unsigned int, int, embed_values_enc_struct_t*) const;
int XER_decode(const XERdescriptor_t&, XmlReaderWrap&, unsigned int, unsigned int, embed_values_dec_struct_t*);
static boolean can_start(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
boolean can_start_v(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
char **collect_ns(const XERdescriptor_t& p_td, size_t& num, boolean& def_ns, unsigned int flavor = 0) const;
int XER_encode_negtest(const Erroneous_descriptor_t* p_err_descr, const XERdescriptor_t& p_td, TTCN_Buffer& p_buf, unsigned int p_flavor, unsigned int p_flavor2, int p_indent, embed_values_enc_struct_t*) const;
};

class ExecutorEvent_choice_template : public Base_Template {
union {
struct {
ExecutorEvent_choice::union_selection_type union_selection;
union {
ExecutorRuntime_template *field_executorRuntime;
ExecutorConfigdata_template *field_executorConfigdata;
CHARSTRING_template *field_extcommandStart;
CHARSTRING_template *field_extcommandSuccess;
ExecutorComponent_template *field_executorComponent;
CHARSTRING_template *field_logOptions;
ExecutorUnqualified_template *field_executorMisc;
};
} single_value;
struct {
unsigned int n_values;
ExecutorEvent_choice_template *list_value;
} value_list;
struct {
ExecutorEvent_choice_template* precondition;
ExecutorEvent_choice_template* implied_template;
} implication_;
dynmatch_struct<ExecutorEvent_choice>* dyn_match;
};
Erroneous_descriptor_t* err_descr;
static ExecutorRuntime_template any_value_field_executorRuntime;
static ExecutorConfigdata_template any_value_field_executorConfigdata;
static CHARSTRING_template any_value_field_extcommandStart;
static CHARSTRING_template any_value_field_extcommandSuccess;
static ExecutorComponent_template any_value_field_executorComponent;
static CHARSTRING_template any_value_field_logOptions;
static ExecutorUnqualified_template any_value_field_executorMisc;
void copy_value(const ExecutorEvent_choice& other_value);

void copy_template(const ExecutorEvent_choice_template& other_value);

public:
ExecutorEvent_choice_template();
ExecutorEvent_choice_template(template_sel other_value);
ExecutorEvent_choice_template(const ExecutorEvent_choice& other_value);
ExecutorEvent_choice_template(const OPTIONAL<ExecutorEvent_choice>& other_value);
ExecutorEvent_choice_template(ExecutorEvent_choice_template* p_precondition, ExecutorEvent_choice_template* p_implied_template);
ExecutorEvent_choice_template(Dynamic_Match_Interface<ExecutorEvent_choice>* p_dyn_match);
ExecutorEvent_choice_template(const ExecutorEvent_choice_template& other_value);
~ExecutorEvent_choice_template();
void clean_up();
ExecutorEvent_choice_template& operator=(template_sel other_value);
ExecutorEvent_choice_template& operator=(const ExecutorEvent_choice& other_value);
ExecutorEvent_choice_template& operator=(const OPTIONAL<ExecutorEvent_choice>& other_value);
ExecutorEvent_choice_template& operator=(const ExecutorEvent_choice_template& other_value);
boolean match(const ExecutorEvent_choice& other_value, boolean legacy = FALSE) const;
boolean is_value() const;ExecutorEvent_choice valueof() const;
const ExecutorEvent_choice_template to_present() const;
const ExecutorEvent_choice to_value() const;
ExecutorEvent_choice_template& list_item(unsigned int list_index) const;
void set_type(template_sel template_type, unsigned int list_length);
ExecutorEvent_choice::union_selection_type get_union_selection() const;
ExecutorRuntime_template& executorRuntime();
const ExecutorRuntime_template& executorRuntime() const;
ExecutorRuntime_template& init_executorRuntime();
const ExecutorRuntime_template& get_field_executorRuntime() const;
ExecutorConfigdata_template& executorConfigdata();
const ExecutorConfigdata_template& executorConfigdata() const;
ExecutorConfigdata_template& init_executorConfigdata();
const ExecutorConfigdata_template& get_field_executorConfigdata() const;
CHARSTRING_template& extcommandStart();
const CHARSTRING_template& extcommandStart() const;
CHARSTRING_template& init_extcommandStart();
const CHARSTRING_template& get_field_extcommandStart() const;
CHARSTRING_template& extcommandSuccess();
const CHARSTRING_template& extcommandSuccess() const;
CHARSTRING_template& init_extcommandSuccess();
const CHARSTRING_template& get_field_extcommandSuccess() const;
ExecutorComponent_template& executorComponent();
const ExecutorComponent_template& executorComponent() const;
ExecutorComponent_template& init_executorComponent();
const ExecutorComponent_template& get_field_executorComponent() const;
CHARSTRING_template& logOptions();
const CHARSTRING_template& logOptions() const;
CHARSTRING_template& init_logOptions();
const CHARSTRING_template& get_field_logOptions() const;
ExecutorUnqualified_template& executorMisc();
const ExecutorUnqualified_template& executorMisc() const;
ExecutorUnqualified_template& init_executorMisc();
const ExecutorUnqualified_template& get_field_executorMisc() const;
boolean ischosen(ExecutorEvent_choice::union_selection_type checked_selection) const;
void set_err_descr(Erroneous_descriptor_t* p_err_descr) { err_descr=p_err_descr; }
void valueofv(Base_Type* value) const;
void set_value(template_sel other_value);
void copy_value(const Base_Type* other_value);
void to_valuev(Base_Type* value) const;
Base_Template* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean matchv(const Base_Type* other_value, boolean legacy) const;
void log_matchv(const Base_Type* match_value, boolean legacy) const;
void log() const;
void log_match(const ExecutorEvent_choice& match_value, boolean legacy = FALSE) const;
  void set_implicit_omit();
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
void set_param(Module_Param& param);
Module_Param* get_param(Module_Param_Name& param_name) const;
void check_restriction(template_res t_res, const char* t_name=NULL, boolean legacy = FALSE) const;
};

class ExecutorRuntime_reason : public Enum_Type { // enum
friend class ExecutorRuntime_reason_template;
public:
enum enum_type { connected__to__mc = 0, disconnected__from__mc = 1, initialization__of__modules__failed = 2, exit__requested__from__mc__hc = 3, exit__requested__from__mc__mtc = 4, stop__was__requested__from__mc__ignored__on__idle__mtc = 5, stop__was__requested__from__mc = 6, stop__was__requested__from__mc__ignored__on__idle__ptc = 7, executing__testcase__in__module = 8, performing__error__recovery = 9, initializing__module = 10, initialization__of__module__finished = 11, stopping__current__testcase = 12, exiting = 13, host__controller__started = 14, host__controller__finished = 15, stopping__control__part__execution = 16, stopping__test__component__execution = 17, waiting__for__ptcs__to__finish = 18, user__paused__waiting__to__resume = 19, resuming__execution = 20, terminating__execution = 21, mtc__created = 22, overload__check = 23, overload__check__fail = 24, overloaded__no__more = 25, executor__start__single__mode = 26, executor__finish__single__mode = 27, fd__limits = 28, UNKNOWN_VALUE = 29, UNBOUND_VALUE = 30 };
private:
enum_type enum_value;

public:
ExecutorRuntime_reason();
ExecutorRuntime_reason(int other_value);
ExecutorRuntime_reason(enum_type other_value);
ExecutorRuntime_reason(const ExecutorRuntime_reason& other_value);

ExecutorRuntime_reason& operator=(int other_value);
ExecutorRuntime_reason& operator=(enum_type other_value);
ExecutorRuntime_reason& operator=(const ExecutorRuntime_reason& other_value);

boolean operator==(int other_value) const;
boolean operator==(enum_type other_value) const;
boolean operator==(const ExecutorRuntime_reason& other_value) const;
inline boolean operator!=(int other_value) const { return !(*this == other_value); }
inline boolean operator!=(enum_type other_value) const { return !(*this == other_value); }
inline boolean operator!=(const ExecutorRuntime_reason& other_value) const { return !(*this == other_value); }
boolean operator<(int other_value) const;
boolean operator<(enum_type other_value) const;
boolean operator<(const ExecutorRuntime_reason& other_value) const;
boolean operator>(int other_value) const;
boolean operator>(enum_type other_value) const;
boolean operator>(const ExecutorRuntime_reason& other_value) const;
inline boolean operator<=(int other_value) const { return !(*this > other_value); }
inline boolean operator<=(enum_type other_value) const { return !(*this > other_value); }
inline boolean operator<=(const ExecutorRuntime_reason& other_value) const { return !(*this > other_value); }
inline boolean operator>=(int other_value) const { return !(*this < other_value); }
inline boolean operator>=(enum_type other_value) const { return !(*this < other_value); }
inline boolean operator>=(const ExecutorRuntime_reason& other_value) const { return !(*this < other_value); }

static const char *enum_to_str(enum_type enum_par);
static enum_type str_to_enum(const char *str_par, const int* int_par = NULL, const int* int_par2 = NULL);
static boolean is_valid_enum(int int_par);

static int enum2int(enum_type enum_par);
static int enum2int(const ExecutorRuntime_reason& enum_par);
int as_int() const { return enum2int(enum_value); }
void from_int(int p_val) { *this = p_val; }
void int2enum(int int_val);
operator enum_type() const;
inline boolean is_bound() const { return enum_value != UNBOUND_VALUE; }
inline boolean is_value() const { return enum_value != UNBOUND_VALUE; }
inline void clean_up(){ enum_value = UNBOUND_VALUE; }
boolean is_equal(const Base_Type* other_value) const;
void set_value(const Base_Type* other_value);
Base_Type* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
void log() const;
void set_param(Module_Param& param);
static int* get_int_for_param(enum_type );
Module_Param* get_param(Module_Param_Name& param_name) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void encode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...) const;
void decode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...);
int XER_encode(const XERdescriptor_t&, TTCN_Buffer&, unsigned int,unsigned int, int, embed_values_enc_struct_t*) const;
int XER_decode(const XERdescriptor_t&, XmlReaderWrap&, unsigned int, unsigned int, embed_values_dec_struct_t*);
static boolean can_start(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
boolean can_start_v(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
};

class ExecutorRuntime_reason_template : public Base_Template {
union {
ExecutorRuntime_reason::enum_type single_value;
struct {
unsigned int n_values;
ExecutorRuntime_reason_template *list_value;
} value_list;
struct {
ExecutorRuntime_reason_template* precondition;
ExecutorRuntime_reason_template* implied_template;
} implication_;
dynmatch_struct<ExecutorRuntime_reason>* dyn_match;
};

void copy_template(const ExecutorRuntime_reason_template& other_value);

public:
ExecutorRuntime_reason_template();
ExecutorRuntime_reason_template(template_sel other_value);
ExecutorRuntime_reason_template(int other_value);
ExecutorRuntime_reason_template(ExecutorRuntime_reason::enum_type other_value);
ExecutorRuntime_reason_template(const ExecutorRuntime_reason& other_value);
ExecutorRuntime_reason_template(const OPTIONAL<ExecutorRuntime_reason>& other_value);
ExecutorRuntime_reason_template(ExecutorRuntime_reason_template* p_precondition, ExecutorRuntime_reason_template* p_implied_template);
ExecutorRuntime_reason_template(Dynamic_Match_Interface<ExecutorRuntime_reason>* p_dyn_match);
ExecutorRuntime_reason_template(const ExecutorRuntime_reason_template& other_value);
~ExecutorRuntime_reason_template();

boolean is_bound() const;
boolean is_value() const;
void clean_up();
ExecutorRuntime_reason_template& operator=(template_sel other_value);
ExecutorRuntime_reason_template& operator=(int other_value);
ExecutorRuntime_reason_template& operator=(ExecutorRuntime_reason::enum_type other_value);
ExecutorRuntime_reason_template& operator=(const ExecutorRuntime_reason& other_value);
ExecutorRuntime_reason_template& operator=(const OPTIONAL<ExecutorRuntime_reason>& other_value);
ExecutorRuntime_reason_template& operator=(const ExecutorRuntime_reason_template& other_value);

boolean match(ExecutorRuntime_reason::enum_type other_value, boolean legacy = FALSE) const;
boolean match(const ExecutorRuntime_reason& other_value, boolean legacy = FALSE) const;
ExecutorRuntime_reason::enum_type valueof() const;
const ExecutorRuntime_reason_template to_present() const;
const ExecutorRuntime_reason to_value() const;
void set_type(template_sel template_type, unsigned int list_length = 0);
ExecutorRuntime_reason_template& list_item(unsigned int list_index);
void valueofv(Base_Type* value) const;
void set_value(template_sel other_value);
void copy_value(const Base_Type* other_value);
void to_valuev(Base_Type* value) const;
Base_Template* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean matchv(const Base_Type* other_value, boolean legacy) const;
void log_matchv(const Base_Type* match_value, boolean legacy) const;
void log() const;
void log_match(const ExecutorRuntime_reason& match_value, boolean legacy = FALSE) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
void set_param(Module_Param& param);
Module_Param* get_param(Module_Param_Name& param_name) const;
};

class ExecutorRuntime : public Record_Type {
  ExecutorRuntime_reason field_reason;
  OPTIONAL<CHARSTRING> field_module__name;
  OPTIONAL<CHARSTRING> field_testcase__name;
  OPTIONAL<INTEGER> field_pid;
  OPTIONAL<INTEGER> field_fd__setsize;
  Base_Type* fld_vec[5];
  void init_vec();
public:
  ExecutorRuntime();
  ExecutorRuntime(const ExecutorRuntime& other_value);
  ExecutorRuntime(const ExecutorRuntime_reason& par_reason,
    const OPTIONAL<CHARSTRING>& par_module__name,
    const OPTIONAL<CHARSTRING>& par_testcase__name,
    const OPTIONAL<INTEGER>& par_pid,
    const OPTIONAL<INTEGER>& par_fd__setsize);
inline ExecutorRuntime& operator=(const ExecutorRuntime& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const ExecutorRuntime& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const ExecutorRuntime& other_value) const
    { return !is_equal(&other_value); }

  inline ExecutorRuntime_reason& reason()
    {return field_reason;}
  inline const ExecutorRuntime_reason& reason() const
    {return field_reason;}
  inline OPTIONAL<CHARSTRING>& module__name()
    {return field_module__name;}
  inline const OPTIONAL<CHARSTRING>& module__name() const
    {return field_module__name;}
  inline OPTIONAL<CHARSTRING>& testcase__name()
    {return field_testcase__name;}
  inline const OPTIONAL<CHARSTRING>& testcase__name() const
    {return field_testcase__name;}
  inline OPTIONAL<INTEGER>& pid()
    {return field_pid;}
  inline const OPTIONAL<INTEGER>& pid() const
    {return field_pid;}
  inline OPTIONAL<INTEGER>& fd__setsize()
    {return field_fd__setsize;}
  inline const OPTIONAL<INTEGER>& fd__setsize() const
    {return field_fd__setsize;}
Base_Type* clone() const { return new ExecutorRuntime(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 5;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 5; }
int optional_count() const { return 4; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const int optional_indexes[];
const int* get_optional_indexes() const;

static const int optional_indexes_asn[];
const int* get_optional_indexes_asn() const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class ExecutorRuntime_template : public Record_Template {
void set_specific();
public:
ExecutorRuntime_template(): Record_Template() {}
ExecutorRuntime_template(template_sel other_value): Record_Template(other_value) {}
ExecutorRuntime_template(const ExecutorRuntime& other_value): Record_Template() { copy_value(&other_value); }
ExecutorRuntime_template(const OPTIONAL<ExecutorRuntime>& other_value): Record_Template() { copy_optional(&other_value); }
ExecutorRuntime_template(ExecutorRuntime_template* p_precondition, ExecutorRuntime_template* p_implied_template);
ExecutorRuntime_template(Dynamic_Match_Interface<ExecutorRuntime>* p_dyn_match);
ExecutorRuntime_template(const ExecutorRuntime_template& other_value): Record_Template() { copy_template(other_value); }
~ExecutorRuntime_template();
boolean match_dynamic(const Base_Type* match_value) const;
ExecutorRuntime_template& operator=(template_sel other_value);
ExecutorRuntime_template& operator=(const ExecutorRuntime& other_value);
ExecutorRuntime_template& operator=(const OPTIONAL<ExecutorRuntime>& other_value);
ExecutorRuntime_template& operator=(const ExecutorRuntime_template& other_value);
inline boolean match(const ExecutorRuntime& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const ExecutorRuntime& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
ExecutorRuntime valueof() const;
const ExecutorRuntime_template to_present() const;
const ExecutorRuntime to_value() const;
inline ExecutorRuntime_template& list_item(int list_index) const { return *(static_cast<ExecutorRuntime_template*>(get_list_item(list_index))); }
ExecutorRuntime_reason_template& reason();
const ExecutorRuntime_reason_template& reason() const;
ExecutorRuntime_reason_template& init_reason();
const ExecutorRuntime_reason_template& get_field_reason() const;
CHARSTRING_template& module__name();
const CHARSTRING_template& module__name() const;
CHARSTRING_template& init_module__name();
const CHARSTRING_template& get_field_module__name() const;
CHARSTRING_template& testcase__name();
const CHARSTRING_template& testcase__name() const;
CHARSTRING_template& init_testcase__name();
const CHARSTRING_template& get_field_testcase__name() const;
INTEGER_template& pid();
const INTEGER_template& pid() const;
INTEGER_template& init_pid();
const INTEGER_template& get_field_pid() const;
INTEGER_template& fd__setsize();
const INTEGER_template& fd__setsize() const;
INTEGER_template& init_fd__setsize();
const INTEGER_template& get_field_fd__setsize() const;
Record_Template* create() const { return new ExecutorRuntime_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static ExecutorRuntime_reason_template any_value_field_reason;
static CHARSTRING_template any_value_field_module__name;
static CHARSTRING_template any_value_field_testcase__name;
static INTEGER_template any_value_field_pid;
static INTEGER_template any_value_field_fd__setsize;
Base_Template* get_any_value_field(int field_index) const;
};

class ExecutorConfigdata_reason : public Enum_Type { // enum
friend class ExecutorConfigdata_reason_template;
public:
enum enum_type { received__from__mc = 0, processing__failed = 1, processing__succeeded = 2, module__has__parameters = 3, using__config__file = 4, overriding__testcase__list = 5, UNKNOWN_VALUE = 6, UNBOUND_VALUE = 7 };
private:
enum_type enum_value;

public:
ExecutorConfigdata_reason();
ExecutorConfigdata_reason(int other_value);
ExecutorConfigdata_reason(enum_type other_value);
ExecutorConfigdata_reason(const ExecutorConfigdata_reason& other_value);

ExecutorConfigdata_reason& operator=(int other_value);
ExecutorConfigdata_reason& operator=(enum_type other_value);
ExecutorConfigdata_reason& operator=(const ExecutorConfigdata_reason& other_value);

boolean operator==(int other_value) const;
boolean operator==(enum_type other_value) const;
boolean operator==(const ExecutorConfigdata_reason& other_value) const;
inline boolean operator!=(int other_value) const { return !(*this == other_value); }
inline boolean operator!=(enum_type other_value) const { return !(*this == other_value); }
inline boolean operator!=(const ExecutorConfigdata_reason& other_value) const { return !(*this == other_value); }
boolean operator<(int other_value) const;
boolean operator<(enum_type other_value) const;
boolean operator<(const ExecutorConfigdata_reason& other_value) const;
boolean operator>(int other_value) const;
boolean operator>(enum_type other_value) const;
boolean operator>(const ExecutorConfigdata_reason& other_value) const;
inline boolean operator<=(int other_value) const { return !(*this > other_value); }
inline boolean operator<=(enum_type other_value) const { return !(*this > other_value); }
inline boolean operator<=(const ExecutorConfigdata_reason& other_value) const { return !(*this > other_value); }
inline boolean operator>=(int other_value) const { return !(*this < other_value); }
inline boolean operator>=(enum_type other_value) const { return !(*this < other_value); }
inline boolean operator>=(const ExecutorConfigdata_reason& other_value) const { return !(*this < other_value); }

static const char *enum_to_str(enum_type enum_par);
static enum_type str_to_enum(const char *str_par, const int* int_par = NULL, const int* int_par2 = NULL);
static boolean is_valid_enum(int int_par);

static int enum2int(enum_type enum_par);
static int enum2int(const ExecutorConfigdata_reason& enum_par);
int as_int() const { return enum2int(enum_value); }
void from_int(int p_val) { *this = p_val; }
void int2enum(int int_val);
operator enum_type() const;
inline boolean is_bound() const { return enum_value != UNBOUND_VALUE; }
inline boolean is_value() const { return enum_value != UNBOUND_VALUE; }
inline void clean_up(){ enum_value = UNBOUND_VALUE; }
boolean is_equal(const Base_Type* other_value) const;
void set_value(const Base_Type* other_value);
Base_Type* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
void log() const;
void set_param(Module_Param& param);
static int* get_int_for_param(enum_type );
Module_Param* get_param(Module_Param_Name& param_name) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void encode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...) const;
void decode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...);
int XER_encode(const XERdescriptor_t&, TTCN_Buffer&, unsigned int,unsigned int, int, embed_values_enc_struct_t*) const;
int XER_decode(const XERdescriptor_t&, XmlReaderWrap&, unsigned int, unsigned int, embed_values_dec_struct_t*);
static boolean can_start(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
boolean can_start_v(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
};

class ExecutorConfigdata_reason_template : public Base_Template {
union {
ExecutorConfigdata_reason::enum_type single_value;
struct {
unsigned int n_values;
ExecutorConfigdata_reason_template *list_value;
} value_list;
struct {
ExecutorConfigdata_reason_template* precondition;
ExecutorConfigdata_reason_template* implied_template;
} implication_;
dynmatch_struct<ExecutorConfigdata_reason>* dyn_match;
};

void copy_template(const ExecutorConfigdata_reason_template& other_value);

public:
ExecutorConfigdata_reason_template();
ExecutorConfigdata_reason_template(template_sel other_value);
ExecutorConfigdata_reason_template(int other_value);
ExecutorConfigdata_reason_template(ExecutorConfigdata_reason::enum_type other_value);
ExecutorConfigdata_reason_template(const ExecutorConfigdata_reason& other_value);
ExecutorConfigdata_reason_template(const OPTIONAL<ExecutorConfigdata_reason>& other_value);
ExecutorConfigdata_reason_template(ExecutorConfigdata_reason_template* p_precondition, ExecutorConfigdata_reason_template* p_implied_template);
ExecutorConfigdata_reason_template(Dynamic_Match_Interface<ExecutorConfigdata_reason>* p_dyn_match);
ExecutorConfigdata_reason_template(const ExecutorConfigdata_reason_template& other_value);
~ExecutorConfigdata_reason_template();

boolean is_bound() const;
boolean is_value() const;
void clean_up();
ExecutorConfigdata_reason_template& operator=(template_sel other_value);
ExecutorConfigdata_reason_template& operator=(int other_value);
ExecutorConfigdata_reason_template& operator=(ExecutorConfigdata_reason::enum_type other_value);
ExecutorConfigdata_reason_template& operator=(const ExecutorConfigdata_reason& other_value);
ExecutorConfigdata_reason_template& operator=(const OPTIONAL<ExecutorConfigdata_reason>& other_value);
ExecutorConfigdata_reason_template& operator=(const ExecutorConfigdata_reason_template& other_value);

boolean match(ExecutorConfigdata_reason::enum_type other_value, boolean legacy = FALSE) const;
boolean match(const ExecutorConfigdata_reason& other_value, boolean legacy = FALSE) const;
ExecutorConfigdata_reason::enum_type valueof() const;
const ExecutorConfigdata_reason_template to_present() const;
const ExecutorConfigdata_reason to_value() const;
void set_type(template_sel template_type, unsigned int list_length = 0);
ExecutorConfigdata_reason_template& list_item(unsigned int list_index);
void valueofv(Base_Type* value) const;
void set_value(template_sel other_value);
void copy_value(const Base_Type* other_value);
void to_valuev(Base_Type* value) const;
Base_Template* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean matchv(const Base_Type* other_value, boolean legacy) const;
void log_matchv(const Base_Type* match_value, boolean legacy) const;
void log() const;
void log_match(const ExecutorConfigdata_reason& match_value, boolean legacy = FALSE) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
void set_param(Module_Param& param);
Module_Param* get_param(Module_Param_Name& param_name) const;
};

class ExecutorConfigdata : public Record_Type {
  ExecutorConfigdata_reason field_reason;
  OPTIONAL<CHARSTRING> field_param__;
  Base_Type* fld_vec[2];
  void init_vec();
public:
  ExecutorConfigdata();
  ExecutorConfigdata(const ExecutorConfigdata& other_value);
  ExecutorConfigdata(const ExecutorConfigdata_reason& par_reason,
    const OPTIONAL<CHARSTRING>& par_param__);
inline ExecutorConfigdata& operator=(const ExecutorConfigdata& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const ExecutorConfigdata& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const ExecutorConfigdata& other_value) const
    { return !is_equal(&other_value); }

  inline ExecutorConfigdata_reason& reason()
    {return field_reason;}
  inline const ExecutorConfigdata_reason& reason() const
    {return field_reason;}
  inline OPTIONAL<CHARSTRING>& param__()
    {return field_param__;}
  inline const OPTIONAL<CHARSTRING>& param__() const
    {return field_param__;}
Base_Type* clone() const { return new ExecutorConfigdata(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 2;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 2; }
int optional_count() const { return 1; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const int optional_indexes[];
const int* get_optional_indexes() const;

static const int optional_indexes_asn[];
const int* get_optional_indexes_asn() const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class ExecutorConfigdata_template : public Record_Template {
void set_specific();
public:
ExecutorConfigdata_template(): Record_Template() {}
ExecutorConfigdata_template(template_sel other_value): Record_Template(other_value) {}
ExecutorConfigdata_template(const ExecutorConfigdata& other_value): Record_Template() { copy_value(&other_value); }
ExecutorConfigdata_template(const OPTIONAL<ExecutorConfigdata>& other_value): Record_Template() { copy_optional(&other_value); }
ExecutorConfigdata_template(ExecutorConfigdata_template* p_precondition, ExecutorConfigdata_template* p_implied_template);
ExecutorConfigdata_template(Dynamic_Match_Interface<ExecutorConfigdata>* p_dyn_match);
ExecutorConfigdata_template(const ExecutorConfigdata_template& other_value): Record_Template() { copy_template(other_value); }
~ExecutorConfigdata_template();
boolean match_dynamic(const Base_Type* match_value) const;
ExecutorConfigdata_template& operator=(template_sel other_value);
ExecutorConfigdata_template& operator=(const ExecutorConfigdata& other_value);
ExecutorConfigdata_template& operator=(const OPTIONAL<ExecutorConfigdata>& other_value);
ExecutorConfigdata_template& operator=(const ExecutorConfigdata_template& other_value);
inline boolean match(const ExecutorConfigdata& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const ExecutorConfigdata& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
ExecutorConfigdata valueof() const;
const ExecutorConfigdata_template to_present() const;
const ExecutorConfigdata to_value() const;
inline ExecutorConfigdata_template& list_item(int list_index) const { return *(static_cast<ExecutorConfigdata_template*>(get_list_item(list_index))); }
ExecutorConfigdata_reason_template& reason();
const ExecutorConfigdata_reason_template& reason() const;
ExecutorConfigdata_reason_template& init_reason();
const ExecutorConfigdata_reason_template& get_field_reason() const;
CHARSTRING_template& param__();
const CHARSTRING_template& param__() const;
CHARSTRING_template& init_param__();
const CHARSTRING_template& get_field_param__() const;
Record_Template* create() const { return new ExecutorConfigdata_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static ExecutorConfigdata_reason_template any_value_field_reason;
static CHARSTRING_template any_value_field_param__;
Base_Template* get_any_value_field(int field_index) const;
};

class ExecutorComponent_reason : public Enum_Type { // enum
friend class ExecutorComponent_reason_template;
public:
enum enum_type { mtc__started = 0, mtc__finished = 1, ptc__started = 2, ptc__finished = 3, component__init__fail = 4, UNKNOWN_VALUE = 5, UNBOUND_VALUE = 6 };
private:
enum_type enum_value;

public:
ExecutorComponent_reason();
ExecutorComponent_reason(int other_value);
ExecutorComponent_reason(enum_type other_value);
ExecutorComponent_reason(const ExecutorComponent_reason& other_value);

ExecutorComponent_reason& operator=(int other_value);
ExecutorComponent_reason& operator=(enum_type other_value);
ExecutorComponent_reason& operator=(const ExecutorComponent_reason& other_value);

boolean operator==(int other_value) const;
boolean operator==(enum_type other_value) const;
boolean operator==(const ExecutorComponent_reason& other_value) const;
inline boolean operator!=(int other_value) const { return !(*this == other_value); }
inline boolean operator!=(enum_type other_value) const { return !(*this == other_value); }
inline boolean operator!=(const ExecutorComponent_reason& other_value) const { return !(*this == other_value); }
boolean operator<(int other_value) const;
boolean operator<(enum_type other_value) const;
boolean operator<(const ExecutorComponent_reason& other_value) const;
boolean operator>(int other_value) const;
boolean operator>(enum_type other_value) const;
boolean operator>(const ExecutorComponent_reason& other_value) const;
inline boolean operator<=(int other_value) const { return !(*this > other_value); }
inline boolean operator<=(enum_type other_value) const { return !(*this > other_value); }
inline boolean operator<=(const ExecutorComponent_reason& other_value) const { return !(*this > other_value); }
inline boolean operator>=(int other_value) const { return !(*this < other_value); }
inline boolean operator>=(enum_type other_value) const { return !(*this < other_value); }
inline boolean operator>=(const ExecutorComponent_reason& other_value) const { return !(*this < other_value); }

static const char *enum_to_str(enum_type enum_par);
static enum_type str_to_enum(const char *str_par, const int* int_par = NULL, const int* int_par2 = NULL);
static boolean is_valid_enum(int int_par);

static int enum2int(enum_type enum_par);
static int enum2int(const ExecutorComponent_reason& enum_par);
int as_int() const { return enum2int(enum_value); }
void from_int(int p_val) { *this = p_val; }
void int2enum(int int_val);
operator enum_type() const;
inline boolean is_bound() const { return enum_value != UNBOUND_VALUE; }
inline boolean is_value() const { return enum_value != UNBOUND_VALUE; }
inline void clean_up(){ enum_value = UNBOUND_VALUE; }
boolean is_equal(const Base_Type* other_value) const;
void set_value(const Base_Type* other_value);
Base_Type* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
void log() const;
void set_param(Module_Param& param);
static int* get_int_for_param(enum_type );
Module_Param* get_param(Module_Param_Name& param_name) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void encode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...) const;
void decode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...);
int XER_encode(const XERdescriptor_t&, TTCN_Buffer&, unsigned int,unsigned int, int, embed_values_enc_struct_t*) const;
int XER_decode(const XERdescriptor_t&, XmlReaderWrap&, unsigned int, unsigned int, embed_values_dec_struct_t*);
static boolean can_start(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
boolean can_start_v(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
};

class ExecutorComponent_reason_template : public Base_Template {
union {
ExecutorComponent_reason::enum_type single_value;
struct {
unsigned int n_values;
ExecutorComponent_reason_template *list_value;
} value_list;
struct {
ExecutorComponent_reason_template* precondition;
ExecutorComponent_reason_template* implied_template;
} implication_;
dynmatch_struct<ExecutorComponent_reason>* dyn_match;
};

void copy_template(const ExecutorComponent_reason_template& other_value);

public:
ExecutorComponent_reason_template();
ExecutorComponent_reason_template(template_sel other_value);
ExecutorComponent_reason_template(int other_value);
ExecutorComponent_reason_template(ExecutorComponent_reason::enum_type other_value);
ExecutorComponent_reason_template(const ExecutorComponent_reason& other_value);
ExecutorComponent_reason_template(const OPTIONAL<ExecutorComponent_reason>& other_value);
ExecutorComponent_reason_template(ExecutorComponent_reason_template* p_precondition, ExecutorComponent_reason_template* p_implied_template);
ExecutorComponent_reason_template(Dynamic_Match_Interface<ExecutorComponent_reason>* p_dyn_match);
ExecutorComponent_reason_template(const ExecutorComponent_reason_template& other_value);
~ExecutorComponent_reason_template();

boolean is_bound() const;
boolean is_value() const;
void clean_up();
ExecutorComponent_reason_template& operator=(template_sel other_value);
ExecutorComponent_reason_template& operator=(int other_value);
ExecutorComponent_reason_template& operator=(ExecutorComponent_reason::enum_type other_value);
ExecutorComponent_reason_template& operator=(const ExecutorComponent_reason& other_value);
ExecutorComponent_reason_template& operator=(const OPTIONAL<ExecutorComponent_reason>& other_value);
ExecutorComponent_reason_template& operator=(const ExecutorComponent_reason_template& other_value);

boolean match(ExecutorComponent_reason::enum_type other_value, boolean legacy = FALSE) const;
boolean match(const ExecutorComponent_reason& other_value, boolean legacy = FALSE) const;
ExecutorComponent_reason::enum_type valueof() const;
const ExecutorComponent_reason_template to_present() const;
const ExecutorComponent_reason to_value() const;
void set_type(template_sel template_type, unsigned int list_length = 0);
ExecutorComponent_reason_template& list_item(unsigned int list_index);
void valueofv(Base_Type* value) const;
void set_value(template_sel other_value);
void copy_value(const Base_Type* other_value);
void to_valuev(Base_Type* value) const;
Base_Template* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean matchv(const Base_Type* other_value, boolean legacy) const;
void log_matchv(const Base_Type* match_value, boolean legacy) const;
void log() const;
void log_match(const ExecutorComponent_reason& match_value, boolean legacy = FALSE) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
void set_param(Module_Param& param);
Module_Param* get_param(Module_Param_Name& param_name) const;
};

class ExecutorComponent : public Record_Type {
  ExecutorComponent_reason field_reason;
  OPTIONAL<INTEGER> field_compref;
  Base_Type* fld_vec[2];
  void init_vec();
public:
  ExecutorComponent();
  ExecutorComponent(const ExecutorComponent& other_value);
  ExecutorComponent(const ExecutorComponent_reason& par_reason,
    const OPTIONAL<INTEGER>& par_compref);
inline ExecutorComponent& operator=(const ExecutorComponent& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const ExecutorComponent& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const ExecutorComponent& other_value) const
    { return !is_equal(&other_value); }

  inline ExecutorComponent_reason& reason()
    {return field_reason;}
  inline const ExecutorComponent_reason& reason() const
    {return field_reason;}
  inline OPTIONAL<INTEGER>& compref()
    {return field_compref;}
  inline const OPTIONAL<INTEGER>& compref() const
    {return field_compref;}
Base_Type* clone() const { return new ExecutorComponent(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 2;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 2; }
int optional_count() const { return 1; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const int optional_indexes[];
const int* get_optional_indexes() const;

static const int optional_indexes_asn[];
const int* get_optional_indexes_asn() const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class ExecutorComponent_template : public Record_Template {
void set_specific();
public:
ExecutorComponent_template(): Record_Template() {}
ExecutorComponent_template(template_sel other_value): Record_Template(other_value) {}
ExecutorComponent_template(const ExecutorComponent& other_value): Record_Template() { copy_value(&other_value); }
ExecutorComponent_template(const OPTIONAL<ExecutorComponent>& other_value): Record_Template() { copy_optional(&other_value); }
ExecutorComponent_template(ExecutorComponent_template* p_precondition, ExecutorComponent_template* p_implied_template);
ExecutorComponent_template(Dynamic_Match_Interface<ExecutorComponent>* p_dyn_match);
ExecutorComponent_template(const ExecutorComponent_template& other_value): Record_Template() { copy_template(other_value); }
~ExecutorComponent_template();
boolean match_dynamic(const Base_Type* match_value) const;
ExecutorComponent_template& operator=(template_sel other_value);
ExecutorComponent_template& operator=(const ExecutorComponent& other_value);
ExecutorComponent_template& operator=(const OPTIONAL<ExecutorComponent>& other_value);
ExecutorComponent_template& operator=(const ExecutorComponent_template& other_value);
inline boolean match(const ExecutorComponent& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const ExecutorComponent& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
ExecutorComponent valueof() const;
const ExecutorComponent_template to_present() const;
const ExecutorComponent to_value() const;
inline ExecutorComponent_template& list_item(int list_index) const { return *(static_cast<ExecutorComponent_template*>(get_list_item(list_index))); }
ExecutorComponent_reason_template& reason();
const ExecutorComponent_reason_template& reason() const;
ExecutorComponent_reason_template& init_reason();
const ExecutorComponent_reason_template& get_field_reason() const;
INTEGER_template& compref();
const INTEGER_template& compref() const;
INTEGER_template& init_compref();
const INTEGER_template& get_field_compref() const;
Record_Template* create() const { return new ExecutorComponent_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static ExecutorComponent_reason_template any_value_field_reason;
static INTEGER_template any_value_field_compref;
Base_Template* get_any_value_field(int field_index) const;
};

class ExecutorUnqualified_reason : public Enum_Type { // enum
friend class ExecutorUnqualified_reason_template;
public:
enum enum_type { local__address__was__set = 0, address__of__mc__was__set = 1, address__of__control__connection = 2, host__support__unix__domain__sockets = 3, UNKNOWN_VALUE = 4, UNBOUND_VALUE = 5 };
private:
enum_type enum_value;

public:
ExecutorUnqualified_reason();
ExecutorUnqualified_reason(int other_value);
ExecutorUnqualified_reason(enum_type other_value);
ExecutorUnqualified_reason(const ExecutorUnqualified_reason& other_value);

ExecutorUnqualified_reason& operator=(int other_value);
ExecutorUnqualified_reason& operator=(enum_type other_value);
ExecutorUnqualified_reason& operator=(const ExecutorUnqualified_reason& other_value);

boolean operator==(int other_value) const;
boolean operator==(enum_type other_value) const;
boolean operator==(const ExecutorUnqualified_reason& other_value) const;
inline boolean operator!=(int other_value) const { return !(*this == other_value); }
inline boolean operator!=(enum_type other_value) const { return !(*this == other_value); }
inline boolean operator!=(const ExecutorUnqualified_reason& other_value) const { return !(*this == other_value); }
boolean operator<(int other_value) const;
boolean operator<(enum_type other_value) const;
boolean operator<(const ExecutorUnqualified_reason& other_value) const;
boolean operator>(int other_value) const;
boolean operator>(enum_type other_value) const;
boolean operator>(const ExecutorUnqualified_reason& other_value) const;
inline boolean operator<=(int other_value) const { return !(*this > other_value); }
inline boolean operator<=(enum_type other_value) const { return !(*this > other_value); }
inline boolean operator<=(const ExecutorUnqualified_reason& other_value) const { return !(*this > other_value); }
inline boolean operator>=(int other_value) const { return !(*this < other_value); }
inline boolean operator>=(enum_type other_value) const { return !(*this < other_value); }
inline boolean operator>=(const ExecutorUnqualified_reason& other_value) const { return !(*this < other_value); }

static const char *enum_to_str(enum_type enum_par);
static enum_type str_to_enum(const char *str_par, const int* int_par = NULL, const int* int_par2 = NULL);
static boolean is_valid_enum(int int_par);

static int enum2int(enum_type enum_par);
static int enum2int(const ExecutorUnqualified_reason& enum_par);
int as_int() const { return enum2int(enum_value); }
void from_int(int p_val) { *this = p_val; }
void int2enum(int int_val);
operator enum_type() const;
inline boolean is_bound() const { return enum_value != UNBOUND_VALUE; }
inline boolean is_value() const { return enum_value != UNBOUND_VALUE; }
inline void clean_up(){ enum_value = UNBOUND_VALUE; }
boolean is_equal(const Base_Type* other_value) const;
void set_value(const Base_Type* other_value);
Base_Type* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
void log() const;
void set_param(Module_Param& param);
static int* get_int_for_param(enum_type );
Module_Param* get_param(Module_Param_Name& param_name) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void encode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...) const;
void decode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...);
int XER_encode(const XERdescriptor_t&, TTCN_Buffer&, unsigned int,unsigned int, int, embed_values_enc_struct_t*) const;
int XER_decode(const XERdescriptor_t&, XmlReaderWrap&, unsigned int, unsigned int, embed_values_dec_struct_t*);
static boolean can_start(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
boolean can_start_v(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
};

class ExecutorUnqualified_reason_template : public Base_Template {
union {
ExecutorUnqualified_reason::enum_type single_value;
struct {
unsigned int n_values;
ExecutorUnqualified_reason_template *list_value;
} value_list;
struct {
ExecutorUnqualified_reason_template* precondition;
ExecutorUnqualified_reason_template* implied_template;
} implication_;
dynmatch_struct<ExecutorUnqualified_reason>* dyn_match;
};

void copy_template(const ExecutorUnqualified_reason_template& other_value);

public:
ExecutorUnqualified_reason_template();
ExecutorUnqualified_reason_template(template_sel other_value);
ExecutorUnqualified_reason_template(int other_value);
ExecutorUnqualified_reason_template(ExecutorUnqualified_reason::enum_type other_value);
ExecutorUnqualified_reason_template(const ExecutorUnqualified_reason& other_value);
ExecutorUnqualified_reason_template(const OPTIONAL<ExecutorUnqualified_reason>& other_value);
ExecutorUnqualified_reason_template(ExecutorUnqualified_reason_template* p_precondition, ExecutorUnqualified_reason_template* p_implied_template);
ExecutorUnqualified_reason_template(Dynamic_Match_Interface<ExecutorUnqualified_reason>* p_dyn_match);
ExecutorUnqualified_reason_template(const ExecutorUnqualified_reason_template& other_value);
~ExecutorUnqualified_reason_template();

boolean is_bound() const;
boolean is_value() const;
void clean_up();
ExecutorUnqualified_reason_template& operator=(template_sel other_value);
ExecutorUnqualified_reason_template& operator=(int other_value);
ExecutorUnqualified_reason_template& operator=(ExecutorUnqualified_reason::enum_type other_value);
ExecutorUnqualified_reason_template& operator=(const ExecutorUnqualified_reason& other_value);
ExecutorUnqualified_reason_template& operator=(const OPTIONAL<ExecutorUnqualified_reason>& other_value);
ExecutorUnqualified_reason_template& operator=(const ExecutorUnqualified_reason_template& other_value);

boolean match(ExecutorUnqualified_reason::enum_type other_value, boolean legacy = FALSE) const;
boolean match(const ExecutorUnqualified_reason& other_value, boolean legacy = FALSE) const;
ExecutorUnqualified_reason::enum_type valueof() const;
const ExecutorUnqualified_reason_template to_present() const;
const ExecutorUnqualified_reason to_value() const;
void set_type(template_sel template_type, unsigned int list_length = 0);
ExecutorUnqualified_reason_template& list_item(unsigned int list_index);
void valueofv(Base_Type* value) const;
void set_value(template_sel other_value);
void copy_value(const Base_Type* other_value);
void to_valuev(Base_Type* value) const;
Base_Template* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean matchv(const Base_Type* other_value, boolean legacy) const;
void log_matchv(const Base_Type* match_value, boolean legacy) const;
void log() const;
void log_match(const ExecutorUnqualified_reason& match_value, boolean legacy = FALSE) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
void set_param(Module_Param& param);
Module_Param* get_param(Module_Param_Name& param_name) const;
};

class ExecutorUnqualified : public Record_Type {
  ExecutorUnqualified_reason field_reason;
  CHARSTRING field_name;
  CHARSTRING field_addr;
  INTEGER field_port__;
  Base_Type* fld_vec[4];
  void init_vec();
public:
  ExecutorUnqualified();
  ExecutorUnqualified(const ExecutorUnqualified& other_value);
  ExecutorUnqualified(const ExecutorUnqualified_reason& par_reason,
    const CHARSTRING& par_name,
    const CHARSTRING& par_addr,
    const INTEGER& par_port__);
inline ExecutorUnqualified& operator=(const ExecutorUnqualified& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const ExecutorUnqualified& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const ExecutorUnqualified& other_value) const
    { return !is_equal(&other_value); }

  inline ExecutorUnqualified_reason& reason()
    {return field_reason;}
  inline const ExecutorUnqualified_reason& reason() const
    {return field_reason;}
  inline CHARSTRING& name()
    {return field_name;}
  inline const CHARSTRING& name() const
    {return field_name;}
  inline CHARSTRING& addr()
    {return field_addr;}
  inline const CHARSTRING& addr() const
    {return field_addr;}
  inline INTEGER& port__()
    {return field_port__;}
  inline const INTEGER& port__() const
    {return field_port__;}
Base_Type* clone() const { return new ExecutorUnqualified(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 4;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 4; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class ExecutorUnqualified_template : public Record_Template {
void set_specific();
public:
ExecutorUnqualified_template(): Record_Template() {}
ExecutorUnqualified_template(template_sel other_value): Record_Template(other_value) {}
ExecutorUnqualified_template(const ExecutorUnqualified& other_value): Record_Template() { copy_value(&other_value); }
ExecutorUnqualified_template(const OPTIONAL<ExecutorUnqualified>& other_value): Record_Template() { copy_optional(&other_value); }
ExecutorUnqualified_template(ExecutorUnqualified_template* p_precondition, ExecutorUnqualified_template* p_implied_template);
ExecutorUnqualified_template(Dynamic_Match_Interface<ExecutorUnqualified>* p_dyn_match);
ExecutorUnqualified_template(const ExecutorUnqualified_template& other_value): Record_Template() { copy_template(other_value); }
~ExecutorUnqualified_template();
boolean match_dynamic(const Base_Type* match_value) const;
ExecutorUnqualified_template& operator=(template_sel other_value);
ExecutorUnqualified_template& operator=(const ExecutorUnqualified& other_value);
ExecutorUnqualified_template& operator=(const OPTIONAL<ExecutorUnqualified>& other_value);
ExecutorUnqualified_template& operator=(const ExecutorUnqualified_template& other_value);
inline boolean match(const ExecutorUnqualified& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const ExecutorUnqualified& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
ExecutorUnqualified valueof() const;
const ExecutorUnqualified_template to_present() const;
const ExecutorUnqualified to_value() const;
inline ExecutorUnqualified_template& list_item(int list_index) const { return *(static_cast<ExecutorUnqualified_template*>(get_list_item(list_index))); }
ExecutorUnqualified_reason_template& reason();
const ExecutorUnqualified_reason_template& reason() const;
ExecutorUnqualified_reason_template& init_reason();
const ExecutorUnqualified_reason_template& get_field_reason() const;
CHARSTRING_template& name();
const CHARSTRING_template& name() const;
CHARSTRING_template& init_name();
const CHARSTRING_template& get_field_name() const;
CHARSTRING_template& addr();
const CHARSTRING_template& addr() const;
CHARSTRING_template& init_addr();
const CHARSTRING_template& get_field_addr() const;
INTEGER_template& port__();
const INTEGER_template& port__() const;
INTEGER_template& init_port__();
const INTEGER_template& get_field_port__() const;
Record_Template* create() const { return new ExecutorUnqualified_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static ExecutorUnqualified_reason_template any_value_field_reason;
static CHARSTRING_template any_value_field_name;
static CHARSTRING_template any_value_field_addr;
static INTEGER_template any_value_field_port__;
Base_Template* get_any_value_field(int field_index) const;
};

class ExecutorEvent : public Record_Type {
  ExecutorEvent_choice field_choice;
  Base_Type* fld_vec[1];
  void init_vec();
public:
  ExecutorEvent();
  ExecutorEvent(const ExecutorEvent& other_value);
  ExecutorEvent(const ExecutorEvent_choice& par_choice);
inline ExecutorEvent& operator=(const ExecutorEvent& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const ExecutorEvent& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const ExecutorEvent& other_value) const
    { return !is_equal(&other_value); }

  inline ExecutorEvent_choice& choice()
    {return field_choice;}
  inline const ExecutorEvent_choice& choice() const
    {return field_choice;}
Base_Type* clone() const { return new ExecutorEvent(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 1;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 1; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class ExecutorEvent_template : public Record_Template {
void set_specific();
public:
ExecutorEvent_template(): Record_Template() {}
ExecutorEvent_template(template_sel other_value): Record_Template(other_value) {}
ExecutorEvent_template(const ExecutorEvent& other_value): Record_Template() { copy_value(&other_value); }
ExecutorEvent_template(const OPTIONAL<ExecutorEvent>& other_value): Record_Template() { copy_optional(&other_value); }
ExecutorEvent_template(ExecutorEvent_template* p_precondition, ExecutorEvent_template* p_implied_template);
ExecutorEvent_template(Dynamic_Match_Interface<ExecutorEvent>* p_dyn_match);
ExecutorEvent_template(const ExecutorEvent_template& other_value): Record_Template() { copy_template(other_value); }
~ExecutorEvent_template();
boolean match_dynamic(const Base_Type* match_value) const;
ExecutorEvent_template& operator=(template_sel other_value);
ExecutorEvent_template& operator=(const ExecutorEvent& other_value);
ExecutorEvent_template& operator=(const OPTIONAL<ExecutorEvent>& other_value);
ExecutorEvent_template& operator=(const ExecutorEvent_template& other_value);
inline boolean match(const ExecutorEvent& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const ExecutorEvent& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
ExecutorEvent valueof() const;
const ExecutorEvent_template to_present() const;
const ExecutorEvent to_value() const;
inline ExecutorEvent_template& list_item(int list_index) const { return *(static_cast<ExecutorEvent_template*>(get_list_item(list_index))); }
ExecutorEvent_choice_template& choice();
const ExecutorEvent_choice_template& choice() const;
ExecutorEvent_choice_template& init_choice();
const ExecutorEvent_choice_template& get_field_choice() const;
Record_Template* create() const { return new ExecutorEvent_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static ExecutorEvent_choice_template any_value_field_choice;
Base_Template* get_any_value_field(int field_index) const;
};

class FunctionEvent_choice : public Base_Type {
public:
static const int s_count = 2;

public:
enum union_selection_type { UNBOUND_VALUE = 0, ALT_unqualified = 1, ALT_random = 2 };
private:
union_selection_type union_selection;
union {
CHARSTRING *field_unqualified;
FunctionEvent_choice_random *field_random;
};
Erroneous_descriptor_t* err_descr;
void copy_value(const FunctionEvent_choice& other_value);

public:
FunctionEvent_choice();
FunctionEvent_choice(const FunctionEvent_choice& other_value);
~FunctionEvent_choice();
FunctionEvent_choice& operator=(const FunctionEvent_choice& other_value);
boolean operator==(const FunctionEvent_choice& other_value) const;
inline boolean operator!=(const FunctionEvent_choice& other_value) const { return !(*this == other_value); }
CHARSTRING& unqualified();
const CHARSTRING& unqualified() const;
FunctionEvent_choice_random& random();
const FunctionEvent_choice_random& random() const;
inline union_selection_type get_selection() const { return union_selection; }
boolean ischosen(union_selection_type checked_selection) const;
boolean is_bound() const;
boolean is_value() const;
void clean_up();
boolean is_equal(const Base_Type* other_value) const;
void set_value(const Base_Type* other_value);
Base_Type* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
void set_err_descr(Erroneous_descriptor_t* p_err_descr) { err_descr=p_err_descr; }
Erroneous_descriptor_t* get_err_descr() const { return err_descr; }
void log() const;
void set_param(Module_Param& param);
Module_Param* get_param(Module_Param_Name& param_name) const;
  void set_implicit_omit();
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void encode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...) const;
void decode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...);
int XER_encode(const XERdescriptor_t&, TTCN_Buffer&, unsigned int,unsigned int, int, embed_values_enc_struct_t*) const;
int XER_decode(const XERdescriptor_t&, XmlReaderWrap&, unsigned int, unsigned int, embed_values_dec_struct_t*);
static boolean can_start(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
boolean can_start_v(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
char **collect_ns(const XERdescriptor_t& p_td, size_t& num, boolean& def_ns, unsigned int flavor = 0) const;
int XER_encode_negtest(const Erroneous_descriptor_t* p_err_descr, const XERdescriptor_t& p_td, TTCN_Buffer& p_buf, unsigned int p_flavor, unsigned int p_flavor2, int p_indent, embed_values_enc_struct_t*) const;
};

class FunctionEvent_choice_template : public Base_Template {
union {
struct {
FunctionEvent_choice::union_selection_type union_selection;
union {
CHARSTRING_template *field_unqualified;
FunctionEvent_choice_random_template *field_random;
};
} single_value;
struct {
unsigned int n_values;
FunctionEvent_choice_template *list_value;
} value_list;
struct {
FunctionEvent_choice_template* precondition;
FunctionEvent_choice_template* implied_template;
} implication_;
dynmatch_struct<FunctionEvent_choice>* dyn_match;
};
Erroneous_descriptor_t* err_descr;
static CHARSTRING_template any_value_field_unqualified;
static FunctionEvent_choice_random_template any_value_field_random;
void copy_value(const FunctionEvent_choice& other_value);

void copy_template(const FunctionEvent_choice_template& other_value);

public:
FunctionEvent_choice_template();
FunctionEvent_choice_template(template_sel other_value);
FunctionEvent_choice_template(const FunctionEvent_choice& other_value);
FunctionEvent_choice_template(const OPTIONAL<FunctionEvent_choice>& other_value);
FunctionEvent_choice_template(FunctionEvent_choice_template* p_precondition, FunctionEvent_choice_template* p_implied_template);
FunctionEvent_choice_template(Dynamic_Match_Interface<FunctionEvent_choice>* p_dyn_match);
FunctionEvent_choice_template(const FunctionEvent_choice_template& other_value);
~FunctionEvent_choice_template();
void clean_up();
FunctionEvent_choice_template& operator=(template_sel other_value);
FunctionEvent_choice_template& operator=(const FunctionEvent_choice& other_value);
FunctionEvent_choice_template& operator=(const OPTIONAL<FunctionEvent_choice>& other_value);
FunctionEvent_choice_template& operator=(const FunctionEvent_choice_template& other_value);
boolean match(const FunctionEvent_choice& other_value, boolean legacy = FALSE) const;
boolean is_value() const;FunctionEvent_choice valueof() const;
const FunctionEvent_choice_template to_present() const;
const FunctionEvent_choice to_value() const;
FunctionEvent_choice_template& list_item(unsigned int list_index) const;
void set_type(template_sel template_type, unsigned int list_length);
FunctionEvent_choice::union_selection_type get_union_selection() const;
CHARSTRING_template& unqualified();
const CHARSTRING_template& unqualified() const;
CHARSTRING_template& init_unqualified();
const CHARSTRING_template& get_field_unqualified() const;
FunctionEvent_choice_random_template& random();
const FunctionEvent_choice_random_template& random() const;
FunctionEvent_choice_random_template& init_random();
const FunctionEvent_choice_random_template& get_field_random() const;
boolean ischosen(FunctionEvent_choice::union_selection_type checked_selection) const;
void set_err_descr(Erroneous_descriptor_t* p_err_descr) { err_descr=p_err_descr; }
void valueofv(Base_Type* value) const;
void set_value(template_sel other_value);
void copy_value(const Base_Type* other_value);
void to_valuev(Base_Type* value) const;
Base_Template* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean matchv(const Base_Type* other_value, boolean legacy) const;
void log_matchv(const Base_Type* match_value, boolean legacy) const;
void log() const;
void log_match(const FunctionEvent_choice& match_value, boolean legacy = FALSE) const;
  void set_implicit_omit();
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
void set_param(Module_Param& param);
Module_Param* get_param(Module_Param_Name& param_name) const;
void check_restriction(template_res t_res, const char* t_name=NULL, boolean legacy = FALSE) const;
};

class RandomAction : public Enum_Type { // enum
friend class RandomAction_template;
public:
enum enum_type { read__out = 0, seed = 1, UNKNOWN_VALUE = 2, UNBOUND_VALUE = 3 };
private:
enum_type enum_value;

public:
RandomAction();
RandomAction(int other_value);
RandomAction(enum_type other_value);
RandomAction(const RandomAction& other_value);

RandomAction& operator=(int other_value);
RandomAction& operator=(enum_type other_value);
RandomAction& operator=(const RandomAction& other_value);

boolean operator==(int other_value) const;
boolean operator==(enum_type other_value) const;
boolean operator==(const RandomAction& other_value) const;
inline boolean operator!=(int other_value) const { return !(*this == other_value); }
inline boolean operator!=(enum_type other_value) const { return !(*this == other_value); }
inline boolean operator!=(const RandomAction& other_value) const { return !(*this == other_value); }
boolean operator<(int other_value) const;
boolean operator<(enum_type other_value) const;
boolean operator<(const RandomAction& other_value) const;
boolean operator>(int other_value) const;
boolean operator>(enum_type other_value) const;
boolean operator>(const RandomAction& other_value) const;
inline boolean operator<=(int other_value) const { return !(*this > other_value); }
inline boolean operator<=(enum_type other_value) const { return !(*this > other_value); }
inline boolean operator<=(const RandomAction& other_value) const { return !(*this > other_value); }
inline boolean operator>=(int other_value) const { return !(*this < other_value); }
inline boolean operator>=(enum_type other_value) const { return !(*this < other_value); }
inline boolean operator>=(const RandomAction& other_value) const { return !(*this < other_value); }

static const char *enum_to_str(enum_type enum_par);
static enum_type str_to_enum(const char *str_par, const int* int_par = NULL, const int* int_par2 = NULL);
static boolean is_valid_enum(int int_par);

static int enum2int(enum_type enum_par);
static int enum2int(const RandomAction& enum_par);
int as_int() const { return enum2int(enum_value); }
void from_int(int p_val) { *this = p_val; }
void int2enum(int int_val);
operator enum_type() const;
inline boolean is_bound() const { return enum_value != UNBOUND_VALUE; }
inline boolean is_value() const { return enum_value != UNBOUND_VALUE; }
inline void clean_up(){ enum_value = UNBOUND_VALUE; }
boolean is_equal(const Base_Type* other_value) const;
void set_value(const Base_Type* other_value);
Base_Type* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
void log() const;
void set_param(Module_Param& param);
static int* get_int_for_param(enum_type );
Module_Param* get_param(Module_Param_Name& param_name) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void encode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...) const;
void decode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...);
int XER_encode(const XERdescriptor_t&, TTCN_Buffer&, unsigned int,unsigned int, int, embed_values_enc_struct_t*) const;
int XER_decode(const XERdescriptor_t&, XmlReaderWrap&, unsigned int, unsigned int, embed_values_dec_struct_t*);
static boolean can_start(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
boolean can_start_v(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
};

class RandomAction_template : public Base_Template {
union {
RandomAction::enum_type single_value;
struct {
unsigned int n_values;
RandomAction_template *list_value;
} value_list;
struct {
RandomAction_template* precondition;
RandomAction_template* implied_template;
} implication_;
dynmatch_struct<RandomAction>* dyn_match;
};

void copy_template(const RandomAction_template& other_value);

public:
RandomAction_template();
RandomAction_template(template_sel other_value);
RandomAction_template(int other_value);
RandomAction_template(RandomAction::enum_type other_value);
RandomAction_template(const RandomAction& other_value);
RandomAction_template(const OPTIONAL<RandomAction>& other_value);
RandomAction_template(RandomAction_template* p_precondition, RandomAction_template* p_implied_template);
RandomAction_template(Dynamic_Match_Interface<RandomAction>* p_dyn_match);
RandomAction_template(const RandomAction_template& other_value);
~RandomAction_template();

boolean is_bound() const;
boolean is_value() const;
void clean_up();
RandomAction_template& operator=(template_sel other_value);
RandomAction_template& operator=(int other_value);
RandomAction_template& operator=(RandomAction::enum_type other_value);
RandomAction_template& operator=(const RandomAction& other_value);
RandomAction_template& operator=(const OPTIONAL<RandomAction>& other_value);
RandomAction_template& operator=(const RandomAction_template& other_value);

boolean match(RandomAction::enum_type other_value, boolean legacy = FALSE) const;
boolean match(const RandomAction& other_value, boolean legacy = FALSE) const;
RandomAction::enum_type valueof() const;
const RandomAction_template to_present() const;
const RandomAction to_value() const;
void set_type(template_sel template_type, unsigned int list_length = 0);
RandomAction_template& list_item(unsigned int list_index);
void valueofv(Base_Type* value) const;
void set_value(template_sel other_value);
void copy_value(const Base_Type* other_value);
void to_valuev(Base_Type* value) const;
Base_Template* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean matchv(const Base_Type* other_value, boolean legacy) const;
void log_matchv(const Base_Type* match_value, boolean legacy) const;
void log() const;
void log_match(const RandomAction& match_value, boolean legacy = FALSE) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
void set_param(Module_Param& param);
Module_Param* get_param(Module_Param_Name& param_name) const;
};

class FunctionEvent_choice_random : public Record_Type {
  RandomAction field_operation;
  FLOAT field_retval;
  INTEGER field_intseed;
  Base_Type* fld_vec[3];
  void init_vec();
public:
  FunctionEvent_choice_random();
  FunctionEvent_choice_random(const FunctionEvent_choice_random& other_value);
  FunctionEvent_choice_random(const RandomAction& par_operation,
    const FLOAT& par_retval,
    const INTEGER& par_intseed);
inline FunctionEvent_choice_random& operator=(const FunctionEvent_choice_random& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const FunctionEvent_choice_random& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const FunctionEvent_choice_random& other_value) const
    { return !is_equal(&other_value); }

  inline RandomAction& operation()
    {return field_operation;}
  inline const RandomAction& operation() const
    {return field_operation;}
  inline FLOAT& retval()
    {return field_retval;}
  inline const FLOAT& retval() const
    {return field_retval;}
  inline INTEGER& intseed()
    {return field_intseed;}
  inline const INTEGER& intseed() const
    {return field_intseed;}
Base_Type* clone() const { return new FunctionEvent_choice_random(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 3;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 3; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class FunctionEvent_choice_random_template : public Record_Template {
void set_specific();
public:
FunctionEvent_choice_random_template(): Record_Template() {}
FunctionEvent_choice_random_template(template_sel other_value): Record_Template(other_value) {}
FunctionEvent_choice_random_template(const FunctionEvent_choice_random& other_value): Record_Template() { copy_value(&other_value); }
FunctionEvent_choice_random_template(const OPTIONAL<FunctionEvent_choice_random>& other_value): Record_Template() { copy_optional(&other_value); }
FunctionEvent_choice_random_template(FunctionEvent_choice_random_template* p_precondition, FunctionEvent_choice_random_template* p_implied_template);
FunctionEvent_choice_random_template(Dynamic_Match_Interface<FunctionEvent_choice_random>* p_dyn_match);
FunctionEvent_choice_random_template(const FunctionEvent_choice_random_template& other_value): Record_Template() { copy_template(other_value); }
~FunctionEvent_choice_random_template();
boolean match_dynamic(const Base_Type* match_value) const;
FunctionEvent_choice_random_template& operator=(template_sel other_value);
FunctionEvent_choice_random_template& operator=(const FunctionEvent_choice_random& other_value);
FunctionEvent_choice_random_template& operator=(const OPTIONAL<FunctionEvent_choice_random>& other_value);
FunctionEvent_choice_random_template& operator=(const FunctionEvent_choice_random_template& other_value);
inline boolean match(const FunctionEvent_choice_random& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const FunctionEvent_choice_random& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
FunctionEvent_choice_random valueof() const;
const FunctionEvent_choice_random_template to_present() const;
const FunctionEvent_choice_random to_value() const;
inline FunctionEvent_choice_random_template& list_item(int list_index) const { return *(static_cast<FunctionEvent_choice_random_template*>(get_list_item(list_index))); }
RandomAction_template& operation();
const RandomAction_template& operation() const;
RandomAction_template& init_operation();
const RandomAction_template& get_field_operation() const;
FLOAT_template& retval();
const FLOAT_template& retval() const;
FLOAT_template& init_retval();
const FLOAT_template& get_field_retval() const;
INTEGER_template& intseed();
const INTEGER_template& intseed() const;
INTEGER_template& init_intseed();
const INTEGER_template& get_field_intseed() const;
Record_Template* create() const { return new FunctionEvent_choice_random_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static RandomAction_template any_value_field_operation;
static FLOAT_template any_value_field_retval;
static INTEGER_template any_value_field_intseed;
Base_Template* get_any_value_field(int field_index) const;
};

class FunctionEvent : public Record_Type {
  FunctionEvent_choice field_choice;
  Base_Type* fld_vec[1];
  void init_vec();
public:
  FunctionEvent();
  FunctionEvent(const FunctionEvent& other_value);
  FunctionEvent(const FunctionEvent_choice& par_choice);
inline FunctionEvent& operator=(const FunctionEvent& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const FunctionEvent& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const FunctionEvent& other_value) const
    { return !is_equal(&other_value); }

  inline FunctionEvent_choice& choice()
    {return field_choice;}
  inline const FunctionEvent_choice& choice() const
    {return field_choice;}
Base_Type* clone() const { return new FunctionEvent(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 1;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 1; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class FunctionEvent_template : public Record_Template {
void set_specific();
public:
FunctionEvent_template(): Record_Template() {}
FunctionEvent_template(template_sel other_value): Record_Template(other_value) {}
FunctionEvent_template(const FunctionEvent& other_value): Record_Template() { copy_value(&other_value); }
FunctionEvent_template(const OPTIONAL<FunctionEvent>& other_value): Record_Template() { copy_optional(&other_value); }
FunctionEvent_template(FunctionEvent_template* p_precondition, FunctionEvent_template* p_implied_template);
FunctionEvent_template(Dynamic_Match_Interface<FunctionEvent>* p_dyn_match);
FunctionEvent_template(const FunctionEvent_template& other_value): Record_Template() { copy_template(other_value); }
~FunctionEvent_template();
boolean match_dynamic(const Base_Type* match_value) const;
FunctionEvent_template& operator=(template_sel other_value);
FunctionEvent_template& operator=(const FunctionEvent& other_value);
FunctionEvent_template& operator=(const OPTIONAL<FunctionEvent>& other_value);
FunctionEvent_template& operator=(const FunctionEvent_template& other_value);
inline boolean match(const FunctionEvent& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const FunctionEvent& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
FunctionEvent valueof() const;
const FunctionEvent_template to_present() const;
const FunctionEvent to_value() const;
inline FunctionEvent_template& list_item(int list_index) const { return *(static_cast<FunctionEvent_template*>(get_list_item(list_index))); }
FunctionEvent_choice_template& choice();
const FunctionEvent_choice_template& choice() const;
FunctionEvent_choice_template& init_choice();
const FunctionEvent_choice_template& get_field_choice() const;
Record_Template* create() const { return new FunctionEvent_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static FunctionEvent_choice_template any_value_field_choice;
Base_Template* get_any_value_field(int field_index) const;
};

class ParallelEvent_choice : public Base_Type {
public:
static const int s_count = 3;

public:
enum union_selection_type { UNBOUND_VALUE = 0, ALT_parallelPTC = 1, ALT_parallelPTC__exit = 2, ALT_parallelPort = 3 };
private:
union_selection_type union_selection;
union {
ParallelPTC *field_parallelPTC;
PTC__exit *field_parallelPTC__exit;
ParPort *field_parallelPort;
};
Erroneous_descriptor_t* err_descr;
void copy_value(const ParallelEvent_choice& other_value);

public:
ParallelEvent_choice();
ParallelEvent_choice(const ParallelEvent_choice& other_value);
~ParallelEvent_choice();
ParallelEvent_choice& operator=(const ParallelEvent_choice& other_value);
boolean operator==(const ParallelEvent_choice& other_value) const;
inline boolean operator!=(const ParallelEvent_choice& other_value) const { return !(*this == other_value); }
ParallelPTC& parallelPTC();
const ParallelPTC& parallelPTC() const;
PTC__exit& parallelPTC__exit();
const PTC__exit& parallelPTC__exit() const;
ParPort& parallelPort();
const ParPort& parallelPort() const;
inline union_selection_type get_selection() const { return union_selection; }
boolean ischosen(union_selection_type checked_selection) const;
boolean is_bound() const;
boolean is_value() const;
void clean_up();
boolean is_equal(const Base_Type* other_value) const;
void set_value(const Base_Type* other_value);
Base_Type* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
void set_err_descr(Erroneous_descriptor_t* p_err_descr) { err_descr=p_err_descr; }
Erroneous_descriptor_t* get_err_descr() const { return err_descr; }
void log() const;
void set_param(Module_Param& param);
Module_Param* get_param(Module_Param_Name& param_name) const;
  void set_implicit_omit();
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void encode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...) const;
void decode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...);
int XER_encode(const XERdescriptor_t&, TTCN_Buffer&, unsigned int,unsigned int, int, embed_values_enc_struct_t*) const;
int XER_decode(const XERdescriptor_t&, XmlReaderWrap&, unsigned int, unsigned int, embed_values_dec_struct_t*);
static boolean can_start(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
boolean can_start_v(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
char **collect_ns(const XERdescriptor_t& p_td, size_t& num, boolean& def_ns, unsigned int flavor = 0) const;
int XER_encode_negtest(const Erroneous_descriptor_t* p_err_descr, const XERdescriptor_t& p_td, TTCN_Buffer& p_buf, unsigned int p_flavor, unsigned int p_flavor2, int p_indent, embed_values_enc_struct_t*) const;
};

class ParallelEvent_choice_template : public Base_Template {
union {
struct {
ParallelEvent_choice::union_selection_type union_selection;
union {
ParallelPTC_template *field_parallelPTC;
PTC__exit_template *field_parallelPTC__exit;
ParPort_template *field_parallelPort;
};
} single_value;
struct {
unsigned int n_values;
ParallelEvent_choice_template *list_value;
} value_list;
struct {
ParallelEvent_choice_template* precondition;
ParallelEvent_choice_template* implied_template;
} implication_;
dynmatch_struct<ParallelEvent_choice>* dyn_match;
};
Erroneous_descriptor_t* err_descr;
static ParallelPTC_template any_value_field_parallelPTC;
static PTC__exit_template any_value_field_parallelPTC__exit;
static ParPort_template any_value_field_parallelPort;
void copy_value(const ParallelEvent_choice& other_value);

void copy_template(const ParallelEvent_choice_template& other_value);

public:
ParallelEvent_choice_template();
ParallelEvent_choice_template(template_sel other_value);
ParallelEvent_choice_template(const ParallelEvent_choice& other_value);
ParallelEvent_choice_template(const OPTIONAL<ParallelEvent_choice>& other_value);
ParallelEvent_choice_template(ParallelEvent_choice_template* p_precondition, ParallelEvent_choice_template* p_implied_template);
ParallelEvent_choice_template(Dynamic_Match_Interface<ParallelEvent_choice>* p_dyn_match);
ParallelEvent_choice_template(const ParallelEvent_choice_template& other_value);
~ParallelEvent_choice_template();
void clean_up();
ParallelEvent_choice_template& operator=(template_sel other_value);
ParallelEvent_choice_template& operator=(const ParallelEvent_choice& other_value);
ParallelEvent_choice_template& operator=(const OPTIONAL<ParallelEvent_choice>& other_value);
ParallelEvent_choice_template& operator=(const ParallelEvent_choice_template& other_value);
boolean match(const ParallelEvent_choice& other_value, boolean legacy = FALSE) const;
boolean is_value() const;ParallelEvent_choice valueof() const;
const ParallelEvent_choice_template to_present() const;
const ParallelEvent_choice to_value() const;
ParallelEvent_choice_template& list_item(unsigned int list_index) const;
void set_type(template_sel template_type, unsigned int list_length);
ParallelEvent_choice::union_selection_type get_union_selection() const;
ParallelPTC_template& parallelPTC();
const ParallelPTC_template& parallelPTC() const;
ParallelPTC_template& init_parallelPTC();
const ParallelPTC_template& get_field_parallelPTC() const;
PTC__exit_template& parallelPTC__exit();
const PTC__exit_template& parallelPTC__exit() const;
PTC__exit_template& init_parallelPTC__exit();
const PTC__exit_template& get_field_parallelPTC__exit() const;
ParPort_template& parallelPort();
const ParPort_template& parallelPort() const;
ParPort_template& init_parallelPort();
const ParPort_template& get_field_parallelPort() const;
boolean ischosen(ParallelEvent_choice::union_selection_type checked_selection) const;
void set_err_descr(Erroneous_descriptor_t* p_err_descr) { err_descr=p_err_descr; }
void valueofv(Base_Type* value) const;
void set_value(template_sel other_value);
void copy_value(const Base_Type* other_value);
void to_valuev(Base_Type* value) const;
Base_Template* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean matchv(const Base_Type* other_value, boolean legacy) const;
void log_matchv(const Base_Type* match_value, boolean legacy) const;
void log() const;
void log_match(const ParallelEvent_choice& match_value, boolean legacy = FALSE) const;
  void set_implicit_omit();
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
void set_param(Module_Param& param);
Module_Param* get_param(Module_Param_Name& param_name) const;
void check_restriction(template_res t_res, const char* t_name=NULL, boolean legacy = FALSE) const;
};

class ParallelPTC_reason : public Enum_Type { // enum
friend class ParallelPTC_reason_template;
public:
enum enum_type { init__component__start = 0, init__component__finish = 1, terminating__component = 2, component__shut__down = 3, error__idle__ptc = 4, ptc__created = 5, ptc__created__pid = 6, function__started = 7, function__stopped = 8, function__finished = 9, function__error = 10, ptc__done = 11, ptc__killed = 12, stopping__mtc = 13, ptc__stopped = 14, all__comps__stopped = 15, ptc__was__killed = 16, all__comps__killed = 17, kill__request__frm__mc = 18, mtc__finished = 19, ptc__finished = 20, starting__function = 21, UNKNOWN_VALUE = 22, UNBOUND_VALUE = 23 };
private:
enum_type enum_value;

public:
ParallelPTC_reason();
ParallelPTC_reason(int other_value);
ParallelPTC_reason(enum_type other_value);
ParallelPTC_reason(const ParallelPTC_reason& other_value);

ParallelPTC_reason& operator=(int other_value);
ParallelPTC_reason& operator=(enum_type other_value);
ParallelPTC_reason& operator=(const ParallelPTC_reason& other_value);

boolean operator==(int other_value) const;
boolean operator==(enum_type other_value) const;
boolean operator==(const ParallelPTC_reason& other_value) const;
inline boolean operator!=(int other_value) const { return !(*this == other_value); }
inline boolean operator!=(enum_type other_value) const { return !(*this == other_value); }
inline boolean operator!=(const ParallelPTC_reason& other_value) const { return !(*this == other_value); }
boolean operator<(int other_value) const;
boolean operator<(enum_type other_value) const;
boolean operator<(const ParallelPTC_reason& other_value) const;
boolean operator>(int other_value) const;
boolean operator>(enum_type other_value) const;
boolean operator>(const ParallelPTC_reason& other_value) const;
inline boolean operator<=(int other_value) const { return !(*this > other_value); }
inline boolean operator<=(enum_type other_value) const { return !(*this > other_value); }
inline boolean operator<=(const ParallelPTC_reason& other_value) const { return !(*this > other_value); }
inline boolean operator>=(int other_value) const { return !(*this < other_value); }
inline boolean operator>=(enum_type other_value) const { return !(*this < other_value); }
inline boolean operator>=(const ParallelPTC_reason& other_value) const { return !(*this < other_value); }

static const char *enum_to_str(enum_type enum_par);
static enum_type str_to_enum(const char *str_par, const int* int_par = NULL, const int* int_par2 = NULL);
static boolean is_valid_enum(int int_par);

static int enum2int(enum_type enum_par);
static int enum2int(const ParallelPTC_reason& enum_par);
int as_int() const { return enum2int(enum_value); }
void from_int(int p_val) { *this = p_val; }
void int2enum(int int_val);
operator enum_type() const;
inline boolean is_bound() const { return enum_value != UNBOUND_VALUE; }
inline boolean is_value() const { return enum_value != UNBOUND_VALUE; }
inline void clean_up(){ enum_value = UNBOUND_VALUE; }
boolean is_equal(const Base_Type* other_value) const;
void set_value(const Base_Type* other_value);
Base_Type* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
void log() const;
void set_param(Module_Param& param);
static int* get_int_for_param(enum_type );
Module_Param* get_param(Module_Param_Name& param_name) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void encode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...) const;
void decode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...);
int XER_encode(const XERdescriptor_t&, TTCN_Buffer&, unsigned int,unsigned int, int, embed_values_enc_struct_t*) const;
int XER_decode(const XERdescriptor_t&, XmlReaderWrap&, unsigned int, unsigned int, embed_values_dec_struct_t*);
static boolean can_start(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
boolean can_start_v(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
};

class ParallelPTC_reason_template : public Base_Template {
union {
ParallelPTC_reason::enum_type single_value;
struct {
unsigned int n_values;
ParallelPTC_reason_template *list_value;
} value_list;
struct {
ParallelPTC_reason_template* precondition;
ParallelPTC_reason_template* implied_template;
} implication_;
dynmatch_struct<ParallelPTC_reason>* dyn_match;
};

void copy_template(const ParallelPTC_reason_template& other_value);

public:
ParallelPTC_reason_template();
ParallelPTC_reason_template(template_sel other_value);
ParallelPTC_reason_template(int other_value);
ParallelPTC_reason_template(ParallelPTC_reason::enum_type other_value);
ParallelPTC_reason_template(const ParallelPTC_reason& other_value);
ParallelPTC_reason_template(const OPTIONAL<ParallelPTC_reason>& other_value);
ParallelPTC_reason_template(ParallelPTC_reason_template* p_precondition, ParallelPTC_reason_template* p_implied_template);
ParallelPTC_reason_template(Dynamic_Match_Interface<ParallelPTC_reason>* p_dyn_match);
ParallelPTC_reason_template(const ParallelPTC_reason_template& other_value);
~ParallelPTC_reason_template();

boolean is_bound() const;
boolean is_value() const;
void clean_up();
ParallelPTC_reason_template& operator=(template_sel other_value);
ParallelPTC_reason_template& operator=(int other_value);
ParallelPTC_reason_template& operator=(ParallelPTC_reason::enum_type other_value);
ParallelPTC_reason_template& operator=(const ParallelPTC_reason& other_value);
ParallelPTC_reason_template& operator=(const OPTIONAL<ParallelPTC_reason>& other_value);
ParallelPTC_reason_template& operator=(const ParallelPTC_reason_template& other_value);

boolean match(ParallelPTC_reason::enum_type other_value, boolean legacy = FALSE) const;
boolean match(const ParallelPTC_reason& other_value, boolean legacy = FALSE) const;
ParallelPTC_reason::enum_type valueof() const;
const ParallelPTC_reason_template to_present() const;
const ParallelPTC_reason to_value() const;
void set_type(template_sel template_type, unsigned int list_length = 0);
ParallelPTC_reason_template& list_item(unsigned int list_index);
void valueofv(Base_Type* value) const;
void set_value(template_sel other_value);
void copy_value(const Base_Type* other_value);
void to_valuev(Base_Type* value) const;
Base_Template* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean matchv(const Base_Type* other_value, boolean legacy) const;
void log_matchv(const Base_Type* match_value, boolean legacy) const;
void log() const;
void log_match(const ParallelPTC_reason& match_value, boolean legacy = FALSE) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
void set_param(Module_Param& param);
Module_Param* get_param(Module_Param_Name& param_name) const;
};

class ParallelPTC : public Record_Type {
  ParallelPTC_reason field_reason;
  CHARSTRING field_module__;
  CHARSTRING field_name;
  INTEGER field_compref;
  CHARSTRING field_compname;
  CHARSTRING field_tc__loc;
  INTEGER field_alive__pid;
  INTEGER field_status;
  Base_Type* fld_vec[8];
  void init_vec();
public:
  ParallelPTC();
  ParallelPTC(const ParallelPTC& other_value);
  ParallelPTC(const ParallelPTC_reason& par_reason,
    const CHARSTRING& par_module__,
    const CHARSTRING& par_name,
    const INTEGER& par_compref,
    const CHARSTRING& par_compname,
    const CHARSTRING& par_tc__loc,
    const INTEGER& par_alive__pid,
    const INTEGER& par_status);
inline ParallelPTC& operator=(const ParallelPTC& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const ParallelPTC& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const ParallelPTC& other_value) const
    { return !is_equal(&other_value); }

  inline ParallelPTC_reason& reason()
    {return field_reason;}
  inline const ParallelPTC_reason& reason() const
    {return field_reason;}
  inline CHARSTRING& module__()
    {return field_module__;}
  inline const CHARSTRING& module__() const
    {return field_module__;}
  inline CHARSTRING& name()
    {return field_name;}
  inline const CHARSTRING& name() const
    {return field_name;}
  inline INTEGER& compref()
    {return field_compref;}
  inline const INTEGER& compref() const
    {return field_compref;}
  inline CHARSTRING& compname()
    {return field_compname;}
  inline const CHARSTRING& compname() const
    {return field_compname;}
  inline CHARSTRING& tc__loc()
    {return field_tc__loc;}
  inline const CHARSTRING& tc__loc() const
    {return field_tc__loc;}
  inline INTEGER& alive__pid()
    {return field_alive__pid;}
  inline const INTEGER& alive__pid() const
    {return field_alive__pid;}
  inline INTEGER& status()
    {return field_status;}
  inline const INTEGER& status() const
    {return field_status;}
Base_Type* clone() const { return new ParallelPTC(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 8;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 8; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class ParallelPTC_template : public Record_Template {
void set_specific();
public:
ParallelPTC_template(): Record_Template() {}
ParallelPTC_template(template_sel other_value): Record_Template(other_value) {}
ParallelPTC_template(const ParallelPTC& other_value): Record_Template() { copy_value(&other_value); }
ParallelPTC_template(const OPTIONAL<ParallelPTC>& other_value): Record_Template() { copy_optional(&other_value); }
ParallelPTC_template(ParallelPTC_template* p_precondition, ParallelPTC_template* p_implied_template);
ParallelPTC_template(Dynamic_Match_Interface<ParallelPTC>* p_dyn_match);
ParallelPTC_template(const ParallelPTC_template& other_value): Record_Template() { copy_template(other_value); }
~ParallelPTC_template();
boolean match_dynamic(const Base_Type* match_value) const;
ParallelPTC_template& operator=(template_sel other_value);
ParallelPTC_template& operator=(const ParallelPTC& other_value);
ParallelPTC_template& operator=(const OPTIONAL<ParallelPTC>& other_value);
ParallelPTC_template& operator=(const ParallelPTC_template& other_value);
inline boolean match(const ParallelPTC& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const ParallelPTC& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
ParallelPTC valueof() const;
const ParallelPTC_template to_present() const;
const ParallelPTC to_value() const;
inline ParallelPTC_template& list_item(int list_index) const { return *(static_cast<ParallelPTC_template*>(get_list_item(list_index))); }
ParallelPTC_reason_template& reason();
const ParallelPTC_reason_template& reason() const;
ParallelPTC_reason_template& init_reason();
const ParallelPTC_reason_template& get_field_reason() const;
CHARSTRING_template& module__();
const CHARSTRING_template& module__() const;
CHARSTRING_template& init_module__();
const CHARSTRING_template& get_field_module__() const;
CHARSTRING_template& name();
const CHARSTRING_template& name() const;
CHARSTRING_template& init_name();
const CHARSTRING_template& get_field_name() const;
INTEGER_template& compref();
const INTEGER_template& compref() const;
INTEGER_template& init_compref();
const INTEGER_template& get_field_compref() const;
CHARSTRING_template& compname();
const CHARSTRING_template& compname() const;
CHARSTRING_template& init_compname();
const CHARSTRING_template& get_field_compname() const;
CHARSTRING_template& tc__loc();
const CHARSTRING_template& tc__loc() const;
CHARSTRING_template& init_tc__loc();
const CHARSTRING_template& get_field_tc__loc() const;
INTEGER_template& alive__pid();
const INTEGER_template& alive__pid() const;
INTEGER_template& init_alive__pid();
const INTEGER_template& get_field_alive__pid() const;
INTEGER_template& status();
const INTEGER_template& status() const;
INTEGER_template& init_status();
const INTEGER_template& get_field_status() const;
Record_Template* create() const { return new ParallelPTC_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static ParallelPTC_reason_template any_value_field_reason;
static CHARSTRING_template any_value_field_module__;
static CHARSTRING_template any_value_field_name;
static INTEGER_template any_value_field_compref;
static CHARSTRING_template any_value_field_compname;
static CHARSTRING_template any_value_field_tc__loc;
static INTEGER_template any_value_field_alive__pid;
static INTEGER_template any_value_field_status;
Base_Template* get_any_value_field(int field_index) const;
};

class PTC__exit : public Record_Type {
  INTEGER field_compref;
  INTEGER field_pid;
  INTEGER field_statuscode;
  Base_Type* fld_vec[3];
  void init_vec();
public:
  PTC__exit();
  PTC__exit(const PTC__exit& other_value);
  PTC__exit(const INTEGER& par_compref,
    const INTEGER& par_pid,
    const INTEGER& par_statuscode);
inline PTC__exit& operator=(const PTC__exit& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const PTC__exit& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const PTC__exit& other_value) const
    { return !is_equal(&other_value); }

  inline INTEGER& compref()
    {return field_compref;}
  inline const INTEGER& compref() const
    {return field_compref;}
  inline INTEGER& pid()
    {return field_pid;}
  inline const INTEGER& pid() const
    {return field_pid;}
  inline INTEGER& statuscode()
    {return field_statuscode;}
  inline const INTEGER& statuscode() const
    {return field_statuscode;}
Base_Type* clone() const { return new PTC__exit(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 3;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 3; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class PTC__exit_template : public Record_Template {
void set_specific();
public:
PTC__exit_template(): Record_Template() {}
PTC__exit_template(template_sel other_value): Record_Template(other_value) {}
PTC__exit_template(const PTC__exit& other_value): Record_Template() { copy_value(&other_value); }
PTC__exit_template(const OPTIONAL<PTC__exit>& other_value): Record_Template() { copy_optional(&other_value); }
PTC__exit_template(PTC__exit_template* p_precondition, PTC__exit_template* p_implied_template);
PTC__exit_template(Dynamic_Match_Interface<PTC__exit>* p_dyn_match);
PTC__exit_template(const PTC__exit_template& other_value): Record_Template() { copy_template(other_value); }
~PTC__exit_template();
boolean match_dynamic(const Base_Type* match_value) const;
PTC__exit_template& operator=(template_sel other_value);
PTC__exit_template& operator=(const PTC__exit& other_value);
PTC__exit_template& operator=(const OPTIONAL<PTC__exit>& other_value);
PTC__exit_template& operator=(const PTC__exit_template& other_value);
inline boolean match(const PTC__exit& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const PTC__exit& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
PTC__exit valueof() const;
const PTC__exit_template to_present() const;
const PTC__exit to_value() const;
inline PTC__exit_template& list_item(int list_index) const { return *(static_cast<PTC__exit_template*>(get_list_item(list_index))); }
INTEGER_template& compref();
const INTEGER_template& compref() const;
INTEGER_template& init_compref();
const INTEGER_template& get_field_compref() const;
INTEGER_template& pid();
const INTEGER_template& pid() const;
INTEGER_template& init_pid();
const INTEGER_template& get_field_pid() const;
INTEGER_template& statuscode();
const INTEGER_template& statuscode() const;
INTEGER_template& init_statuscode();
const INTEGER_template& get_field_statuscode() const;
Record_Template* create() const { return new PTC__exit_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static INTEGER_template any_value_field_compref;
static INTEGER_template any_value_field_pid;
static INTEGER_template any_value_field_statuscode;
Base_Template* get_any_value_field(int field_index) const;
};

class ParPort_operation : public Enum_Type { // enum
friend class ParPort_operation_template;
public:
enum enum_type { connect__ = 0, disconnect__ = 1, map__ = 2, unmap__ = 3, UNKNOWN_VALUE = 4, UNBOUND_VALUE = 5 };
private:
enum_type enum_value;

public:
ParPort_operation();
ParPort_operation(int other_value);
ParPort_operation(enum_type other_value);
ParPort_operation(const ParPort_operation& other_value);

ParPort_operation& operator=(int other_value);
ParPort_operation& operator=(enum_type other_value);
ParPort_operation& operator=(const ParPort_operation& other_value);

boolean operator==(int other_value) const;
boolean operator==(enum_type other_value) const;
boolean operator==(const ParPort_operation& other_value) const;
inline boolean operator!=(int other_value) const { return !(*this == other_value); }
inline boolean operator!=(enum_type other_value) const { return !(*this == other_value); }
inline boolean operator!=(const ParPort_operation& other_value) const { return !(*this == other_value); }
boolean operator<(int other_value) const;
boolean operator<(enum_type other_value) const;
boolean operator<(const ParPort_operation& other_value) const;
boolean operator>(int other_value) const;
boolean operator>(enum_type other_value) const;
boolean operator>(const ParPort_operation& other_value) const;
inline boolean operator<=(int other_value) const { return !(*this > other_value); }
inline boolean operator<=(enum_type other_value) const { return !(*this > other_value); }
inline boolean operator<=(const ParPort_operation& other_value) const { return !(*this > other_value); }
inline boolean operator>=(int other_value) const { return !(*this < other_value); }
inline boolean operator>=(enum_type other_value) const { return !(*this < other_value); }
inline boolean operator>=(const ParPort_operation& other_value) const { return !(*this < other_value); }

static const char *enum_to_str(enum_type enum_par, boolean txt = FALSE);
static enum_type str_to_enum(const char *str_par, const int* int_par = NULL, const int* int_par2 = NULL);
static boolean is_valid_enum(int int_par);

static int enum2int(enum_type enum_par);
static int enum2int(const ParPort_operation& enum_par);
int as_int() const { return enum2int(enum_value); }
void from_int(int p_val) { *this = p_val; }
void int2enum(int int_val);
operator enum_type() const;
inline boolean is_bound() const { return enum_value != UNBOUND_VALUE; }
inline boolean is_value() const { return enum_value != UNBOUND_VALUE; }
inline void clean_up(){ enum_value = UNBOUND_VALUE; }
boolean is_equal(const Base_Type* other_value) const;
void set_value(const Base_Type* other_value);
Base_Type* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
void log() const;
void set_param(Module_Param& param);
static int* get_int_for_param(enum_type );
Module_Param* get_param(Module_Param_Name& param_name) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void encode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...) const;
void decode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...);
int XER_encode(const XERdescriptor_t&, TTCN_Buffer&, unsigned int,unsigned int, int, embed_values_enc_struct_t*) const;
int XER_decode(const XERdescriptor_t&, XmlReaderWrap&, unsigned int, unsigned int, embed_values_dec_struct_t*);
static boolean can_start(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
boolean can_start_v(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
};

class ParPort_operation_template : public Base_Template {
union {
ParPort_operation::enum_type single_value;
struct {
unsigned int n_values;
ParPort_operation_template *list_value;
} value_list;
struct {
ParPort_operation_template* precondition;
ParPort_operation_template* implied_template;
} implication_;
dynmatch_struct<ParPort_operation>* dyn_match;
};

void copy_template(const ParPort_operation_template& other_value);

public:
ParPort_operation_template();
ParPort_operation_template(template_sel other_value);
ParPort_operation_template(int other_value);
ParPort_operation_template(ParPort_operation::enum_type other_value);
ParPort_operation_template(const ParPort_operation& other_value);
ParPort_operation_template(const OPTIONAL<ParPort_operation>& other_value);
ParPort_operation_template(ParPort_operation_template* p_precondition, ParPort_operation_template* p_implied_template);
ParPort_operation_template(Dynamic_Match_Interface<ParPort_operation>* p_dyn_match);
ParPort_operation_template(const ParPort_operation_template& other_value);
~ParPort_operation_template();

boolean is_bound() const;
boolean is_value() const;
void clean_up();
ParPort_operation_template& operator=(template_sel other_value);
ParPort_operation_template& operator=(int other_value);
ParPort_operation_template& operator=(ParPort_operation::enum_type other_value);
ParPort_operation_template& operator=(const ParPort_operation& other_value);
ParPort_operation_template& operator=(const OPTIONAL<ParPort_operation>& other_value);
ParPort_operation_template& operator=(const ParPort_operation_template& other_value);

boolean match(ParPort_operation::enum_type other_value, boolean legacy = FALSE) const;
boolean match(const ParPort_operation& other_value, boolean legacy = FALSE) const;
ParPort_operation::enum_type valueof() const;
const ParPort_operation_template to_present() const;
const ParPort_operation to_value() const;
void set_type(template_sel template_type, unsigned int list_length = 0);
ParPort_operation_template& list_item(unsigned int list_index);
void valueofv(Base_Type* value) const;
void set_value(template_sel other_value);
void copy_value(const Base_Type* other_value);
void to_valuev(Base_Type* value) const;
Base_Template* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean matchv(const Base_Type* other_value, boolean legacy) const;
void log_matchv(const Base_Type* match_value, boolean legacy) const;
void log() const;
void log_match(const ParPort_operation& match_value, boolean legacy = FALSE) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
void set_param(Module_Param& param);
Module_Param* get_param(Module_Param_Name& param_name) const;
};

class ParPort : public Record_Type {
  ParPort_operation field_operation;
  INTEGER field_srcCompref;
  INTEGER field_dstCompref;
  CHARSTRING field_srcPort;
  CHARSTRING field_dstPort;
  Base_Type* fld_vec[5];
  void init_vec();
public:
  ParPort();
  ParPort(const ParPort& other_value);
  ParPort(const ParPort_operation& par_operation,
    const INTEGER& par_srcCompref,
    const INTEGER& par_dstCompref,
    const CHARSTRING& par_srcPort,
    const CHARSTRING& par_dstPort);
inline ParPort& operator=(const ParPort& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const ParPort& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const ParPort& other_value) const
    { return !is_equal(&other_value); }

  inline ParPort_operation& operation()
    {return field_operation;}
  inline const ParPort_operation& operation() const
    {return field_operation;}
  inline INTEGER& srcCompref()
    {return field_srcCompref;}
  inline const INTEGER& srcCompref() const
    {return field_srcCompref;}
  inline INTEGER& dstCompref()
    {return field_dstCompref;}
  inline const INTEGER& dstCompref() const
    {return field_dstCompref;}
  inline CHARSTRING& srcPort()
    {return field_srcPort;}
  inline const CHARSTRING& srcPort() const
    {return field_srcPort;}
  inline CHARSTRING& dstPort()
    {return field_dstPort;}
  inline const CHARSTRING& dstPort() const
    {return field_dstPort;}
Base_Type* clone() const { return new ParPort(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 5;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 5; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class ParPort_template : public Record_Template {
void set_specific();
public:
ParPort_template(): Record_Template() {}
ParPort_template(template_sel other_value): Record_Template(other_value) {}
ParPort_template(const ParPort& other_value): Record_Template() { copy_value(&other_value); }
ParPort_template(const OPTIONAL<ParPort>& other_value): Record_Template() { copy_optional(&other_value); }
ParPort_template(ParPort_template* p_precondition, ParPort_template* p_implied_template);
ParPort_template(Dynamic_Match_Interface<ParPort>* p_dyn_match);
ParPort_template(const ParPort_template& other_value): Record_Template() { copy_template(other_value); }
~ParPort_template();
boolean match_dynamic(const Base_Type* match_value) const;
ParPort_template& operator=(template_sel other_value);
ParPort_template& operator=(const ParPort& other_value);
ParPort_template& operator=(const OPTIONAL<ParPort>& other_value);
ParPort_template& operator=(const ParPort_template& other_value);
inline boolean match(const ParPort& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const ParPort& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
ParPort valueof() const;
const ParPort_template to_present() const;
const ParPort to_value() const;
inline ParPort_template& list_item(int list_index) const { return *(static_cast<ParPort_template*>(get_list_item(list_index))); }
ParPort_operation_template& operation();
const ParPort_operation_template& operation() const;
ParPort_operation_template& init_operation();
const ParPort_operation_template& get_field_operation() const;
INTEGER_template& srcCompref();
const INTEGER_template& srcCompref() const;
INTEGER_template& init_srcCompref();
const INTEGER_template& get_field_srcCompref() const;
INTEGER_template& dstCompref();
const INTEGER_template& dstCompref() const;
INTEGER_template& init_dstCompref();
const INTEGER_template& get_field_dstCompref() const;
CHARSTRING_template& srcPort();
const CHARSTRING_template& srcPort() const;
CHARSTRING_template& init_srcPort();
const CHARSTRING_template& get_field_srcPort() const;
CHARSTRING_template& dstPort();
const CHARSTRING_template& dstPort() const;
CHARSTRING_template& init_dstPort();
const CHARSTRING_template& get_field_dstPort() const;
Record_Template* create() const { return new ParPort_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static ParPort_operation_template any_value_field_operation;
static INTEGER_template any_value_field_srcCompref;
static INTEGER_template any_value_field_dstCompref;
static CHARSTRING_template any_value_field_srcPort;
static CHARSTRING_template any_value_field_dstPort;
Base_Template* get_any_value_field(int field_index) const;
};

class ParallelEvent : public Record_Type {
  ParallelEvent_choice field_choice;
  Base_Type* fld_vec[1];
  void init_vec();
public:
  ParallelEvent();
  ParallelEvent(const ParallelEvent& other_value);
  ParallelEvent(const ParallelEvent_choice& par_choice);
inline ParallelEvent& operator=(const ParallelEvent& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const ParallelEvent& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const ParallelEvent& other_value) const
    { return !is_equal(&other_value); }

  inline ParallelEvent_choice& choice()
    {return field_choice;}
  inline const ParallelEvent_choice& choice() const
    {return field_choice;}
Base_Type* clone() const { return new ParallelEvent(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 1;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 1; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class ParallelEvent_template : public Record_Template {
void set_specific();
public:
ParallelEvent_template(): Record_Template() {}
ParallelEvent_template(template_sel other_value): Record_Template(other_value) {}
ParallelEvent_template(const ParallelEvent& other_value): Record_Template() { copy_value(&other_value); }
ParallelEvent_template(const OPTIONAL<ParallelEvent>& other_value): Record_Template() { copy_optional(&other_value); }
ParallelEvent_template(ParallelEvent_template* p_precondition, ParallelEvent_template* p_implied_template);
ParallelEvent_template(Dynamic_Match_Interface<ParallelEvent>* p_dyn_match);
ParallelEvent_template(const ParallelEvent_template& other_value): Record_Template() { copy_template(other_value); }
~ParallelEvent_template();
boolean match_dynamic(const Base_Type* match_value) const;
ParallelEvent_template& operator=(template_sel other_value);
ParallelEvent_template& operator=(const ParallelEvent& other_value);
ParallelEvent_template& operator=(const OPTIONAL<ParallelEvent>& other_value);
ParallelEvent_template& operator=(const ParallelEvent_template& other_value);
inline boolean match(const ParallelEvent& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const ParallelEvent& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
ParallelEvent valueof() const;
const ParallelEvent_template to_present() const;
const ParallelEvent to_value() const;
inline ParallelEvent_template& list_item(int list_index) const { return *(static_cast<ParallelEvent_template*>(get_list_item(list_index))); }
ParallelEvent_choice_template& choice();
const ParallelEvent_choice_template& choice() const;
ParallelEvent_choice_template& init_choice();
const ParallelEvent_choice_template& get_field_choice() const;
Record_Template* create() const { return new ParallelEvent_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static ParallelEvent_choice_template any_value_field_choice;
Base_Template* get_any_value_field(int field_index) const;
};

class TestcaseEvent_choice : public Base_Type {
public:
static const int s_count = 2;

public:
enum union_selection_type { UNBOUND_VALUE = 0, ALT_testcaseStarted = 1, ALT_testcaseFinished = 2 };
private:
union_selection_type union_selection;
union {
QualifiedName *field_testcaseStarted;
TestcaseType *field_testcaseFinished;
};
Erroneous_descriptor_t* err_descr;
void copy_value(const TestcaseEvent_choice& other_value);

public:
TestcaseEvent_choice();
TestcaseEvent_choice(const TestcaseEvent_choice& other_value);
~TestcaseEvent_choice();
TestcaseEvent_choice& operator=(const TestcaseEvent_choice& other_value);
boolean operator==(const TestcaseEvent_choice& other_value) const;
inline boolean operator!=(const TestcaseEvent_choice& other_value) const { return !(*this == other_value); }
QualifiedName& testcaseStarted();
const QualifiedName& testcaseStarted() const;
TestcaseType& testcaseFinished();
const TestcaseType& testcaseFinished() const;
inline union_selection_type get_selection() const { return union_selection; }
boolean ischosen(union_selection_type checked_selection) const;
boolean is_bound() const;
boolean is_value() const;
void clean_up();
boolean is_equal(const Base_Type* other_value) const;
void set_value(const Base_Type* other_value);
Base_Type* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
void set_err_descr(Erroneous_descriptor_t* p_err_descr) { err_descr=p_err_descr; }
Erroneous_descriptor_t* get_err_descr() const { return err_descr; }
void log() const;
void set_param(Module_Param& param);
Module_Param* get_param(Module_Param_Name& param_name) const;
  void set_implicit_omit();
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void encode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...) const;
void decode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...);
int XER_encode(const XERdescriptor_t&, TTCN_Buffer&, unsigned int,unsigned int, int, embed_values_enc_struct_t*) const;
int XER_decode(const XERdescriptor_t&, XmlReaderWrap&, unsigned int, unsigned int, embed_values_dec_struct_t*);
static boolean can_start(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
boolean can_start_v(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
char **collect_ns(const XERdescriptor_t& p_td, size_t& num, boolean& def_ns, unsigned int flavor = 0) const;
int XER_encode_negtest(const Erroneous_descriptor_t* p_err_descr, const XERdescriptor_t& p_td, TTCN_Buffer& p_buf, unsigned int p_flavor, unsigned int p_flavor2, int p_indent, embed_values_enc_struct_t*) const;
};

class TestcaseEvent_choice_template : public Base_Template {
union {
struct {
TestcaseEvent_choice::union_selection_type union_selection;
union {
QualifiedName_template *field_testcaseStarted;
TestcaseType_template *field_testcaseFinished;
};
} single_value;
struct {
unsigned int n_values;
TestcaseEvent_choice_template *list_value;
} value_list;
struct {
TestcaseEvent_choice_template* precondition;
TestcaseEvent_choice_template* implied_template;
} implication_;
dynmatch_struct<TestcaseEvent_choice>* dyn_match;
};
Erroneous_descriptor_t* err_descr;
static QualifiedName_template any_value_field_testcaseStarted;
static TestcaseType_template any_value_field_testcaseFinished;
void copy_value(const TestcaseEvent_choice& other_value);

void copy_template(const TestcaseEvent_choice_template& other_value);

public:
TestcaseEvent_choice_template();
TestcaseEvent_choice_template(template_sel other_value);
TestcaseEvent_choice_template(const TestcaseEvent_choice& other_value);
TestcaseEvent_choice_template(const OPTIONAL<TestcaseEvent_choice>& other_value);
TestcaseEvent_choice_template(TestcaseEvent_choice_template* p_precondition, TestcaseEvent_choice_template* p_implied_template);
TestcaseEvent_choice_template(Dynamic_Match_Interface<TestcaseEvent_choice>* p_dyn_match);
TestcaseEvent_choice_template(const TestcaseEvent_choice_template& other_value);
~TestcaseEvent_choice_template();
void clean_up();
TestcaseEvent_choice_template& operator=(template_sel other_value);
TestcaseEvent_choice_template& operator=(const TestcaseEvent_choice& other_value);
TestcaseEvent_choice_template& operator=(const OPTIONAL<TestcaseEvent_choice>& other_value);
TestcaseEvent_choice_template& operator=(const TestcaseEvent_choice_template& other_value);
boolean match(const TestcaseEvent_choice& other_value, boolean legacy = FALSE) const;
boolean is_value() const;TestcaseEvent_choice valueof() const;
const TestcaseEvent_choice_template to_present() const;
const TestcaseEvent_choice to_value() const;
TestcaseEvent_choice_template& list_item(unsigned int list_index) const;
void set_type(template_sel template_type, unsigned int list_length);
TestcaseEvent_choice::union_selection_type get_union_selection() const;
QualifiedName_template& testcaseStarted();
const QualifiedName_template& testcaseStarted() const;
QualifiedName_template& init_testcaseStarted();
const QualifiedName_template& get_field_testcaseStarted() const;
TestcaseType_template& testcaseFinished();
const TestcaseType_template& testcaseFinished() const;
TestcaseType_template& init_testcaseFinished();
const TestcaseType_template& get_field_testcaseFinished() const;
boolean ischosen(TestcaseEvent_choice::union_selection_type checked_selection) const;
void set_err_descr(Erroneous_descriptor_t* p_err_descr) { err_descr=p_err_descr; }
void valueofv(Base_Type* value) const;
void set_value(template_sel other_value);
void copy_value(const Base_Type* other_value);
void to_valuev(Base_Type* value) const;
Base_Template* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean matchv(const Base_Type* other_value, boolean legacy) const;
void log_matchv(const Base_Type* match_value, boolean legacy) const;
void log() const;
void log_match(const TestcaseEvent_choice& match_value, boolean legacy = FALSE) const;
  void set_implicit_omit();
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
void set_param(Module_Param& param);
Module_Param* get_param(Module_Param_Name& param_name) const;
void check_restriction(template_res t_res, const char* t_name=NULL, boolean legacy = FALSE) const;
};

class QualifiedName : public Record_Type {
  CHARSTRING field_module__name;
  CHARSTRING field_testcase__name;
  Base_Type* fld_vec[2];
  void init_vec();
public:
  QualifiedName();
  QualifiedName(const QualifiedName& other_value);
  QualifiedName(const CHARSTRING& par_module__name,
    const CHARSTRING& par_testcase__name);
inline QualifiedName& operator=(const QualifiedName& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const QualifiedName& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const QualifiedName& other_value) const
    { return !is_equal(&other_value); }

  inline CHARSTRING& module__name()
    {return field_module__name;}
  inline const CHARSTRING& module__name() const
    {return field_module__name;}
  inline CHARSTRING& testcase__name()
    {return field_testcase__name;}
  inline const CHARSTRING& testcase__name() const
    {return field_testcase__name;}
Base_Type* clone() const { return new QualifiedName(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 2;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 2; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class QualifiedName_template : public Record_Template {
void set_specific();
public:
QualifiedName_template(): Record_Template() {}
QualifiedName_template(template_sel other_value): Record_Template(other_value) {}
QualifiedName_template(const QualifiedName& other_value): Record_Template() { copy_value(&other_value); }
QualifiedName_template(const OPTIONAL<QualifiedName>& other_value): Record_Template() { copy_optional(&other_value); }
QualifiedName_template(QualifiedName_template* p_precondition, QualifiedName_template* p_implied_template);
QualifiedName_template(Dynamic_Match_Interface<QualifiedName>* p_dyn_match);
QualifiedName_template(const QualifiedName_template& other_value): Record_Template() { copy_template(other_value); }
~QualifiedName_template();
boolean match_dynamic(const Base_Type* match_value) const;
QualifiedName_template& operator=(template_sel other_value);
QualifiedName_template& operator=(const QualifiedName& other_value);
QualifiedName_template& operator=(const OPTIONAL<QualifiedName>& other_value);
QualifiedName_template& operator=(const QualifiedName_template& other_value);
inline boolean match(const QualifiedName& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const QualifiedName& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
QualifiedName valueof() const;
const QualifiedName_template to_present() const;
const QualifiedName to_value() const;
inline QualifiedName_template& list_item(int list_index) const { return *(static_cast<QualifiedName_template*>(get_list_item(list_index))); }
CHARSTRING_template& module__name();
const CHARSTRING_template& module__name() const;
CHARSTRING_template& init_module__name();
const CHARSTRING_template& get_field_module__name() const;
CHARSTRING_template& testcase__name();
const CHARSTRING_template& testcase__name() const;
CHARSTRING_template& init_testcase__name();
const CHARSTRING_template& get_field_testcase__name() const;
Record_Template* create() const { return new QualifiedName_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static CHARSTRING_template any_value_field_module__name;
static CHARSTRING_template any_value_field_testcase__name;
Base_Template* get_any_value_field(int field_index) const;
};

class Verdict : public Enum_Type { // enum
friend class Verdict_template;
public:
enum enum_type { v0none = 0, v1pass = 1, v2inconc = 2, v3fail = 3, v4error = 4, UNKNOWN_VALUE = 5, UNBOUND_VALUE = 6 };
private:
enum_type enum_value;

public:
Verdict();
Verdict(int other_value);
Verdict(enum_type other_value);
Verdict(const Verdict& other_value);

Verdict& operator=(int other_value);
Verdict& operator=(enum_type other_value);
Verdict& operator=(const Verdict& other_value);

boolean operator==(int other_value) const;
boolean operator==(enum_type other_value) const;
boolean operator==(const Verdict& other_value) const;
inline boolean operator!=(int other_value) const { return !(*this == other_value); }
inline boolean operator!=(enum_type other_value) const { return !(*this == other_value); }
inline boolean operator!=(const Verdict& other_value) const { return !(*this == other_value); }
boolean operator<(int other_value) const;
boolean operator<(enum_type other_value) const;
boolean operator<(const Verdict& other_value) const;
boolean operator>(int other_value) const;
boolean operator>(enum_type other_value) const;
boolean operator>(const Verdict& other_value) const;
inline boolean operator<=(int other_value) const { return !(*this > other_value); }
inline boolean operator<=(enum_type other_value) const { return !(*this > other_value); }
inline boolean operator<=(const Verdict& other_value) const { return !(*this > other_value); }
inline boolean operator>=(int other_value) const { return !(*this < other_value); }
inline boolean operator>=(enum_type other_value) const { return !(*this < other_value); }
inline boolean operator>=(const Verdict& other_value) const { return !(*this < other_value); }

static const char *enum_to_str(enum_type enum_par);
static enum_type str_to_enum(const char *str_par, const int* int_par = NULL, const int* int_par2 = NULL);
static boolean is_valid_enum(int int_par);

static int enum2int(enum_type enum_par);
static int enum2int(const Verdict& enum_par);
int as_int() const { return enum2int(enum_value); }
void from_int(int p_val) { *this = p_val; }
void int2enum(int int_val);
operator enum_type() const;
inline boolean is_bound() const { return enum_value != UNBOUND_VALUE; }
inline boolean is_value() const { return enum_value != UNBOUND_VALUE; }
inline void clean_up(){ enum_value = UNBOUND_VALUE; }
boolean is_equal(const Base_Type* other_value) const;
void set_value(const Base_Type* other_value);
Base_Type* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
void log() const;
void set_param(Module_Param& param);
static int* get_int_for_param(enum_type );
Module_Param* get_param(Module_Param_Name& param_name) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void encode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...) const;
void decode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...);
int XER_encode(const XERdescriptor_t&, TTCN_Buffer&, unsigned int,unsigned int, int, embed_values_enc_struct_t*) const;
int XER_decode(const XERdescriptor_t&, XmlReaderWrap&, unsigned int, unsigned int, embed_values_dec_struct_t*);
static boolean can_start(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
boolean can_start_v(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
};

class Verdict_template : public Base_Template {
union {
Verdict::enum_type single_value;
struct {
unsigned int n_values;
Verdict_template *list_value;
} value_list;
struct {
Verdict_template* precondition;
Verdict_template* implied_template;
} implication_;
dynmatch_struct<Verdict>* dyn_match;
};

void copy_template(const Verdict_template& other_value);

public:
Verdict_template();
Verdict_template(template_sel other_value);
Verdict_template(int other_value);
Verdict_template(Verdict::enum_type other_value);
Verdict_template(const Verdict& other_value);
Verdict_template(const OPTIONAL<Verdict>& other_value);
Verdict_template(Verdict_template* p_precondition, Verdict_template* p_implied_template);
Verdict_template(Dynamic_Match_Interface<Verdict>* p_dyn_match);
Verdict_template(const Verdict_template& other_value);
~Verdict_template();

boolean is_bound() const;
boolean is_value() const;
void clean_up();
Verdict_template& operator=(template_sel other_value);
Verdict_template& operator=(int other_value);
Verdict_template& operator=(Verdict::enum_type other_value);
Verdict_template& operator=(const Verdict& other_value);
Verdict_template& operator=(const OPTIONAL<Verdict>& other_value);
Verdict_template& operator=(const Verdict_template& other_value);

boolean match(Verdict::enum_type other_value, boolean legacy = FALSE) const;
boolean match(const Verdict& other_value, boolean legacy = FALSE) const;
Verdict::enum_type valueof() const;
const Verdict_template to_present() const;
const Verdict to_value() const;
void set_type(template_sel template_type, unsigned int list_length = 0);
Verdict_template& list_item(unsigned int list_index);
void valueofv(Base_Type* value) const;
void set_value(template_sel other_value);
void copy_value(const Base_Type* other_value);
void to_valuev(Base_Type* value) const;
Base_Template* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean matchv(const Base_Type* other_value, boolean legacy) const;
void log_matchv(const Base_Type* match_value, boolean legacy) const;
void log() const;
void log_match(const Verdict& match_value, boolean legacy = FALSE) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
void set_param(Module_Param& param);
Module_Param* get_param(Module_Param_Name& param_name) const;
};

class TestcaseType : public Record_Type {
  QualifiedName field_name;
  Verdict field_verdict;
  CHARSTRING field_reason;
  Base_Type* fld_vec[3];
  void init_vec();
public:
  TestcaseType();
  TestcaseType(const TestcaseType& other_value);
  TestcaseType(const QualifiedName& par_name,
    const Verdict& par_verdict,
    const CHARSTRING& par_reason);
inline TestcaseType& operator=(const TestcaseType& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const TestcaseType& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const TestcaseType& other_value) const
    { return !is_equal(&other_value); }

  inline QualifiedName& name()
    {return field_name;}
  inline const QualifiedName& name() const
    {return field_name;}
  inline Verdict& verdict()
    {return field_verdict;}
  inline const Verdict& verdict() const
    {return field_verdict;}
  inline CHARSTRING& reason()
    {return field_reason;}
  inline const CHARSTRING& reason() const
    {return field_reason;}
Base_Type* clone() const { return new TestcaseType(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 3;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 3; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class TestcaseType_template : public Record_Template {
void set_specific();
public:
TestcaseType_template(): Record_Template() {}
TestcaseType_template(template_sel other_value): Record_Template(other_value) {}
TestcaseType_template(const TestcaseType& other_value): Record_Template() { copy_value(&other_value); }
TestcaseType_template(const OPTIONAL<TestcaseType>& other_value): Record_Template() { copy_optional(&other_value); }
TestcaseType_template(TestcaseType_template* p_precondition, TestcaseType_template* p_implied_template);
TestcaseType_template(Dynamic_Match_Interface<TestcaseType>* p_dyn_match);
TestcaseType_template(const TestcaseType_template& other_value): Record_Template() { copy_template(other_value); }
~TestcaseType_template();
boolean match_dynamic(const Base_Type* match_value) const;
TestcaseType_template& operator=(template_sel other_value);
TestcaseType_template& operator=(const TestcaseType& other_value);
TestcaseType_template& operator=(const OPTIONAL<TestcaseType>& other_value);
TestcaseType_template& operator=(const TestcaseType_template& other_value);
inline boolean match(const TestcaseType& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const TestcaseType& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
TestcaseType valueof() const;
const TestcaseType_template to_present() const;
const TestcaseType to_value() const;
inline TestcaseType_template& list_item(int list_index) const { return *(static_cast<TestcaseType_template*>(get_list_item(list_index))); }
QualifiedName_template& name();
const QualifiedName_template& name() const;
QualifiedName_template& init_name();
const QualifiedName_template& get_field_name() const;
Verdict_template& verdict();
const Verdict_template& verdict() const;
Verdict_template& init_verdict();
const Verdict_template& get_field_verdict() const;
CHARSTRING_template& reason();
const CHARSTRING_template& reason() const;
CHARSTRING_template& init_reason();
const CHARSTRING_template& get_field_reason() const;
Record_Template* create() const { return new TestcaseType_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static QualifiedName_template any_value_field_name;
static Verdict_template any_value_field_verdict;
static CHARSTRING_template any_value_field_reason;
Base_Template* get_any_value_field(int field_index) const;
};

class TestcaseEvent : public Record_Type {
  TestcaseEvent_choice field_choice;
  Base_Type* fld_vec[1];
  void init_vec();
public:
  TestcaseEvent();
  TestcaseEvent(const TestcaseEvent& other_value);
  TestcaseEvent(const TestcaseEvent_choice& par_choice);
inline TestcaseEvent& operator=(const TestcaseEvent& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const TestcaseEvent& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const TestcaseEvent& other_value) const
    { return !is_equal(&other_value); }

  inline TestcaseEvent_choice& choice()
    {return field_choice;}
  inline const TestcaseEvent_choice& choice() const
    {return field_choice;}
Base_Type* clone() const { return new TestcaseEvent(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 1;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 1; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class TestcaseEvent_template : public Record_Template {
void set_specific();
public:
TestcaseEvent_template(): Record_Template() {}
TestcaseEvent_template(template_sel other_value): Record_Template(other_value) {}
TestcaseEvent_template(const TestcaseEvent& other_value): Record_Template() { copy_value(&other_value); }
TestcaseEvent_template(const OPTIONAL<TestcaseEvent>& other_value): Record_Template() { copy_optional(&other_value); }
TestcaseEvent_template(TestcaseEvent_template* p_precondition, TestcaseEvent_template* p_implied_template);
TestcaseEvent_template(Dynamic_Match_Interface<TestcaseEvent>* p_dyn_match);
TestcaseEvent_template(const TestcaseEvent_template& other_value): Record_Template() { copy_template(other_value); }
~TestcaseEvent_template();
boolean match_dynamic(const Base_Type* match_value) const;
TestcaseEvent_template& operator=(template_sel other_value);
TestcaseEvent_template& operator=(const TestcaseEvent& other_value);
TestcaseEvent_template& operator=(const OPTIONAL<TestcaseEvent>& other_value);
TestcaseEvent_template& operator=(const TestcaseEvent_template& other_value);
inline boolean match(const TestcaseEvent& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const TestcaseEvent& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
TestcaseEvent valueof() const;
const TestcaseEvent_template to_present() const;
const TestcaseEvent to_value() const;
inline TestcaseEvent_template& list_item(int list_index) const { return *(static_cast<TestcaseEvent_template*>(get_list_item(list_index))); }
TestcaseEvent_choice_template& choice();
const TestcaseEvent_choice_template& choice() const;
TestcaseEvent_choice_template& init_choice();
const TestcaseEvent_choice_template& get_field_choice() const;
Record_Template* create() const { return new TestcaseEvent_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static TestcaseEvent_choice_template any_value_field_choice;
Base_Template* get_any_value_field(int field_index) const;
};

class PortEvent_choice : public Base_Type {
public:
static const int s_count = 10;

public:
enum union_selection_type { UNBOUND_VALUE = 0, ALT_portQueue = 1, ALT_portState = 2, ALT_procPortSend = 3, ALT_procPortRecv = 4, ALT_msgPortSend = 5, ALT_msgPortRecv = 6, ALT_dualMapped = 7, ALT_dualDiscard = 8, ALT_setState = 9, ALT_portMisc = 10 };
private:
union_selection_type union_selection;
union {
Port__Queue *field_portQueue;
Port__State *field_portState;
Proc__port__out *field_procPortSend;
Proc__port__in *field_procPortRecv;
Msg__port__send *field_msgPortSend;
Msg__port__recv *field_msgPortRecv;
Dualface__mapped *field_dualMapped;
Dualface__discard *field_dualDiscard;
Setstate *field_setState;
Port__Misc *field_portMisc;
};
Erroneous_descriptor_t* err_descr;
void copy_value(const PortEvent_choice& other_value);

public:
PortEvent_choice();
PortEvent_choice(const PortEvent_choice& other_value);
~PortEvent_choice();
PortEvent_choice& operator=(const PortEvent_choice& other_value);
boolean operator==(const PortEvent_choice& other_value) const;
inline boolean operator!=(const PortEvent_choice& other_value) const { return !(*this == other_value); }
Port__Queue& portQueue();
const Port__Queue& portQueue() const;
Port__State& portState();
const Port__State& portState() const;
Proc__port__out& procPortSend();
const Proc__port__out& procPortSend() const;
Proc__port__in& procPortRecv();
const Proc__port__in& procPortRecv() const;
Msg__port__send& msgPortSend();
const Msg__port__send& msgPortSend() const;
Msg__port__recv& msgPortRecv();
const Msg__port__recv& msgPortRecv() const;
Dualface__mapped& dualMapped();
const Dualface__mapped& dualMapped() const;
Dualface__discard& dualDiscard();
const Dualface__discard& dualDiscard() const;
Setstate& setState();
const Setstate& setState() const;
Port__Misc& portMisc();
const Port__Misc& portMisc() const;
inline union_selection_type get_selection() const { return union_selection; }
boolean ischosen(union_selection_type checked_selection) const;
boolean is_bound() const;
boolean is_value() const;
void clean_up();
boolean is_equal(const Base_Type* other_value) const;
void set_value(const Base_Type* other_value);
Base_Type* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
void set_err_descr(Erroneous_descriptor_t* p_err_descr) { err_descr=p_err_descr; }
Erroneous_descriptor_t* get_err_descr() const { return err_descr; }
void log() const;
void set_param(Module_Param& param);
Module_Param* get_param(Module_Param_Name& param_name) const;
  void set_implicit_omit();
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void encode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...) const;
void decode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...);
int XER_encode(const XERdescriptor_t&, TTCN_Buffer&, unsigned int,unsigned int, int, embed_values_enc_struct_t*) const;
int XER_decode(const XERdescriptor_t&, XmlReaderWrap&, unsigned int, unsigned int, embed_values_dec_struct_t*);
static boolean can_start(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
boolean can_start_v(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
char **collect_ns(const XERdescriptor_t& p_td, size_t& num, boolean& def_ns, unsigned int flavor = 0) const;
int XER_encode_negtest(const Erroneous_descriptor_t* p_err_descr, const XERdescriptor_t& p_td, TTCN_Buffer& p_buf, unsigned int p_flavor, unsigned int p_flavor2, int p_indent, embed_values_enc_struct_t*) const;
};

class PortEvent_choice_template : public Base_Template {
union {
struct {
PortEvent_choice::union_selection_type union_selection;
union {
Port__Queue_template *field_portQueue;
Port__State_template *field_portState;
Proc__port__out_template *field_procPortSend;
Proc__port__in_template *field_procPortRecv;
Msg__port__send_template *field_msgPortSend;
Msg__port__recv_template *field_msgPortRecv;
Dualface__mapped_template *field_dualMapped;
Dualface__discard_template *field_dualDiscard;
Setstate_template *field_setState;
Port__Misc_template *field_portMisc;
};
} single_value;
struct {
unsigned int n_values;
PortEvent_choice_template *list_value;
} value_list;
struct {
PortEvent_choice_template* precondition;
PortEvent_choice_template* implied_template;
} implication_;
dynmatch_struct<PortEvent_choice>* dyn_match;
};
Erroneous_descriptor_t* err_descr;
static Port__Queue_template any_value_field_portQueue;
static Port__State_template any_value_field_portState;
static Proc__port__out_template any_value_field_procPortSend;
static Proc__port__in_template any_value_field_procPortRecv;
static Msg__port__send_template any_value_field_msgPortSend;
static Msg__port__recv_template any_value_field_msgPortRecv;
static Dualface__mapped_template any_value_field_dualMapped;
static Dualface__discard_template any_value_field_dualDiscard;
static Setstate_template any_value_field_setState;
static Port__Misc_template any_value_field_portMisc;
void copy_value(const PortEvent_choice& other_value);

void copy_template(const PortEvent_choice_template& other_value);

public:
PortEvent_choice_template();
PortEvent_choice_template(template_sel other_value);
PortEvent_choice_template(const PortEvent_choice& other_value);
PortEvent_choice_template(const OPTIONAL<PortEvent_choice>& other_value);
PortEvent_choice_template(PortEvent_choice_template* p_precondition, PortEvent_choice_template* p_implied_template);
PortEvent_choice_template(Dynamic_Match_Interface<PortEvent_choice>* p_dyn_match);
PortEvent_choice_template(const PortEvent_choice_template& other_value);
~PortEvent_choice_template();
void clean_up();
PortEvent_choice_template& operator=(template_sel other_value);
PortEvent_choice_template& operator=(const PortEvent_choice& other_value);
PortEvent_choice_template& operator=(const OPTIONAL<PortEvent_choice>& other_value);
PortEvent_choice_template& operator=(const PortEvent_choice_template& other_value);
boolean match(const PortEvent_choice& other_value, boolean legacy = FALSE) const;
boolean is_value() const;PortEvent_choice valueof() const;
const PortEvent_choice_template to_present() const;
const PortEvent_choice to_value() const;
PortEvent_choice_template& list_item(unsigned int list_index) const;
void set_type(template_sel template_type, unsigned int list_length);
PortEvent_choice::union_selection_type get_union_selection() const;
Port__Queue_template& portQueue();
const Port__Queue_template& portQueue() const;
Port__Queue_template& init_portQueue();
const Port__Queue_template& get_field_portQueue() const;
Port__State_template& portState();
const Port__State_template& portState() const;
Port__State_template& init_portState();
const Port__State_template& get_field_portState() const;
Proc__port__out_template& procPortSend();
const Proc__port__out_template& procPortSend() const;
Proc__port__out_template& init_procPortSend();
const Proc__port__out_template& get_field_procPortSend() const;
Proc__port__in_template& procPortRecv();
const Proc__port__in_template& procPortRecv() const;
Proc__port__in_template& init_procPortRecv();
const Proc__port__in_template& get_field_procPortRecv() const;
Msg__port__send_template& msgPortSend();
const Msg__port__send_template& msgPortSend() const;
Msg__port__send_template& init_msgPortSend();
const Msg__port__send_template& get_field_msgPortSend() const;
Msg__port__recv_template& msgPortRecv();
const Msg__port__recv_template& msgPortRecv() const;
Msg__port__recv_template& init_msgPortRecv();
const Msg__port__recv_template& get_field_msgPortRecv() const;
Dualface__mapped_template& dualMapped();
const Dualface__mapped_template& dualMapped() const;
Dualface__mapped_template& init_dualMapped();
const Dualface__mapped_template& get_field_dualMapped() const;
Dualface__discard_template& dualDiscard();
const Dualface__discard_template& dualDiscard() const;
Dualface__discard_template& init_dualDiscard();
const Dualface__discard_template& get_field_dualDiscard() const;
Setstate_template& setState();
const Setstate_template& setState() const;
Setstate_template& init_setState();
const Setstate_template& get_field_setState() const;
Port__Misc_template& portMisc();
const Port__Misc_template& portMisc() const;
Port__Misc_template& init_portMisc();
const Port__Misc_template& get_field_portMisc() const;
boolean ischosen(PortEvent_choice::union_selection_type checked_selection) const;
void set_err_descr(Erroneous_descriptor_t* p_err_descr) { err_descr=p_err_descr; }
void valueofv(Base_Type* value) const;
void set_value(template_sel other_value);
void copy_value(const Base_Type* other_value);
void to_valuev(Base_Type* value) const;
Base_Template* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean matchv(const Base_Type* other_value, boolean legacy) const;
void log_matchv(const Base_Type* match_value, boolean legacy) const;
void log() const;
void log_match(const PortEvent_choice& match_value, boolean legacy = FALSE) const;
  void set_implicit_omit();
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
void set_param(Module_Param& param);
Module_Param* get_param(Module_Param_Name& param_name) const;
void check_restriction(template_res t_res, const char* t_name=NULL, boolean legacy = FALSE) const;
};

class Port__Queue_operation : public Enum_Type { // enum
friend class Port__Queue_operation_template;
public:
enum enum_type { enqueue__msg = 0, enqueue__call = 1, enqueue__reply = 2, enqueue__exception = 3, extract__msg = 4, extract__op = 5, UNKNOWN_VALUE = 6, UNBOUND_VALUE = 7 };
private:
enum_type enum_value;

public:
Port__Queue_operation();
Port__Queue_operation(int other_value);
Port__Queue_operation(enum_type other_value);
Port__Queue_operation(const Port__Queue_operation& other_value);

Port__Queue_operation& operator=(int other_value);
Port__Queue_operation& operator=(enum_type other_value);
Port__Queue_operation& operator=(const Port__Queue_operation& other_value);

boolean operator==(int other_value) const;
boolean operator==(enum_type other_value) const;
boolean operator==(const Port__Queue_operation& other_value) const;
inline boolean operator!=(int other_value) const { return !(*this == other_value); }
inline boolean operator!=(enum_type other_value) const { return !(*this == other_value); }
inline boolean operator!=(const Port__Queue_operation& other_value) const { return !(*this == other_value); }
boolean operator<(int other_value) const;
boolean operator<(enum_type other_value) const;
boolean operator<(const Port__Queue_operation& other_value) const;
boolean operator>(int other_value) const;
boolean operator>(enum_type other_value) const;
boolean operator>(const Port__Queue_operation& other_value) const;
inline boolean operator<=(int other_value) const { return !(*this > other_value); }
inline boolean operator<=(enum_type other_value) const { return !(*this > other_value); }
inline boolean operator<=(const Port__Queue_operation& other_value) const { return !(*this > other_value); }
inline boolean operator>=(int other_value) const { return !(*this < other_value); }
inline boolean operator>=(enum_type other_value) const { return !(*this < other_value); }
inline boolean operator>=(const Port__Queue_operation& other_value) const { return !(*this < other_value); }

static const char *enum_to_str(enum_type enum_par);
static enum_type str_to_enum(const char *str_par, const int* int_par = NULL, const int* int_par2 = NULL);
static boolean is_valid_enum(int int_par);

static int enum2int(enum_type enum_par);
static int enum2int(const Port__Queue_operation& enum_par);
int as_int() const { return enum2int(enum_value); }
void from_int(int p_val) { *this = p_val; }
void int2enum(int int_val);
operator enum_type() const;
inline boolean is_bound() const { return enum_value != UNBOUND_VALUE; }
inline boolean is_value() const { return enum_value != UNBOUND_VALUE; }
inline void clean_up(){ enum_value = UNBOUND_VALUE; }
boolean is_equal(const Base_Type* other_value) const;
void set_value(const Base_Type* other_value);
Base_Type* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
void log() const;
void set_param(Module_Param& param);
static int* get_int_for_param(enum_type );
Module_Param* get_param(Module_Param_Name& param_name) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void encode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...) const;
void decode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...);
int XER_encode(const XERdescriptor_t&, TTCN_Buffer&, unsigned int,unsigned int, int, embed_values_enc_struct_t*) const;
int XER_decode(const XERdescriptor_t&, XmlReaderWrap&, unsigned int, unsigned int, embed_values_dec_struct_t*);
static boolean can_start(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
boolean can_start_v(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
};

class Port__Queue_operation_template : public Base_Template {
union {
Port__Queue_operation::enum_type single_value;
struct {
unsigned int n_values;
Port__Queue_operation_template *list_value;
} value_list;
struct {
Port__Queue_operation_template* precondition;
Port__Queue_operation_template* implied_template;
} implication_;
dynmatch_struct<Port__Queue_operation>* dyn_match;
};

void copy_template(const Port__Queue_operation_template& other_value);

public:
Port__Queue_operation_template();
Port__Queue_operation_template(template_sel other_value);
Port__Queue_operation_template(int other_value);
Port__Queue_operation_template(Port__Queue_operation::enum_type other_value);
Port__Queue_operation_template(const Port__Queue_operation& other_value);
Port__Queue_operation_template(const OPTIONAL<Port__Queue_operation>& other_value);
Port__Queue_operation_template(Port__Queue_operation_template* p_precondition, Port__Queue_operation_template* p_implied_template);
Port__Queue_operation_template(Dynamic_Match_Interface<Port__Queue_operation>* p_dyn_match);
Port__Queue_operation_template(const Port__Queue_operation_template& other_value);
~Port__Queue_operation_template();

boolean is_bound() const;
boolean is_value() const;
void clean_up();
Port__Queue_operation_template& operator=(template_sel other_value);
Port__Queue_operation_template& operator=(int other_value);
Port__Queue_operation_template& operator=(Port__Queue_operation::enum_type other_value);
Port__Queue_operation_template& operator=(const Port__Queue_operation& other_value);
Port__Queue_operation_template& operator=(const OPTIONAL<Port__Queue_operation>& other_value);
Port__Queue_operation_template& operator=(const Port__Queue_operation_template& other_value);

boolean match(Port__Queue_operation::enum_type other_value, boolean legacy = FALSE) const;
boolean match(const Port__Queue_operation& other_value, boolean legacy = FALSE) const;
Port__Queue_operation::enum_type valueof() const;
const Port__Queue_operation_template to_present() const;
const Port__Queue_operation to_value() const;
void set_type(template_sel template_type, unsigned int list_length = 0);
Port__Queue_operation_template& list_item(unsigned int list_index);
void valueofv(Base_Type* value) const;
void set_value(template_sel other_value);
void copy_value(const Base_Type* other_value);
void to_valuev(Base_Type* value) const;
Base_Template* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean matchv(const Base_Type* other_value, boolean legacy) const;
void log_matchv(const Base_Type* match_value, boolean legacy) const;
void log() const;
void log_match(const Port__Queue_operation& match_value, boolean legacy = FALSE) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
void set_param(Module_Param& param);
Module_Param* get_param(Module_Param_Name& param_name) const;
};

class Port__Queue : public Record_Type {
  Port__Queue_operation field_operation;
  CHARSTRING field_port__name;
  INTEGER field_compref;
  INTEGER field_msgid;
  CHARSTRING field_address__;
  CHARSTRING field_param__;
  Base_Type* fld_vec[6];
  void init_vec();
public:
  Port__Queue();
  Port__Queue(const Port__Queue& other_value);
  Port__Queue(const Port__Queue_operation& par_operation,
    const CHARSTRING& par_port__name,
    const INTEGER& par_compref,
    const INTEGER& par_msgid,
    const CHARSTRING& par_address__,
    const CHARSTRING& par_param__);
inline Port__Queue& operator=(const Port__Queue& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const Port__Queue& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const Port__Queue& other_value) const
    { return !is_equal(&other_value); }

  inline Port__Queue_operation& operation()
    {return field_operation;}
  inline const Port__Queue_operation& operation() const
    {return field_operation;}
  inline CHARSTRING& port__name()
    {return field_port__name;}
  inline const CHARSTRING& port__name() const
    {return field_port__name;}
  inline INTEGER& compref()
    {return field_compref;}
  inline const INTEGER& compref() const
    {return field_compref;}
  inline INTEGER& msgid()
    {return field_msgid;}
  inline const INTEGER& msgid() const
    {return field_msgid;}
  inline CHARSTRING& address__()
    {return field_address__;}
  inline const CHARSTRING& address__() const
    {return field_address__;}
  inline CHARSTRING& param__()
    {return field_param__;}
  inline const CHARSTRING& param__() const
    {return field_param__;}
Base_Type* clone() const { return new Port__Queue(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 6;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 6; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class Port__Queue_template : public Record_Template {
void set_specific();
public:
Port__Queue_template(): Record_Template() {}
Port__Queue_template(template_sel other_value): Record_Template(other_value) {}
Port__Queue_template(const Port__Queue& other_value): Record_Template() { copy_value(&other_value); }
Port__Queue_template(const OPTIONAL<Port__Queue>& other_value): Record_Template() { copy_optional(&other_value); }
Port__Queue_template(Port__Queue_template* p_precondition, Port__Queue_template* p_implied_template);
Port__Queue_template(Dynamic_Match_Interface<Port__Queue>* p_dyn_match);
Port__Queue_template(const Port__Queue_template& other_value): Record_Template() { copy_template(other_value); }
~Port__Queue_template();
boolean match_dynamic(const Base_Type* match_value) const;
Port__Queue_template& operator=(template_sel other_value);
Port__Queue_template& operator=(const Port__Queue& other_value);
Port__Queue_template& operator=(const OPTIONAL<Port__Queue>& other_value);
Port__Queue_template& operator=(const Port__Queue_template& other_value);
inline boolean match(const Port__Queue& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const Port__Queue& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
Port__Queue valueof() const;
const Port__Queue_template to_present() const;
const Port__Queue to_value() const;
inline Port__Queue_template& list_item(int list_index) const { return *(static_cast<Port__Queue_template*>(get_list_item(list_index))); }
Port__Queue_operation_template& operation();
const Port__Queue_operation_template& operation() const;
Port__Queue_operation_template& init_operation();
const Port__Queue_operation_template& get_field_operation() const;
CHARSTRING_template& port__name();
const CHARSTRING_template& port__name() const;
CHARSTRING_template& init_port__name();
const CHARSTRING_template& get_field_port__name() const;
INTEGER_template& compref();
const INTEGER_template& compref() const;
INTEGER_template& init_compref();
const INTEGER_template& get_field_compref() const;
INTEGER_template& msgid();
const INTEGER_template& msgid() const;
INTEGER_template& init_msgid();
const INTEGER_template& get_field_msgid() const;
CHARSTRING_template& address__();
const CHARSTRING_template& address__() const;
CHARSTRING_template& init_address__();
const CHARSTRING_template& get_field_address__() const;
CHARSTRING_template& param__();
const CHARSTRING_template& param__() const;
CHARSTRING_template& init_param__();
const CHARSTRING_template& get_field_param__() const;
Record_Template* create() const { return new Port__Queue_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static Port__Queue_operation_template any_value_field_operation;
static CHARSTRING_template any_value_field_port__name;
static INTEGER_template any_value_field_compref;
static INTEGER_template any_value_field_msgid;
static CHARSTRING_template any_value_field_address__;
static CHARSTRING_template any_value_field_param__;
Base_Template* get_any_value_field(int field_index) const;
};

class Port__State_operation : public Enum_Type { // enum
friend class Port__State_operation_template;
public:
enum enum_type { started = 0, stopped = 1, halted = 2, UNKNOWN_VALUE = 3, UNBOUND_VALUE = 4 };
private:
enum_type enum_value;

public:
Port__State_operation();
Port__State_operation(int other_value);
Port__State_operation(enum_type other_value);
Port__State_operation(const Port__State_operation& other_value);

Port__State_operation& operator=(int other_value);
Port__State_operation& operator=(enum_type other_value);
Port__State_operation& operator=(const Port__State_operation& other_value);

boolean operator==(int other_value) const;
boolean operator==(enum_type other_value) const;
boolean operator==(const Port__State_operation& other_value) const;
inline boolean operator!=(int other_value) const { return !(*this == other_value); }
inline boolean operator!=(enum_type other_value) const { return !(*this == other_value); }
inline boolean operator!=(const Port__State_operation& other_value) const { return !(*this == other_value); }
boolean operator<(int other_value) const;
boolean operator<(enum_type other_value) const;
boolean operator<(const Port__State_operation& other_value) const;
boolean operator>(int other_value) const;
boolean operator>(enum_type other_value) const;
boolean operator>(const Port__State_operation& other_value) const;
inline boolean operator<=(int other_value) const { return !(*this > other_value); }
inline boolean operator<=(enum_type other_value) const { return !(*this > other_value); }
inline boolean operator<=(const Port__State_operation& other_value) const { return !(*this > other_value); }
inline boolean operator>=(int other_value) const { return !(*this < other_value); }
inline boolean operator>=(enum_type other_value) const { return !(*this < other_value); }
inline boolean operator>=(const Port__State_operation& other_value) const { return !(*this < other_value); }

static const char *enum_to_str(enum_type enum_par);
static enum_type str_to_enum(const char *str_par, const int* int_par = NULL, const int* int_par2 = NULL);
static boolean is_valid_enum(int int_par);

static int enum2int(enum_type enum_par);
static int enum2int(const Port__State_operation& enum_par);
int as_int() const { return enum2int(enum_value); }
void from_int(int p_val) { *this = p_val; }
void int2enum(int int_val);
operator enum_type() const;
inline boolean is_bound() const { return enum_value != UNBOUND_VALUE; }
inline boolean is_value() const { return enum_value != UNBOUND_VALUE; }
inline void clean_up(){ enum_value = UNBOUND_VALUE; }
boolean is_equal(const Base_Type* other_value) const;
void set_value(const Base_Type* other_value);
Base_Type* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
void log() const;
void set_param(Module_Param& param);
static int* get_int_for_param(enum_type );
Module_Param* get_param(Module_Param_Name& param_name) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void encode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...) const;
void decode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...);
int XER_encode(const XERdescriptor_t&, TTCN_Buffer&, unsigned int,unsigned int, int, embed_values_enc_struct_t*) const;
int XER_decode(const XERdescriptor_t&, XmlReaderWrap&, unsigned int, unsigned int, embed_values_dec_struct_t*);
static boolean can_start(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
boolean can_start_v(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
};

class Port__State_operation_template : public Base_Template {
union {
Port__State_operation::enum_type single_value;
struct {
unsigned int n_values;
Port__State_operation_template *list_value;
} value_list;
struct {
Port__State_operation_template* precondition;
Port__State_operation_template* implied_template;
} implication_;
dynmatch_struct<Port__State_operation>* dyn_match;
};

void copy_template(const Port__State_operation_template& other_value);

public:
Port__State_operation_template();
Port__State_operation_template(template_sel other_value);
Port__State_operation_template(int other_value);
Port__State_operation_template(Port__State_operation::enum_type other_value);
Port__State_operation_template(const Port__State_operation& other_value);
Port__State_operation_template(const OPTIONAL<Port__State_operation>& other_value);
Port__State_operation_template(Port__State_operation_template* p_precondition, Port__State_operation_template* p_implied_template);
Port__State_operation_template(Dynamic_Match_Interface<Port__State_operation>* p_dyn_match);
Port__State_operation_template(const Port__State_operation_template& other_value);
~Port__State_operation_template();

boolean is_bound() const;
boolean is_value() const;
void clean_up();
Port__State_operation_template& operator=(template_sel other_value);
Port__State_operation_template& operator=(int other_value);
Port__State_operation_template& operator=(Port__State_operation::enum_type other_value);
Port__State_operation_template& operator=(const Port__State_operation& other_value);
Port__State_operation_template& operator=(const OPTIONAL<Port__State_operation>& other_value);
Port__State_operation_template& operator=(const Port__State_operation_template& other_value);

boolean match(Port__State_operation::enum_type other_value, boolean legacy = FALSE) const;
boolean match(const Port__State_operation& other_value, boolean legacy = FALSE) const;
Port__State_operation::enum_type valueof() const;
const Port__State_operation_template to_present() const;
const Port__State_operation to_value() const;
void set_type(template_sel template_type, unsigned int list_length = 0);
Port__State_operation_template& list_item(unsigned int list_index);
void valueofv(Base_Type* value) const;
void set_value(template_sel other_value);
void copy_value(const Base_Type* other_value);
void to_valuev(Base_Type* value) const;
Base_Template* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean matchv(const Base_Type* other_value, boolean legacy) const;
void log_matchv(const Base_Type* match_value, boolean legacy) const;
void log() const;
void log_match(const Port__State_operation& match_value, boolean legacy = FALSE) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
void set_param(Module_Param& param);
Module_Param* get_param(Module_Param_Name& param_name) const;
};

class Port__State : public Record_Type {
  Port__State_operation field_operation;
  CHARSTRING field_port__name;
  Base_Type* fld_vec[2];
  void init_vec();
public:
  Port__State();
  Port__State(const Port__State& other_value);
  Port__State(const Port__State_operation& par_operation,
    const CHARSTRING& par_port__name);
inline Port__State& operator=(const Port__State& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const Port__State& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const Port__State& other_value) const
    { return !is_equal(&other_value); }

  inline Port__State_operation& operation()
    {return field_operation;}
  inline const Port__State_operation& operation() const
    {return field_operation;}
  inline CHARSTRING& port__name()
    {return field_port__name;}
  inline const CHARSTRING& port__name() const
    {return field_port__name;}
Base_Type* clone() const { return new Port__State(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 2;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 2; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class Port__State_template : public Record_Template {
void set_specific();
public:
Port__State_template(): Record_Template() {}
Port__State_template(template_sel other_value): Record_Template(other_value) {}
Port__State_template(const Port__State& other_value): Record_Template() { copy_value(&other_value); }
Port__State_template(const OPTIONAL<Port__State>& other_value): Record_Template() { copy_optional(&other_value); }
Port__State_template(Port__State_template* p_precondition, Port__State_template* p_implied_template);
Port__State_template(Dynamic_Match_Interface<Port__State>* p_dyn_match);
Port__State_template(const Port__State_template& other_value): Record_Template() { copy_template(other_value); }
~Port__State_template();
boolean match_dynamic(const Base_Type* match_value) const;
Port__State_template& operator=(template_sel other_value);
Port__State_template& operator=(const Port__State& other_value);
Port__State_template& operator=(const OPTIONAL<Port__State>& other_value);
Port__State_template& operator=(const Port__State_template& other_value);
inline boolean match(const Port__State& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const Port__State& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
Port__State valueof() const;
const Port__State_template to_present() const;
const Port__State to_value() const;
inline Port__State_template& list_item(int list_index) const { return *(static_cast<Port__State_template*>(get_list_item(list_index))); }
Port__State_operation_template& operation();
const Port__State_operation_template& operation() const;
Port__State_operation_template& init_operation();
const Port__State_operation_template& get_field_operation() const;
CHARSTRING_template& port__name();
const CHARSTRING_template& port__name() const;
CHARSTRING_template& init_port__name();
const CHARSTRING_template& get_field_port__name() const;
Record_Template* create() const { return new Port__State_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static Port__State_operation_template any_value_field_operation;
static CHARSTRING_template any_value_field_port__name;
Base_Template* get_any_value_field(int field_index) const;
};

class Port__oper : public Enum_Type { // enum
friend class Port__oper_template;
public:
enum enum_type { call__op = 0, exception__op = 1, reply__op = 2, UNKNOWN_VALUE = 3, UNBOUND_VALUE = 4 };
private:
enum_type enum_value;

public:
Port__oper();
Port__oper(int other_value);
Port__oper(enum_type other_value);
Port__oper(const Port__oper& other_value);

Port__oper& operator=(int other_value);
Port__oper& operator=(enum_type other_value);
Port__oper& operator=(const Port__oper& other_value);

boolean operator==(int other_value) const;
boolean operator==(enum_type other_value) const;
boolean operator==(const Port__oper& other_value) const;
inline boolean operator!=(int other_value) const { return !(*this == other_value); }
inline boolean operator!=(enum_type other_value) const { return !(*this == other_value); }
inline boolean operator!=(const Port__oper& other_value) const { return !(*this == other_value); }
boolean operator<(int other_value) const;
boolean operator<(enum_type other_value) const;
boolean operator<(const Port__oper& other_value) const;
boolean operator>(int other_value) const;
boolean operator>(enum_type other_value) const;
boolean operator>(const Port__oper& other_value) const;
inline boolean operator<=(int other_value) const { return !(*this > other_value); }
inline boolean operator<=(enum_type other_value) const { return !(*this > other_value); }
inline boolean operator<=(const Port__oper& other_value) const { return !(*this > other_value); }
inline boolean operator>=(int other_value) const { return !(*this < other_value); }
inline boolean operator>=(enum_type other_value) const { return !(*this < other_value); }
inline boolean operator>=(const Port__oper& other_value) const { return !(*this < other_value); }

static const char *enum_to_str(enum_type enum_par);
static enum_type str_to_enum(const char *str_par, const int* int_par = NULL, const int* int_par2 = NULL);
static boolean is_valid_enum(int int_par);

static int enum2int(enum_type enum_par);
static int enum2int(const Port__oper& enum_par);
int as_int() const { return enum2int(enum_value); }
void from_int(int p_val) { *this = p_val; }
void int2enum(int int_val);
operator enum_type() const;
inline boolean is_bound() const { return enum_value != UNBOUND_VALUE; }
inline boolean is_value() const { return enum_value != UNBOUND_VALUE; }
inline void clean_up(){ enum_value = UNBOUND_VALUE; }
boolean is_equal(const Base_Type* other_value) const;
void set_value(const Base_Type* other_value);
Base_Type* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
void log() const;
void set_param(Module_Param& param);
static int* get_int_for_param(enum_type );
Module_Param* get_param(Module_Param_Name& param_name) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void encode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...) const;
void decode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...);
int XER_encode(const XERdescriptor_t&, TTCN_Buffer&, unsigned int,unsigned int, int, embed_values_enc_struct_t*) const;
int XER_decode(const XERdescriptor_t&, XmlReaderWrap&, unsigned int, unsigned int, embed_values_dec_struct_t*);
static boolean can_start(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
boolean can_start_v(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
};

class Port__oper_template : public Base_Template {
union {
Port__oper::enum_type single_value;
struct {
unsigned int n_values;
Port__oper_template *list_value;
} value_list;
struct {
Port__oper_template* precondition;
Port__oper_template* implied_template;
} implication_;
dynmatch_struct<Port__oper>* dyn_match;
};

void copy_template(const Port__oper_template& other_value);

public:
Port__oper_template();
Port__oper_template(template_sel other_value);
Port__oper_template(int other_value);
Port__oper_template(Port__oper::enum_type other_value);
Port__oper_template(const Port__oper& other_value);
Port__oper_template(const OPTIONAL<Port__oper>& other_value);
Port__oper_template(Port__oper_template* p_precondition, Port__oper_template* p_implied_template);
Port__oper_template(Dynamic_Match_Interface<Port__oper>* p_dyn_match);
Port__oper_template(const Port__oper_template& other_value);
~Port__oper_template();

boolean is_bound() const;
boolean is_value() const;
void clean_up();
Port__oper_template& operator=(template_sel other_value);
Port__oper_template& operator=(int other_value);
Port__oper_template& operator=(Port__oper::enum_type other_value);
Port__oper_template& operator=(const Port__oper& other_value);
Port__oper_template& operator=(const OPTIONAL<Port__oper>& other_value);
Port__oper_template& operator=(const Port__oper_template& other_value);

boolean match(Port__oper::enum_type other_value, boolean legacy = FALSE) const;
boolean match(const Port__oper& other_value, boolean legacy = FALSE) const;
Port__oper::enum_type valueof() const;
const Port__oper_template to_present() const;
const Port__oper to_value() const;
void set_type(template_sel template_type, unsigned int list_length = 0);
Port__oper_template& list_item(unsigned int list_index);
void valueofv(Base_Type* value) const;
void set_value(template_sel other_value);
void copy_value(const Base_Type* other_value);
void to_valuev(Base_Type* value) const;
Base_Template* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean matchv(const Base_Type* other_value, boolean legacy) const;
void log_matchv(const Base_Type* match_value, boolean legacy) const;
void log() const;
void log_match(const Port__oper& match_value, boolean legacy = FALSE) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
void set_param(Module_Param& param);
Module_Param* get_param(Module_Param_Name& param_name) const;
};

class Proc__port__out : public Record_Type {
  CHARSTRING field_port__name;
  Port__oper field_operation;
  INTEGER field_compref;
  CHARSTRING field_sys__name;
  CHARSTRING field_parameter;
  Base_Type* fld_vec[5];
  void init_vec();
public:
  Proc__port__out();
  Proc__port__out(const Proc__port__out& other_value);
  Proc__port__out(const CHARSTRING& par_port__name,
    const Port__oper& par_operation,
    const INTEGER& par_compref,
    const CHARSTRING& par_sys__name,
    const CHARSTRING& par_parameter);
inline Proc__port__out& operator=(const Proc__port__out& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const Proc__port__out& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const Proc__port__out& other_value) const
    { return !is_equal(&other_value); }

  inline CHARSTRING& port__name()
    {return field_port__name;}
  inline const CHARSTRING& port__name() const
    {return field_port__name;}
  inline Port__oper& operation()
    {return field_operation;}
  inline const Port__oper& operation() const
    {return field_operation;}
  inline INTEGER& compref()
    {return field_compref;}
  inline const INTEGER& compref() const
    {return field_compref;}
  inline CHARSTRING& sys__name()
    {return field_sys__name;}
  inline const CHARSTRING& sys__name() const
    {return field_sys__name;}
  inline CHARSTRING& parameter()
    {return field_parameter;}
  inline const CHARSTRING& parameter() const
    {return field_parameter;}
Base_Type* clone() const { return new Proc__port__out(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 5;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 5; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class Proc__port__out_template : public Record_Template {
void set_specific();
public:
Proc__port__out_template(): Record_Template() {}
Proc__port__out_template(template_sel other_value): Record_Template(other_value) {}
Proc__port__out_template(const Proc__port__out& other_value): Record_Template() { copy_value(&other_value); }
Proc__port__out_template(const OPTIONAL<Proc__port__out>& other_value): Record_Template() { copy_optional(&other_value); }
Proc__port__out_template(Proc__port__out_template* p_precondition, Proc__port__out_template* p_implied_template);
Proc__port__out_template(Dynamic_Match_Interface<Proc__port__out>* p_dyn_match);
Proc__port__out_template(const Proc__port__out_template& other_value): Record_Template() { copy_template(other_value); }
~Proc__port__out_template();
boolean match_dynamic(const Base_Type* match_value) const;
Proc__port__out_template& operator=(template_sel other_value);
Proc__port__out_template& operator=(const Proc__port__out& other_value);
Proc__port__out_template& operator=(const OPTIONAL<Proc__port__out>& other_value);
Proc__port__out_template& operator=(const Proc__port__out_template& other_value);
inline boolean match(const Proc__port__out& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const Proc__port__out& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
Proc__port__out valueof() const;
const Proc__port__out_template to_present() const;
const Proc__port__out to_value() const;
inline Proc__port__out_template& list_item(int list_index) const { return *(static_cast<Proc__port__out_template*>(get_list_item(list_index))); }
CHARSTRING_template& port__name();
const CHARSTRING_template& port__name() const;
CHARSTRING_template& init_port__name();
const CHARSTRING_template& get_field_port__name() const;
Port__oper_template& operation();
const Port__oper_template& operation() const;
Port__oper_template& init_operation();
const Port__oper_template& get_field_operation() const;
INTEGER_template& compref();
const INTEGER_template& compref() const;
INTEGER_template& init_compref();
const INTEGER_template& get_field_compref() const;
CHARSTRING_template& sys__name();
const CHARSTRING_template& sys__name() const;
CHARSTRING_template& init_sys__name();
const CHARSTRING_template& get_field_sys__name() const;
CHARSTRING_template& parameter();
const CHARSTRING_template& parameter() const;
CHARSTRING_template& init_parameter();
const CHARSTRING_template& get_field_parameter() const;
Record_Template* create() const { return new Proc__port__out_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static CHARSTRING_template any_value_field_port__name;
static Port__oper_template any_value_field_operation;
static INTEGER_template any_value_field_compref;
static CHARSTRING_template any_value_field_sys__name;
static CHARSTRING_template any_value_field_parameter;
Base_Template* get_any_value_field(int field_index) const;
};

class Proc__port__in : public Record_Type {
  CHARSTRING field_port__name;
  Port__oper field_operation;
  INTEGER field_compref;
  BOOLEAN field_check__;
  CHARSTRING field_parameter;
  INTEGER field_msgid;
  Base_Type* fld_vec[6];
  void init_vec();
public:
  Proc__port__in();
  Proc__port__in(const Proc__port__in& other_value);
  Proc__port__in(const CHARSTRING& par_port__name,
    const Port__oper& par_operation,
    const INTEGER& par_compref,
    const BOOLEAN& par_check__,
    const CHARSTRING& par_parameter,
    const INTEGER& par_msgid);
inline Proc__port__in& operator=(const Proc__port__in& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const Proc__port__in& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const Proc__port__in& other_value) const
    { return !is_equal(&other_value); }

  inline CHARSTRING& port__name()
    {return field_port__name;}
  inline const CHARSTRING& port__name() const
    {return field_port__name;}
  inline Port__oper& operation()
    {return field_operation;}
  inline const Port__oper& operation() const
    {return field_operation;}
  inline INTEGER& compref()
    {return field_compref;}
  inline const INTEGER& compref() const
    {return field_compref;}
  inline BOOLEAN& check__()
    {return field_check__;}
  inline const BOOLEAN& check__() const
    {return field_check__;}
  inline CHARSTRING& parameter()
    {return field_parameter;}
  inline const CHARSTRING& parameter() const
    {return field_parameter;}
  inline INTEGER& msgid()
    {return field_msgid;}
  inline const INTEGER& msgid() const
    {return field_msgid;}
Base_Type* clone() const { return new Proc__port__in(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 6;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 6; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class Proc__port__in_template : public Record_Template {
void set_specific();
public:
Proc__port__in_template(): Record_Template() {}
Proc__port__in_template(template_sel other_value): Record_Template(other_value) {}
Proc__port__in_template(const Proc__port__in& other_value): Record_Template() { copy_value(&other_value); }
Proc__port__in_template(const OPTIONAL<Proc__port__in>& other_value): Record_Template() { copy_optional(&other_value); }
Proc__port__in_template(Proc__port__in_template* p_precondition, Proc__port__in_template* p_implied_template);
Proc__port__in_template(Dynamic_Match_Interface<Proc__port__in>* p_dyn_match);
Proc__port__in_template(const Proc__port__in_template& other_value): Record_Template() { copy_template(other_value); }
~Proc__port__in_template();
boolean match_dynamic(const Base_Type* match_value) const;
Proc__port__in_template& operator=(template_sel other_value);
Proc__port__in_template& operator=(const Proc__port__in& other_value);
Proc__port__in_template& operator=(const OPTIONAL<Proc__port__in>& other_value);
Proc__port__in_template& operator=(const Proc__port__in_template& other_value);
inline boolean match(const Proc__port__in& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const Proc__port__in& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
Proc__port__in valueof() const;
const Proc__port__in_template to_present() const;
const Proc__port__in to_value() const;
inline Proc__port__in_template& list_item(int list_index) const { return *(static_cast<Proc__port__in_template*>(get_list_item(list_index))); }
CHARSTRING_template& port__name();
const CHARSTRING_template& port__name() const;
CHARSTRING_template& init_port__name();
const CHARSTRING_template& get_field_port__name() const;
Port__oper_template& operation();
const Port__oper_template& operation() const;
Port__oper_template& init_operation();
const Port__oper_template& get_field_operation() const;
INTEGER_template& compref();
const INTEGER_template& compref() const;
INTEGER_template& init_compref();
const INTEGER_template& get_field_compref() const;
BOOLEAN_template& check__();
const BOOLEAN_template& check__() const;
BOOLEAN_template& init_check__();
const BOOLEAN_template& get_field_check__() const;
CHARSTRING_template& parameter();
const CHARSTRING_template& parameter() const;
CHARSTRING_template& init_parameter();
const CHARSTRING_template& get_field_parameter() const;
INTEGER_template& msgid();
const INTEGER_template& msgid() const;
INTEGER_template& init_msgid();
const INTEGER_template& get_field_msgid() const;
Record_Template* create() const { return new Proc__port__in_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static CHARSTRING_template any_value_field_port__name;
static Port__oper_template any_value_field_operation;
static INTEGER_template any_value_field_compref;
static BOOLEAN_template any_value_field_check__;
static CHARSTRING_template any_value_field_parameter;
static INTEGER_template any_value_field_msgid;
Base_Template* get_any_value_field(int field_index) const;
};

class Msg__port__send : public Record_Type {
  CHARSTRING field_port__name;
  INTEGER field_compref;
  CHARSTRING field_parameter;
  Base_Type* fld_vec[3];
  void init_vec();
public:
  Msg__port__send();
  Msg__port__send(const Msg__port__send& other_value);
  Msg__port__send(const CHARSTRING& par_port__name,
    const INTEGER& par_compref,
    const CHARSTRING& par_parameter);
inline Msg__port__send& operator=(const Msg__port__send& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const Msg__port__send& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const Msg__port__send& other_value) const
    { return !is_equal(&other_value); }

  inline CHARSTRING& port__name()
    {return field_port__name;}
  inline const CHARSTRING& port__name() const
    {return field_port__name;}
  inline INTEGER& compref()
    {return field_compref;}
  inline const INTEGER& compref() const
    {return field_compref;}
  inline CHARSTRING& parameter()
    {return field_parameter;}
  inline const CHARSTRING& parameter() const
    {return field_parameter;}
Base_Type* clone() const { return new Msg__port__send(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 3;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 3; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class Msg__port__send_template : public Record_Template {
void set_specific();
public:
Msg__port__send_template(): Record_Template() {}
Msg__port__send_template(template_sel other_value): Record_Template(other_value) {}
Msg__port__send_template(const Msg__port__send& other_value): Record_Template() { copy_value(&other_value); }
Msg__port__send_template(const OPTIONAL<Msg__port__send>& other_value): Record_Template() { copy_optional(&other_value); }
Msg__port__send_template(Msg__port__send_template* p_precondition, Msg__port__send_template* p_implied_template);
Msg__port__send_template(Dynamic_Match_Interface<Msg__port__send>* p_dyn_match);
Msg__port__send_template(const Msg__port__send_template& other_value): Record_Template() { copy_template(other_value); }
~Msg__port__send_template();
boolean match_dynamic(const Base_Type* match_value) const;
Msg__port__send_template& operator=(template_sel other_value);
Msg__port__send_template& operator=(const Msg__port__send& other_value);
Msg__port__send_template& operator=(const OPTIONAL<Msg__port__send>& other_value);
Msg__port__send_template& operator=(const Msg__port__send_template& other_value);
inline boolean match(const Msg__port__send& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const Msg__port__send& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
Msg__port__send valueof() const;
const Msg__port__send_template to_present() const;
const Msg__port__send to_value() const;
inline Msg__port__send_template& list_item(int list_index) const { return *(static_cast<Msg__port__send_template*>(get_list_item(list_index))); }
CHARSTRING_template& port__name();
const CHARSTRING_template& port__name() const;
CHARSTRING_template& init_port__name();
const CHARSTRING_template& get_field_port__name() const;
INTEGER_template& compref();
const INTEGER_template& compref() const;
INTEGER_template& init_compref();
const INTEGER_template& get_field_compref() const;
CHARSTRING_template& parameter();
const CHARSTRING_template& parameter() const;
CHARSTRING_template& init_parameter();
const CHARSTRING_template& get_field_parameter() const;
Record_Template* create() const { return new Msg__port__send_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static CHARSTRING_template any_value_field_port__name;
static INTEGER_template any_value_field_compref;
static CHARSTRING_template any_value_field_parameter;
Base_Template* get_any_value_field(int field_index) const;
};

class Msg__port__recv_operation : public Enum_Type { // enum
friend class Msg__port__recv_operation_template;
public:
enum enum_type { receive__op = 0, check__receive__op = 1, trigger__op = 2, UNKNOWN_VALUE = 3, UNBOUND_VALUE = 4 };
private:
enum_type enum_value;

public:
Msg__port__recv_operation();
Msg__port__recv_operation(int other_value);
Msg__port__recv_operation(enum_type other_value);
Msg__port__recv_operation(const Msg__port__recv_operation& other_value);

Msg__port__recv_operation& operator=(int other_value);
Msg__port__recv_operation& operator=(enum_type other_value);
Msg__port__recv_operation& operator=(const Msg__port__recv_operation& other_value);

boolean operator==(int other_value) const;
boolean operator==(enum_type other_value) const;
boolean operator==(const Msg__port__recv_operation& other_value) const;
inline boolean operator!=(int other_value) const { return !(*this == other_value); }
inline boolean operator!=(enum_type other_value) const { return !(*this == other_value); }
inline boolean operator!=(const Msg__port__recv_operation& other_value) const { return !(*this == other_value); }
boolean operator<(int other_value) const;
boolean operator<(enum_type other_value) const;
boolean operator<(const Msg__port__recv_operation& other_value) const;
boolean operator>(int other_value) const;
boolean operator>(enum_type other_value) const;
boolean operator>(const Msg__port__recv_operation& other_value) const;
inline boolean operator<=(int other_value) const { return !(*this > other_value); }
inline boolean operator<=(enum_type other_value) const { return !(*this > other_value); }
inline boolean operator<=(const Msg__port__recv_operation& other_value) const { return !(*this > other_value); }
inline boolean operator>=(int other_value) const { return !(*this < other_value); }
inline boolean operator>=(enum_type other_value) const { return !(*this < other_value); }
inline boolean operator>=(const Msg__port__recv_operation& other_value) const { return !(*this < other_value); }

static const char *enum_to_str(enum_type enum_par);
static enum_type str_to_enum(const char *str_par, const int* int_par = NULL, const int* int_par2 = NULL);
static boolean is_valid_enum(int int_par);

static int enum2int(enum_type enum_par);
static int enum2int(const Msg__port__recv_operation& enum_par);
int as_int() const { return enum2int(enum_value); }
void from_int(int p_val) { *this = p_val; }
void int2enum(int int_val);
operator enum_type() const;
inline boolean is_bound() const { return enum_value != UNBOUND_VALUE; }
inline boolean is_value() const { return enum_value != UNBOUND_VALUE; }
inline void clean_up(){ enum_value = UNBOUND_VALUE; }
boolean is_equal(const Base_Type* other_value) const;
void set_value(const Base_Type* other_value);
Base_Type* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
void log() const;
void set_param(Module_Param& param);
static int* get_int_for_param(enum_type );
Module_Param* get_param(Module_Param_Name& param_name) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void encode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...) const;
void decode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...);
int XER_encode(const XERdescriptor_t&, TTCN_Buffer&, unsigned int,unsigned int, int, embed_values_enc_struct_t*) const;
int XER_decode(const XERdescriptor_t&, XmlReaderWrap&, unsigned int, unsigned int, embed_values_dec_struct_t*);
static boolean can_start(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
boolean can_start_v(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
};

class Msg__port__recv_operation_template : public Base_Template {
union {
Msg__port__recv_operation::enum_type single_value;
struct {
unsigned int n_values;
Msg__port__recv_operation_template *list_value;
} value_list;
struct {
Msg__port__recv_operation_template* precondition;
Msg__port__recv_operation_template* implied_template;
} implication_;
dynmatch_struct<Msg__port__recv_operation>* dyn_match;
};

void copy_template(const Msg__port__recv_operation_template& other_value);

public:
Msg__port__recv_operation_template();
Msg__port__recv_operation_template(template_sel other_value);
Msg__port__recv_operation_template(int other_value);
Msg__port__recv_operation_template(Msg__port__recv_operation::enum_type other_value);
Msg__port__recv_operation_template(const Msg__port__recv_operation& other_value);
Msg__port__recv_operation_template(const OPTIONAL<Msg__port__recv_operation>& other_value);
Msg__port__recv_operation_template(Msg__port__recv_operation_template* p_precondition, Msg__port__recv_operation_template* p_implied_template);
Msg__port__recv_operation_template(Dynamic_Match_Interface<Msg__port__recv_operation>* p_dyn_match);
Msg__port__recv_operation_template(const Msg__port__recv_operation_template& other_value);
~Msg__port__recv_operation_template();

boolean is_bound() const;
boolean is_value() const;
void clean_up();
Msg__port__recv_operation_template& operator=(template_sel other_value);
Msg__port__recv_operation_template& operator=(int other_value);
Msg__port__recv_operation_template& operator=(Msg__port__recv_operation::enum_type other_value);
Msg__port__recv_operation_template& operator=(const Msg__port__recv_operation& other_value);
Msg__port__recv_operation_template& operator=(const OPTIONAL<Msg__port__recv_operation>& other_value);
Msg__port__recv_operation_template& operator=(const Msg__port__recv_operation_template& other_value);

boolean match(Msg__port__recv_operation::enum_type other_value, boolean legacy = FALSE) const;
boolean match(const Msg__port__recv_operation& other_value, boolean legacy = FALSE) const;
Msg__port__recv_operation::enum_type valueof() const;
const Msg__port__recv_operation_template to_present() const;
const Msg__port__recv_operation to_value() const;
void set_type(template_sel template_type, unsigned int list_length = 0);
Msg__port__recv_operation_template& list_item(unsigned int list_index);
void valueofv(Base_Type* value) const;
void set_value(template_sel other_value);
void copy_value(const Base_Type* other_value);
void to_valuev(Base_Type* value) const;
Base_Template* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean matchv(const Base_Type* other_value, boolean legacy) const;
void log_matchv(const Base_Type* match_value, boolean legacy) const;
void log() const;
void log_match(const Msg__port__recv_operation& match_value, boolean legacy = FALSE) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
void set_param(Module_Param& param);
Module_Param* get_param(Module_Param_Name& param_name) const;
};

class Msg__port__recv : public Record_Type {
  CHARSTRING field_port__name;
  Msg__port__recv_operation field_operation;
  INTEGER field_compref;
  CHARSTRING field_sys__name;
  CHARSTRING field_parameter;
  INTEGER field_msgid;
  Base_Type* fld_vec[6];
  void init_vec();
public:
  Msg__port__recv();
  Msg__port__recv(const Msg__port__recv& other_value);
  Msg__port__recv(const CHARSTRING& par_port__name,
    const Msg__port__recv_operation& par_operation,
    const INTEGER& par_compref,
    const CHARSTRING& par_sys__name,
    const CHARSTRING& par_parameter,
    const INTEGER& par_msgid);
inline Msg__port__recv& operator=(const Msg__port__recv& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const Msg__port__recv& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const Msg__port__recv& other_value) const
    { return !is_equal(&other_value); }

  inline CHARSTRING& port__name()
    {return field_port__name;}
  inline const CHARSTRING& port__name() const
    {return field_port__name;}
  inline Msg__port__recv_operation& operation()
    {return field_operation;}
  inline const Msg__port__recv_operation& operation() const
    {return field_operation;}
  inline INTEGER& compref()
    {return field_compref;}
  inline const INTEGER& compref() const
    {return field_compref;}
  inline CHARSTRING& sys__name()
    {return field_sys__name;}
  inline const CHARSTRING& sys__name() const
    {return field_sys__name;}
  inline CHARSTRING& parameter()
    {return field_parameter;}
  inline const CHARSTRING& parameter() const
    {return field_parameter;}
  inline INTEGER& msgid()
    {return field_msgid;}
  inline const INTEGER& msgid() const
    {return field_msgid;}
Base_Type* clone() const { return new Msg__port__recv(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 6;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 6; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class Msg__port__recv_template : public Record_Template {
void set_specific();
public:
Msg__port__recv_template(): Record_Template() {}
Msg__port__recv_template(template_sel other_value): Record_Template(other_value) {}
Msg__port__recv_template(const Msg__port__recv& other_value): Record_Template() { copy_value(&other_value); }
Msg__port__recv_template(const OPTIONAL<Msg__port__recv>& other_value): Record_Template() { copy_optional(&other_value); }
Msg__port__recv_template(Msg__port__recv_template* p_precondition, Msg__port__recv_template* p_implied_template);
Msg__port__recv_template(Dynamic_Match_Interface<Msg__port__recv>* p_dyn_match);
Msg__port__recv_template(const Msg__port__recv_template& other_value): Record_Template() { copy_template(other_value); }
~Msg__port__recv_template();
boolean match_dynamic(const Base_Type* match_value) const;
Msg__port__recv_template& operator=(template_sel other_value);
Msg__port__recv_template& operator=(const Msg__port__recv& other_value);
Msg__port__recv_template& operator=(const OPTIONAL<Msg__port__recv>& other_value);
Msg__port__recv_template& operator=(const Msg__port__recv_template& other_value);
inline boolean match(const Msg__port__recv& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const Msg__port__recv& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
Msg__port__recv valueof() const;
const Msg__port__recv_template to_present() const;
const Msg__port__recv to_value() const;
inline Msg__port__recv_template& list_item(int list_index) const { return *(static_cast<Msg__port__recv_template*>(get_list_item(list_index))); }
CHARSTRING_template& port__name();
const CHARSTRING_template& port__name() const;
CHARSTRING_template& init_port__name();
const CHARSTRING_template& get_field_port__name() const;
Msg__port__recv_operation_template& operation();
const Msg__port__recv_operation_template& operation() const;
Msg__port__recv_operation_template& init_operation();
const Msg__port__recv_operation_template& get_field_operation() const;
INTEGER_template& compref();
const INTEGER_template& compref() const;
INTEGER_template& init_compref();
const INTEGER_template& get_field_compref() const;
CHARSTRING_template& sys__name();
const CHARSTRING_template& sys__name() const;
CHARSTRING_template& init_sys__name();
const CHARSTRING_template& get_field_sys__name() const;
CHARSTRING_template& parameter();
const CHARSTRING_template& parameter() const;
CHARSTRING_template& init_parameter();
const CHARSTRING_template& get_field_parameter() const;
INTEGER_template& msgid();
const INTEGER_template& msgid() const;
INTEGER_template& init_msgid();
const INTEGER_template& get_field_msgid() const;
Record_Template* create() const { return new Msg__port__recv_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static CHARSTRING_template any_value_field_port__name;
static Msg__port__recv_operation_template any_value_field_operation;
static INTEGER_template any_value_field_compref;
static CHARSTRING_template any_value_field_sys__name;
static CHARSTRING_template any_value_field_parameter;
static INTEGER_template any_value_field_msgid;
Base_Template* get_any_value_field(int field_index) const;
};

class Dualface__mapped : public Record_Type {
  BOOLEAN field_incoming;
  CHARSTRING field_target__type;
  CHARSTRING field_value__;
  INTEGER field_msgid;
  Base_Type* fld_vec[4];
  void init_vec();
public:
  Dualface__mapped();
  Dualface__mapped(const Dualface__mapped& other_value);
  Dualface__mapped(const BOOLEAN& par_incoming,
    const CHARSTRING& par_target__type,
    const CHARSTRING& par_value__,
    const INTEGER& par_msgid);
inline Dualface__mapped& operator=(const Dualface__mapped& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const Dualface__mapped& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const Dualface__mapped& other_value) const
    { return !is_equal(&other_value); }

  inline BOOLEAN& incoming()
    {return field_incoming;}
  inline const BOOLEAN& incoming() const
    {return field_incoming;}
  inline CHARSTRING& target__type()
    {return field_target__type;}
  inline const CHARSTRING& target__type() const
    {return field_target__type;}
  inline CHARSTRING& value__()
    {return field_value__;}
  inline const CHARSTRING& value__() const
    {return field_value__;}
  inline INTEGER& msgid()
    {return field_msgid;}
  inline const INTEGER& msgid() const
    {return field_msgid;}
Base_Type* clone() const { return new Dualface__mapped(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 4;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 4; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class Dualface__mapped_template : public Record_Template {
void set_specific();
public:
Dualface__mapped_template(): Record_Template() {}
Dualface__mapped_template(template_sel other_value): Record_Template(other_value) {}
Dualface__mapped_template(const Dualface__mapped& other_value): Record_Template() { copy_value(&other_value); }
Dualface__mapped_template(const OPTIONAL<Dualface__mapped>& other_value): Record_Template() { copy_optional(&other_value); }
Dualface__mapped_template(Dualface__mapped_template* p_precondition, Dualface__mapped_template* p_implied_template);
Dualface__mapped_template(Dynamic_Match_Interface<Dualface__mapped>* p_dyn_match);
Dualface__mapped_template(const Dualface__mapped_template& other_value): Record_Template() { copy_template(other_value); }
~Dualface__mapped_template();
boolean match_dynamic(const Base_Type* match_value) const;
Dualface__mapped_template& operator=(template_sel other_value);
Dualface__mapped_template& operator=(const Dualface__mapped& other_value);
Dualface__mapped_template& operator=(const OPTIONAL<Dualface__mapped>& other_value);
Dualface__mapped_template& operator=(const Dualface__mapped_template& other_value);
inline boolean match(const Dualface__mapped& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const Dualface__mapped& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
Dualface__mapped valueof() const;
const Dualface__mapped_template to_present() const;
const Dualface__mapped to_value() const;
inline Dualface__mapped_template& list_item(int list_index) const { return *(static_cast<Dualface__mapped_template*>(get_list_item(list_index))); }
BOOLEAN_template& incoming();
const BOOLEAN_template& incoming() const;
BOOLEAN_template& init_incoming();
const BOOLEAN_template& get_field_incoming() const;
CHARSTRING_template& target__type();
const CHARSTRING_template& target__type() const;
CHARSTRING_template& init_target__type();
const CHARSTRING_template& get_field_target__type() const;
CHARSTRING_template& value__();
const CHARSTRING_template& value__() const;
CHARSTRING_template& init_value__();
const CHARSTRING_template& get_field_value__() const;
INTEGER_template& msgid();
const INTEGER_template& msgid() const;
INTEGER_template& init_msgid();
const INTEGER_template& get_field_msgid() const;
Record_Template* create() const { return new Dualface__mapped_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static BOOLEAN_template any_value_field_incoming;
static CHARSTRING_template any_value_field_target__type;
static CHARSTRING_template any_value_field_value__;
static INTEGER_template any_value_field_msgid;
Base_Template* get_any_value_field(int field_index) const;
};

class Dualface__discard : public Record_Type {
  BOOLEAN field_incoming;
  CHARSTRING field_target__type;
  CHARSTRING field_port__name;
  BOOLEAN field_unhandled;
  Base_Type* fld_vec[4];
  void init_vec();
public:
  Dualface__discard();
  Dualface__discard(const Dualface__discard& other_value);
  Dualface__discard(const BOOLEAN& par_incoming,
    const CHARSTRING& par_target__type,
    const CHARSTRING& par_port__name,
    const BOOLEAN& par_unhandled);
inline Dualface__discard& operator=(const Dualface__discard& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const Dualface__discard& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const Dualface__discard& other_value) const
    { return !is_equal(&other_value); }

  inline BOOLEAN& incoming()
    {return field_incoming;}
  inline const BOOLEAN& incoming() const
    {return field_incoming;}
  inline CHARSTRING& target__type()
    {return field_target__type;}
  inline const CHARSTRING& target__type() const
    {return field_target__type;}
  inline CHARSTRING& port__name()
    {return field_port__name;}
  inline const CHARSTRING& port__name() const
    {return field_port__name;}
  inline BOOLEAN& unhandled()
    {return field_unhandled;}
  inline const BOOLEAN& unhandled() const
    {return field_unhandled;}
Base_Type* clone() const { return new Dualface__discard(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 4;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 4; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class Dualface__discard_template : public Record_Template {
void set_specific();
public:
Dualface__discard_template(): Record_Template() {}
Dualface__discard_template(template_sel other_value): Record_Template(other_value) {}
Dualface__discard_template(const Dualface__discard& other_value): Record_Template() { copy_value(&other_value); }
Dualface__discard_template(const OPTIONAL<Dualface__discard>& other_value): Record_Template() { copy_optional(&other_value); }
Dualface__discard_template(Dualface__discard_template* p_precondition, Dualface__discard_template* p_implied_template);
Dualface__discard_template(Dynamic_Match_Interface<Dualface__discard>* p_dyn_match);
Dualface__discard_template(const Dualface__discard_template& other_value): Record_Template() { copy_template(other_value); }
~Dualface__discard_template();
boolean match_dynamic(const Base_Type* match_value) const;
Dualface__discard_template& operator=(template_sel other_value);
Dualface__discard_template& operator=(const Dualface__discard& other_value);
Dualface__discard_template& operator=(const OPTIONAL<Dualface__discard>& other_value);
Dualface__discard_template& operator=(const Dualface__discard_template& other_value);
inline boolean match(const Dualface__discard& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const Dualface__discard& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
Dualface__discard valueof() const;
const Dualface__discard_template to_present() const;
const Dualface__discard to_value() const;
inline Dualface__discard_template& list_item(int list_index) const { return *(static_cast<Dualface__discard_template*>(get_list_item(list_index))); }
BOOLEAN_template& incoming();
const BOOLEAN_template& incoming() const;
BOOLEAN_template& init_incoming();
const BOOLEAN_template& get_field_incoming() const;
CHARSTRING_template& target__type();
const CHARSTRING_template& target__type() const;
CHARSTRING_template& init_target__type();
const CHARSTRING_template& get_field_target__type() const;
CHARSTRING_template& port__name();
const CHARSTRING_template& port__name() const;
CHARSTRING_template& init_port__name();
const CHARSTRING_template& get_field_port__name() const;
BOOLEAN_template& unhandled();
const BOOLEAN_template& unhandled() const;
BOOLEAN_template& init_unhandled();
const BOOLEAN_template& get_field_unhandled() const;
Record_Template* create() const { return new Dualface__discard_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static BOOLEAN_template any_value_field_incoming;
static CHARSTRING_template any_value_field_target__type;
static CHARSTRING_template any_value_field_port__name;
static BOOLEAN_template any_value_field_unhandled;
Base_Template* get_any_value_field(int field_index) const;
};

class Setstate : public Record_Type {
  CHARSTRING field_port__name;
  CHARSTRING field_state;
  CHARSTRING field_info;
  Base_Type* fld_vec[3];
  void init_vec();
public:
  Setstate();
  Setstate(const Setstate& other_value);
  Setstate(const CHARSTRING& par_port__name,
    const CHARSTRING& par_state,
    const CHARSTRING& par_info);
inline Setstate& operator=(const Setstate& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const Setstate& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const Setstate& other_value) const
    { return !is_equal(&other_value); }

  inline CHARSTRING& port__name()
    {return field_port__name;}
  inline const CHARSTRING& port__name() const
    {return field_port__name;}
  inline CHARSTRING& state()
    {return field_state;}
  inline const CHARSTRING& state() const
    {return field_state;}
  inline CHARSTRING& info()
    {return field_info;}
  inline const CHARSTRING& info() const
    {return field_info;}
Base_Type* clone() const { return new Setstate(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 3;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 3; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class Setstate_template : public Record_Template {
void set_specific();
public:
Setstate_template(): Record_Template() {}
Setstate_template(template_sel other_value): Record_Template(other_value) {}
Setstate_template(const Setstate& other_value): Record_Template() { copy_value(&other_value); }
Setstate_template(const OPTIONAL<Setstate>& other_value): Record_Template() { copy_optional(&other_value); }
Setstate_template(Setstate_template* p_precondition, Setstate_template* p_implied_template);
Setstate_template(Dynamic_Match_Interface<Setstate>* p_dyn_match);
Setstate_template(const Setstate_template& other_value): Record_Template() { copy_template(other_value); }
~Setstate_template();
boolean match_dynamic(const Base_Type* match_value) const;
Setstate_template& operator=(template_sel other_value);
Setstate_template& operator=(const Setstate& other_value);
Setstate_template& operator=(const OPTIONAL<Setstate>& other_value);
Setstate_template& operator=(const Setstate_template& other_value);
inline boolean match(const Setstate& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const Setstate& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
Setstate valueof() const;
const Setstate_template to_present() const;
const Setstate to_value() const;
inline Setstate_template& list_item(int list_index) const { return *(static_cast<Setstate_template*>(get_list_item(list_index))); }
CHARSTRING_template& port__name();
const CHARSTRING_template& port__name() const;
CHARSTRING_template& init_port__name();
const CHARSTRING_template& get_field_port__name() const;
CHARSTRING_template& state();
const CHARSTRING_template& state() const;
CHARSTRING_template& init_state();
const CHARSTRING_template& get_field_state() const;
CHARSTRING_template& info();
const CHARSTRING_template& info() const;
CHARSTRING_template& init_info();
const CHARSTRING_template& get_field_info() const;
Record_Template* create() const { return new Setstate_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static CHARSTRING_template any_value_field_port__name;
static CHARSTRING_template any_value_field_state;
static CHARSTRING_template any_value_field_info;
Base_Template* get_any_value_field(int field_index) const;
};

class Port__Misc_reason : public Enum_Type { // enum
friend class Port__Misc_reason_template;
public:
enum enum_type { removing__unterminated__connection = 0, removing__unterminated__mapping = 1, port__was__cleared = 2, local__connection__established = 3, local__connection__terminated = 4, port__is__waiting__for__connection__tcp = 5, port__is__waiting__for__connection__unix = 6, connection__established = 7, destroying__unestablished__connection = 8, terminating__connection = 9, sending__termination__request__failed = 10, termination__request__received = 11, acknowledging__termination__request__failed = 12, sending__would__block = 13, connection__accepted = 14, connection__reset__by__peer = 15, connection__closed__by__peer = 16, port__disconnected = 17, port__was__mapped__to__system = 18, port__was__unmapped__from__system = 19, UNKNOWN_VALUE = 20, UNBOUND_VALUE = 21 };
private:
enum_type enum_value;

public:
Port__Misc_reason();
Port__Misc_reason(int other_value);
Port__Misc_reason(enum_type other_value);
Port__Misc_reason(const Port__Misc_reason& other_value);

Port__Misc_reason& operator=(int other_value);
Port__Misc_reason& operator=(enum_type other_value);
Port__Misc_reason& operator=(const Port__Misc_reason& other_value);

boolean operator==(int other_value) const;
boolean operator==(enum_type other_value) const;
boolean operator==(const Port__Misc_reason& other_value) const;
inline boolean operator!=(int other_value) const { return !(*this == other_value); }
inline boolean operator!=(enum_type other_value) const { return !(*this == other_value); }
inline boolean operator!=(const Port__Misc_reason& other_value) const { return !(*this == other_value); }
boolean operator<(int other_value) const;
boolean operator<(enum_type other_value) const;
boolean operator<(const Port__Misc_reason& other_value) const;
boolean operator>(int other_value) const;
boolean operator>(enum_type other_value) const;
boolean operator>(const Port__Misc_reason& other_value) const;
inline boolean operator<=(int other_value) const { return !(*this > other_value); }
inline boolean operator<=(enum_type other_value) const { return !(*this > other_value); }
inline boolean operator<=(const Port__Misc_reason& other_value) const { return !(*this > other_value); }
inline boolean operator>=(int other_value) const { return !(*this < other_value); }
inline boolean operator>=(enum_type other_value) const { return !(*this < other_value); }
inline boolean operator>=(const Port__Misc_reason& other_value) const { return !(*this < other_value); }

static const char *enum_to_str(enum_type enum_par);
static enum_type str_to_enum(const char *str_par, const int* int_par = NULL, const int* int_par2 = NULL);
static boolean is_valid_enum(int int_par);

static int enum2int(enum_type enum_par);
static int enum2int(const Port__Misc_reason& enum_par);
int as_int() const { return enum2int(enum_value); }
void from_int(int p_val) { *this = p_val; }
void int2enum(int int_val);
operator enum_type() const;
inline boolean is_bound() const { return enum_value != UNBOUND_VALUE; }
inline boolean is_value() const { return enum_value != UNBOUND_VALUE; }
inline void clean_up(){ enum_value = UNBOUND_VALUE; }
boolean is_equal(const Base_Type* other_value) const;
void set_value(const Base_Type* other_value);
Base_Type* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
void log() const;
void set_param(Module_Param& param);
static int* get_int_for_param(enum_type );
Module_Param* get_param(Module_Param_Name& param_name) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void encode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...) const;
void decode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...);
int XER_encode(const XERdescriptor_t&, TTCN_Buffer&, unsigned int,unsigned int, int, embed_values_enc_struct_t*) const;
int XER_decode(const XERdescriptor_t&, XmlReaderWrap&, unsigned int, unsigned int, embed_values_dec_struct_t*);
static boolean can_start(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
boolean can_start_v(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
};

class Port__Misc_reason_template : public Base_Template {
union {
Port__Misc_reason::enum_type single_value;
struct {
unsigned int n_values;
Port__Misc_reason_template *list_value;
} value_list;
struct {
Port__Misc_reason_template* precondition;
Port__Misc_reason_template* implied_template;
} implication_;
dynmatch_struct<Port__Misc_reason>* dyn_match;
};

void copy_template(const Port__Misc_reason_template& other_value);

public:
Port__Misc_reason_template();
Port__Misc_reason_template(template_sel other_value);
Port__Misc_reason_template(int other_value);
Port__Misc_reason_template(Port__Misc_reason::enum_type other_value);
Port__Misc_reason_template(const Port__Misc_reason& other_value);
Port__Misc_reason_template(const OPTIONAL<Port__Misc_reason>& other_value);
Port__Misc_reason_template(Port__Misc_reason_template* p_precondition, Port__Misc_reason_template* p_implied_template);
Port__Misc_reason_template(Dynamic_Match_Interface<Port__Misc_reason>* p_dyn_match);
Port__Misc_reason_template(const Port__Misc_reason_template& other_value);
~Port__Misc_reason_template();

boolean is_bound() const;
boolean is_value() const;
void clean_up();
Port__Misc_reason_template& operator=(template_sel other_value);
Port__Misc_reason_template& operator=(int other_value);
Port__Misc_reason_template& operator=(Port__Misc_reason::enum_type other_value);
Port__Misc_reason_template& operator=(const Port__Misc_reason& other_value);
Port__Misc_reason_template& operator=(const OPTIONAL<Port__Misc_reason>& other_value);
Port__Misc_reason_template& operator=(const Port__Misc_reason_template& other_value);

boolean match(Port__Misc_reason::enum_type other_value, boolean legacy = FALSE) const;
boolean match(const Port__Misc_reason& other_value, boolean legacy = FALSE) const;
Port__Misc_reason::enum_type valueof() const;
const Port__Misc_reason_template to_present() const;
const Port__Misc_reason to_value() const;
void set_type(template_sel template_type, unsigned int list_length = 0);
Port__Misc_reason_template& list_item(unsigned int list_index);
void valueofv(Base_Type* value) const;
void set_value(template_sel other_value);
void copy_value(const Base_Type* other_value);
void to_valuev(Base_Type* value) const;
Base_Template* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean matchv(const Base_Type* other_value, boolean legacy) const;
void log_matchv(const Base_Type* match_value, boolean legacy) const;
void log() const;
void log_match(const Port__Misc_reason& match_value, boolean legacy = FALSE) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
void set_param(Module_Param& param);
Module_Param* get_param(Module_Param_Name& param_name) const;
};

class Port__Misc : public Record_Type {
  Port__Misc_reason field_reason;
  CHARSTRING field_port__name;
  INTEGER field_remote__component;
  CHARSTRING field_remote__port;
  CHARSTRING field_ip__address;
  INTEGER field_tcp__port;
  INTEGER field_new__size;
  Base_Type* fld_vec[7];
  void init_vec();
public:
  Port__Misc();
  Port__Misc(const Port__Misc& other_value);
  Port__Misc(const Port__Misc_reason& par_reason,
    const CHARSTRING& par_port__name,
    const INTEGER& par_remote__component,
    const CHARSTRING& par_remote__port,
    const CHARSTRING& par_ip__address,
    const INTEGER& par_tcp__port,
    const INTEGER& par_new__size);
inline Port__Misc& operator=(const Port__Misc& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const Port__Misc& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const Port__Misc& other_value) const
    { return !is_equal(&other_value); }

  inline Port__Misc_reason& reason()
    {return field_reason;}
  inline const Port__Misc_reason& reason() const
    {return field_reason;}
  inline CHARSTRING& port__name()
    {return field_port__name;}
  inline const CHARSTRING& port__name() const
    {return field_port__name;}
  inline INTEGER& remote__component()
    {return field_remote__component;}
  inline const INTEGER& remote__component() const
    {return field_remote__component;}
  inline CHARSTRING& remote__port()
    {return field_remote__port;}
  inline const CHARSTRING& remote__port() const
    {return field_remote__port;}
  inline CHARSTRING& ip__address()
    {return field_ip__address;}
  inline const CHARSTRING& ip__address() const
    {return field_ip__address;}
  inline INTEGER& tcp__port()
    {return field_tcp__port;}
  inline const INTEGER& tcp__port() const
    {return field_tcp__port;}
  inline INTEGER& new__size()
    {return field_new__size;}
  inline const INTEGER& new__size() const
    {return field_new__size;}
Base_Type* clone() const { return new Port__Misc(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 7;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 7; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class Port__Misc_template : public Record_Template {
void set_specific();
public:
Port__Misc_template(): Record_Template() {}
Port__Misc_template(template_sel other_value): Record_Template(other_value) {}
Port__Misc_template(const Port__Misc& other_value): Record_Template() { copy_value(&other_value); }
Port__Misc_template(const OPTIONAL<Port__Misc>& other_value): Record_Template() { copy_optional(&other_value); }
Port__Misc_template(Port__Misc_template* p_precondition, Port__Misc_template* p_implied_template);
Port__Misc_template(Dynamic_Match_Interface<Port__Misc>* p_dyn_match);
Port__Misc_template(const Port__Misc_template& other_value): Record_Template() { copy_template(other_value); }
~Port__Misc_template();
boolean match_dynamic(const Base_Type* match_value) const;
Port__Misc_template& operator=(template_sel other_value);
Port__Misc_template& operator=(const Port__Misc& other_value);
Port__Misc_template& operator=(const OPTIONAL<Port__Misc>& other_value);
Port__Misc_template& operator=(const Port__Misc_template& other_value);
inline boolean match(const Port__Misc& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const Port__Misc& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
Port__Misc valueof() const;
const Port__Misc_template to_present() const;
const Port__Misc to_value() const;
inline Port__Misc_template& list_item(int list_index) const { return *(static_cast<Port__Misc_template*>(get_list_item(list_index))); }
Port__Misc_reason_template& reason();
const Port__Misc_reason_template& reason() const;
Port__Misc_reason_template& init_reason();
const Port__Misc_reason_template& get_field_reason() const;
CHARSTRING_template& port__name();
const CHARSTRING_template& port__name() const;
CHARSTRING_template& init_port__name();
const CHARSTRING_template& get_field_port__name() const;
INTEGER_template& remote__component();
const INTEGER_template& remote__component() const;
INTEGER_template& init_remote__component();
const INTEGER_template& get_field_remote__component() const;
CHARSTRING_template& remote__port();
const CHARSTRING_template& remote__port() const;
CHARSTRING_template& init_remote__port();
const CHARSTRING_template& get_field_remote__port() const;
CHARSTRING_template& ip__address();
const CHARSTRING_template& ip__address() const;
CHARSTRING_template& init_ip__address();
const CHARSTRING_template& get_field_ip__address() const;
INTEGER_template& tcp__port();
const INTEGER_template& tcp__port() const;
INTEGER_template& init_tcp__port();
const INTEGER_template& get_field_tcp__port() const;
INTEGER_template& new__size();
const INTEGER_template& new__size() const;
INTEGER_template& init_new__size();
const INTEGER_template& get_field_new__size() const;
Record_Template* create() const { return new Port__Misc_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static Port__Misc_reason_template any_value_field_reason;
static CHARSTRING_template any_value_field_port__name;
static INTEGER_template any_value_field_remote__component;
static CHARSTRING_template any_value_field_remote__port;
static CHARSTRING_template any_value_field_ip__address;
static INTEGER_template any_value_field_tcp__port;
static INTEGER_template any_value_field_new__size;
Base_Template* get_any_value_field(int field_index) const;
};

class PortEvent : public Record_Type {
  PortEvent_choice field_choice;
  Base_Type* fld_vec[1];
  void init_vec();
public:
  PortEvent();
  PortEvent(const PortEvent& other_value);
  PortEvent(const PortEvent_choice& par_choice);
inline PortEvent& operator=(const PortEvent& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const PortEvent& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const PortEvent& other_value) const
    { return !is_equal(&other_value); }

  inline PortEvent_choice& choice()
    {return field_choice;}
  inline const PortEvent_choice& choice() const
    {return field_choice;}
Base_Type* clone() const { return new PortEvent(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 1;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 1; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class PortEvent_template : public Record_Template {
void set_specific();
public:
PortEvent_template(): Record_Template() {}
PortEvent_template(template_sel other_value): Record_Template(other_value) {}
PortEvent_template(const PortEvent& other_value): Record_Template() { copy_value(&other_value); }
PortEvent_template(const OPTIONAL<PortEvent>& other_value): Record_Template() { copy_optional(&other_value); }
PortEvent_template(PortEvent_template* p_precondition, PortEvent_template* p_implied_template);
PortEvent_template(Dynamic_Match_Interface<PortEvent>* p_dyn_match);
PortEvent_template(const PortEvent_template& other_value): Record_Template() { copy_template(other_value); }
~PortEvent_template();
boolean match_dynamic(const Base_Type* match_value) const;
PortEvent_template& operator=(template_sel other_value);
PortEvent_template& operator=(const PortEvent& other_value);
PortEvent_template& operator=(const OPTIONAL<PortEvent>& other_value);
PortEvent_template& operator=(const PortEvent_template& other_value);
inline boolean match(const PortEvent& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const PortEvent& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
PortEvent valueof() const;
const PortEvent_template to_present() const;
const PortEvent to_value() const;
inline PortEvent_template& list_item(int list_index) const { return *(static_cast<PortEvent_template*>(get_list_item(list_index))); }
PortEvent_choice_template& choice();
const PortEvent_choice_template& choice() const;
PortEvent_choice_template& init_choice();
const PortEvent_choice_template& get_field_choice() const;
Record_Template* create() const { return new PortEvent_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static PortEvent_choice_template any_value_field_choice;
Base_Template* get_any_value_field(int field_index) const;
};

class StatisticsType_choice : public Base_Type {
public:
static const int s_count = 4;

public:
enum union_selection_type { UNBOUND_VALUE = 0, ALT_verdictStatistics = 1, ALT_controlpartStart = 2, ALT_controlpartFinish = 3, ALT_controlpartErrors = 4 };
private:
union_selection_type union_selection;
union {
StatisticsType_choice_verdictStatistics *field_verdictStatistics;
CHARSTRING *field_controlpartStart;
CHARSTRING *field_controlpartFinish;
INTEGER *field_controlpartErrors;
};
Erroneous_descriptor_t* err_descr;
void copy_value(const StatisticsType_choice& other_value);

public:
StatisticsType_choice();
StatisticsType_choice(const StatisticsType_choice& other_value);
~StatisticsType_choice();
StatisticsType_choice& operator=(const StatisticsType_choice& other_value);
boolean operator==(const StatisticsType_choice& other_value) const;
inline boolean operator!=(const StatisticsType_choice& other_value) const { return !(*this == other_value); }
StatisticsType_choice_verdictStatistics& verdictStatistics();
const StatisticsType_choice_verdictStatistics& verdictStatistics() const;
CHARSTRING& controlpartStart();
const CHARSTRING& controlpartStart() const;
CHARSTRING& controlpartFinish();
const CHARSTRING& controlpartFinish() const;
INTEGER& controlpartErrors();
const INTEGER& controlpartErrors() const;
inline union_selection_type get_selection() const { return union_selection; }
boolean ischosen(union_selection_type checked_selection) const;
boolean is_bound() const;
boolean is_value() const;
void clean_up();
boolean is_equal(const Base_Type* other_value) const;
void set_value(const Base_Type* other_value);
Base_Type* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
void set_err_descr(Erroneous_descriptor_t* p_err_descr) { err_descr=p_err_descr; }
Erroneous_descriptor_t* get_err_descr() const { return err_descr; }
void log() const;
void set_param(Module_Param& param);
Module_Param* get_param(Module_Param_Name& param_name) const;
  void set_implicit_omit();
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void encode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...) const;
void decode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...);
int XER_encode(const XERdescriptor_t&, TTCN_Buffer&, unsigned int,unsigned int, int, embed_values_enc_struct_t*) const;
int XER_decode(const XERdescriptor_t&, XmlReaderWrap&, unsigned int, unsigned int, embed_values_dec_struct_t*);
static boolean can_start(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
boolean can_start_v(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
char **collect_ns(const XERdescriptor_t& p_td, size_t& num, boolean& def_ns, unsigned int flavor = 0) const;
int XER_encode_negtest(const Erroneous_descriptor_t* p_err_descr, const XERdescriptor_t& p_td, TTCN_Buffer& p_buf, unsigned int p_flavor, unsigned int p_flavor2, int p_indent, embed_values_enc_struct_t*) const;
};

class StatisticsType_choice_template : public Base_Template {
union {
struct {
StatisticsType_choice::union_selection_type union_selection;
union {
StatisticsType_choice_verdictStatistics_template *field_verdictStatistics;
CHARSTRING_template *field_controlpartStart;
CHARSTRING_template *field_controlpartFinish;
INTEGER_template *field_controlpartErrors;
};
} single_value;
struct {
unsigned int n_values;
StatisticsType_choice_template *list_value;
} value_list;
struct {
StatisticsType_choice_template* precondition;
StatisticsType_choice_template* implied_template;
} implication_;
dynmatch_struct<StatisticsType_choice>* dyn_match;
};
Erroneous_descriptor_t* err_descr;
static StatisticsType_choice_verdictStatistics_template any_value_field_verdictStatistics;
static CHARSTRING_template any_value_field_controlpartStart;
static CHARSTRING_template any_value_field_controlpartFinish;
static INTEGER_template any_value_field_controlpartErrors;
void copy_value(const StatisticsType_choice& other_value);

void copy_template(const StatisticsType_choice_template& other_value);

public:
StatisticsType_choice_template();
StatisticsType_choice_template(template_sel other_value);
StatisticsType_choice_template(const StatisticsType_choice& other_value);
StatisticsType_choice_template(const OPTIONAL<StatisticsType_choice>& other_value);
StatisticsType_choice_template(StatisticsType_choice_template* p_precondition, StatisticsType_choice_template* p_implied_template);
StatisticsType_choice_template(Dynamic_Match_Interface<StatisticsType_choice>* p_dyn_match);
StatisticsType_choice_template(const StatisticsType_choice_template& other_value);
~StatisticsType_choice_template();
void clean_up();
StatisticsType_choice_template& operator=(template_sel other_value);
StatisticsType_choice_template& operator=(const StatisticsType_choice& other_value);
StatisticsType_choice_template& operator=(const OPTIONAL<StatisticsType_choice>& other_value);
StatisticsType_choice_template& operator=(const StatisticsType_choice_template& other_value);
boolean match(const StatisticsType_choice& other_value, boolean legacy = FALSE) const;
boolean is_value() const;StatisticsType_choice valueof() const;
const StatisticsType_choice_template to_present() const;
const StatisticsType_choice to_value() const;
StatisticsType_choice_template& list_item(unsigned int list_index) const;
void set_type(template_sel template_type, unsigned int list_length);
StatisticsType_choice::union_selection_type get_union_selection() const;
StatisticsType_choice_verdictStatistics_template& verdictStatistics();
const StatisticsType_choice_verdictStatistics_template& verdictStatistics() const;
StatisticsType_choice_verdictStatistics_template& init_verdictStatistics();
const StatisticsType_choice_verdictStatistics_template& get_field_verdictStatistics() const;
CHARSTRING_template& controlpartStart();
const CHARSTRING_template& controlpartStart() const;
CHARSTRING_template& init_controlpartStart();
const CHARSTRING_template& get_field_controlpartStart() const;
CHARSTRING_template& controlpartFinish();
const CHARSTRING_template& controlpartFinish() const;
CHARSTRING_template& init_controlpartFinish();
const CHARSTRING_template& get_field_controlpartFinish() const;
INTEGER_template& controlpartErrors();
const INTEGER_template& controlpartErrors() const;
INTEGER_template& init_controlpartErrors();
const INTEGER_template& get_field_controlpartErrors() const;
boolean ischosen(StatisticsType_choice::union_selection_type checked_selection) const;
void set_err_descr(Erroneous_descriptor_t* p_err_descr) { err_descr=p_err_descr; }
void valueofv(Base_Type* value) const;
void set_value(template_sel other_value);
void copy_value(const Base_Type* other_value);
void to_valuev(Base_Type* value) const;
Base_Template* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean matchv(const Base_Type* other_value, boolean legacy) const;
void log_matchv(const Base_Type* match_value, boolean legacy) const;
void log() const;
void log_match(const StatisticsType_choice& match_value, boolean legacy = FALSE) const;
  void set_implicit_omit();
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
void set_param(Module_Param& param);
Module_Param* get_param(Module_Param_Name& param_name) const;
void check_restriction(template_res t_res, const char* t_name=NULL, boolean legacy = FALSE) const;
};

class StatisticsType_choice_verdictStatistics : public Record_Type {
  INTEGER field_none__;
  FLOAT field_nonePercent;
  INTEGER field_pass__;
  FLOAT field_passPercent;
  INTEGER field_inconc__;
  FLOAT field_inconcPercent;
  INTEGER field_fail__;
  FLOAT field_failPercent;
  INTEGER field_error__;
  FLOAT field_errorPercent;
  Base_Type* fld_vec[10];
  void init_vec();
public:
  StatisticsType_choice_verdictStatistics();
  StatisticsType_choice_verdictStatistics(const StatisticsType_choice_verdictStatistics& other_value);
  StatisticsType_choice_verdictStatistics(const INTEGER& par_none__,
    const FLOAT& par_nonePercent,
    const INTEGER& par_pass__,
    const FLOAT& par_passPercent,
    const INTEGER& par_inconc__,
    const FLOAT& par_inconcPercent,
    const INTEGER& par_fail__,
    const FLOAT& par_failPercent,
    const INTEGER& par_error__,
    const FLOAT& par_errorPercent);
inline StatisticsType_choice_verdictStatistics& operator=(const StatisticsType_choice_verdictStatistics& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const StatisticsType_choice_verdictStatistics& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const StatisticsType_choice_verdictStatistics& other_value) const
    { return !is_equal(&other_value); }

  inline INTEGER& none__()
    {return field_none__;}
  inline const INTEGER& none__() const
    {return field_none__;}
  inline FLOAT& nonePercent()
    {return field_nonePercent;}
  inline const FLOAT& nonePercent() const
    {return field_nonePercent;}
  inline INTEGER& pass__()
    {return field_pass__;}
  inline const INTEGER& pass__() const
    {return field_pass__;}
  inline FLOAT& passPercent()
    {return field_passPercent;}
  inline const FLOAT& passPercent() const
    {return field_passPercent;}
  inline INTEGER& inconc__()
    {return field_inconc__;}
  inline const INTEGER& inconc__() const
    {return field_inconc__;}
  inline FLOAT& inconcPercent()
    {return field_inconcPercent;}
  inline const FLOAT& inconcPercent() const
    {return field_inconcPercent;}
  inline INTEGER& fail__()
    {return field_fail__;}
  inline const INTEGER& fail__() const
    {return field_fail__;}
  inline FLOAT& failPercent()
    {return field_failPercent;}
  inline const FLOAT& failPercent() const
    {return field_failPercent;}
  inline INTEGER& error__()
    {return field_error__;}
  inline const INTEGER& error__() const
    {return field_error__;}
  inline FLOAT& errorPercent()
    {return field_errorPercent;}
  inline const FLOAT& errorPercent() const
    {return field_errorPercent;}
Base_Type* clone() const { return new StatisticsType_choice_verdictStatistics(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 10;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 10; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class StatisticsType_choice_verdictStatistics_template : public Record_Template {
void set_specific();
public:
StatisticsType_choice_verdictStatistics_template(): Record_Template() {}
StatisticsType_choice_verdictStatistics_template(template_sel other_value): Record_Template(other_value) {}
StatisticsType_choice_verdictStatistics_template(const StatisticsType_choice_verdictStatistics& other_value): Record_Template() { copy_value(&other_value); }
StatisticsType_choice_verdictStatistics_template(const OPTIONAL<StatisticsType_choice_verdictStatistics>& other_value): Record_Template() { copy_optional(&other_value); }
StatisticsType_choice_verdictStatistics_template(StatisticsType_choice_verdictStatistics_template* p_precondition, StatisticsType_choice_verdictStatistics_template* p_implied_template);
StatisticsType_choice_verdictStatistics_template(Dynamic_Match_Interface<StatisticsType_choice_verdictStatistics>* p_dyn_match);
StatisticsType_choice_verdictStatistics_template(const StatisticsType_choice_verdictStatistics_template& other_value): Record_Template() { copy_template(other_value); }
~StatisticsType_choice_verdictStatistics_template();
boolean match_dynamic(const Base_Type* match_value) const;
StatisticsType_choice_verdictStatistics_template& operator=(template_sel other_value);
StatisticsType_choice_verdictStatistics_template& operator=(const StatisticsType_choice_verdictStatistics& other_value);
StatisticsType_choice_verdictStatistics_template& operator=(const OPTIONAL<StatisticsType_choice_verdictStatistics>& other_value);
StatisticsType_choice_verdictStatistics_template& operator=(const StatisticsType_choice_verdictStatistics_template& other_value);
inline boolean match(const StatisticsType_choice_verdictStatistics& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const StatisticsType_choice_verdictStatistics& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
StatisticsType_choice_verdictStatistics valueof() const;
const StatisticsType_choice_verdictStatistics_template to_present() const;
const StatisticsType_choice_verdictStatistics to_value() const;
inline StatisticsType_choice_verdictStatistics_template& list_item(int list_index) const { return *(static_cast<StatisticsType_choice_verdictStatistics_template*>(get_list_item(list_index))); }
INTEGER_template& none__();
const INTEGER_template& none__() const;
INTEGER_template& init_none__();
const INTEGER_template& get_field_none__() const;
FLOAT_template& nonePercent();
const FLOAT_template& nonePercent() const;
FLOAT_template& init_nonePercent();
const FLOAT_template& get_field_nonePercent() const;
INTEGER_template& pass__();
const INTEGER_template& pass__() const;
INTEGER_template& init_pass__();
const INTEGER_template& get_field_pass__() const;
FLOAT_template& passPercent();
const FLOAT_template& passPercent() const;
FLOAT_template& init_passPercent();
const FLOAT_template& get_field_passPercent() const;
INTEGER_template& inconc__();
const INTEGER_template& inconc__() const;
INTEGER_template& init_inconc__();
const INTEGER_template& get_field_inconc__() const;
FLOAT_template& inconcPercent();
const FLOAT_template& inconcPercent() const;
FLOAT_template& init_inconcPercent();
const FLOAT_template& get_field_inconcPercent() const;
INTEGER_template& fail__();
const INTEGER_template& fail__() const;
INTEGER_template& init_fail__();
const INTEGER_template& get_field_fail__() const;
FLOAT_template& failPercent();
const FLOAT_template& failPercent() const;
FLOAT_template& init_failPercent();
const FLOAT_template& get_field_failPercent() const;
INTEGER_template& error__();
const INTEGER_template& error__() const;
INTEGER_template& init_error__();
const INTEGER_template& get_field_error__() const;
FLOAT_template& errorPercent();
const FLOAT_template& errorPercent() const;
FLOAT_template& init_errorPercent();
const FLOAT_template& get_field_errorPercent() const;
Record_Template* create() const { return new StatisticsType_choice_verdictStatistics_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static INTEGER_template any_value_field_none__;
static FLOAT_template any_value_field_nonePercent;
static INTEGER_template any_value_field_pass__;
static FLOAT_template any_value_field_passPercent;
static INTEGER_template any_value_field_inconc__;
static FLOAT_template any_value_field_inconcPercent;
static INTEGER_template any_value_field_fail__;
static FLOAT_template any_value_field_failPercent;
static INTEGER_template any_value_field_error__;
static FLOAT_template any_value_field_errorPercent;
Base_Template* get_any_value_field(int field_index) const;
};

class StatisticsType : public Record_Type {
  StatisticsType_choice field_choice;
  Base_Type* fld_vec[1];
  void init_vec();
public:
  StatisticsType();
  StatisticsType(const StatisticsType& other_value);
  StatisticsType(const StatisticsType_choice& par_choice);
inline StatisticsType& operator=(const StatisticsType& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const StatisticsType& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const StatisticsType& other_value) const
    { return !is_equal(&other_value); }

  inline StatisticsType_choice& choice()
    {return field_choice;}
  inline const StatisticsType_choice& choice() const
    {return field_choice;}
Base_Type* clone() const { return new StatisticsType(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 1;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 1; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class StatisticsType_template : public Record_Template {
void set_specific();
public:
StatisticsType_template(): Record_Template() {}
StatisticsType_template(template_sel other_value): Record_Template(other_value) {}
StatisticsType_template(const StatisticsType& other_value): Record_Template() { copy_value(&other_value); }
StatisticsType_template(const OPTIONAL<StatisticsType>& other_value): Record_Template() { copy_optional(&other_value); }
StatisticsType_template(StatisticsType_template* p_precondition, StatisticsType_template* p_implied_template);
StatisticsType_template(Dynamic_Match_Interface<StatisticsType>* p_dyn_match);
StatisticsType_template(const StatisticsType_template& other_value): Record_Template() { copy_template(other_value); }
~StatisticsType_template();
boolean match_dynamic(const Base_Type* match_value) const;
StatisticsType_template& operator=(template_sel other_value);
StatisticsType_template& operator=(const StatisticsType& other_value);
StatisticsType_template& operator=(const OPTIONAL<StatisticsType>& other_value);
StatisticsType_template& operator=(const StatisticsType_template& other_value);
inline boolean match(const StatisticsType& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const StatisticsType& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
StatisticsType valueof() const;
const StatisticsType_template to_present() const;
const StatisticsType to_value() const;
inline StatisticsType_template& list_item(int list_index) const { return *(static_cast<StatisticsType_template*>(get_list_item(list_index))); }
StatisticsType_choice_template& choice();
const StatisticsType_choice_template& choice() const;
StatisticsType_choice_template& init_choice();
const StatisticsType_choice_template& get_field_choice() const;
Record_Template* create() const { return new StatisticsType_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static StatisticsType_choice_template any_value_field_choice;
Base_Template* get_any_value_field(int field_index) const;
};

class TimerEvent_choice : public Base_Type {
public:
static const int s_count = 7;

public:
enum union_selection_type { UNBOUND_VALUE = 0, ALT_readTimer = 1, ALT_startTimer = 2, ALT_guardTimer = 3, ALT_stopTimer = 4, ALT_timeoutTimer = 5, ALT_timeoutAnyTimer = 6, ALT_unqualifiedTimer = 7 };
private:
union_selection_type union_selection;
union {
TimerType *field_readTimer;
TimerType *field_startTimer;
TimerGuardType *field_guardTimer;
TimerType *field_stopTimer;
TimerType *field_timeoutTimer;
TimerAnyTimeoutType *field_timeoutAnyTimer;
CHARSTRING *field_unqualifiedTimer;
};
Erroneous_descriptor_t* err_descr;
void copy_value(const TimerEvent_choice& other_value);

public:
TimerEvent_choice();
TimerEvent_choice(const TimerEvent_choice& other_value);
~TimerEvent_choice();
TimerEvent_choice& operator=(const TimerEvent_choice& other_value);
boolean operator==(const TimerEvent_choice& other_value) const;
inline boolean operator!=(const TimerEvent_choice& other_value) const { return !(*this == other_value); }
TimerType& readTimer();
const TimerType& readTimer() const;
TimerType& startTimer();
const TimerType& startTimer() const;
TimerGuardType& guardTimer();
const TimerGuardType& guardTimer() const;
TimerType& stopTimer();
const TimerType& stopTimer() const;
TimerType& timeoutTimer();
const TimerType& timeoutTimer() const;
TimerAnyTimeoutType& timeoutAnyTimer();
const TimerAnyTimeoutType& timeoutAnyTimer() const;
CHARSTRING& unqualifiedTimer();
const CHARSTRING& unqualifiedTimer() const;
inline union_selection_type get_selection() const { return union_selection; }
boolean ischosen(union_selection_type checked_selection) const;
boolean is_bound() const;
boolean is_value() const;
void clean_up();
boolean is_equal(const Base_Type* other_value) const;
void set_value(const Base_Type* other_value);
Base_Type* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
void set_err_descr(Erroneous_descriptor_t* p_err_descr) { err_descr=p_err_descr; }
Erroneous_descriptor_t* get_err_descr() const { return err_descr; }
void log() const;
void set_param(Module_Param& param);
Module_Param* get_param(Module_Param_Name& param_name) const;
  void set_implicit_omit();
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void encode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...) const;
void decode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...);
int XER_encode(const XERdescriptor_t&, TTCN_Buffer&, unsigned int,unsigned int, int, embed_values_enc_struct_t*) const;
int XER_decode(const XERdescriptor_t&, XmlReaderWrap&, unsigned int, unsigned int, embed_values_dec_struct_t*);
static boolean can_start(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
boolean can_start_v(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
char **collect_ns(const XERdescriptor_t& p_td, size_t& num, boolean& def_ns, unsigned int flavor = 0) const;
int XER_encode_negtest(const Erroneous_descriptor_t* p_err_descr, const XERdescriptor_t& p_td, TTCN_Buffer& p_buf, unsigned int p_flavor, unsigned int p_flavor2, int p_indent, embed_values_enc_struct_t*) const;
};

class TimerEvent_choice_template : public Base_Template {
union {
struct {
TimerEvent_choice::union_selection_type union_selection;
union {
TimerType_template *field_readTimer;
TimerType_template *field_startTimer;
TimerGuardType_template *field_guardTimer;
TimerType_template *field_stopTimer;
TimerType_template *field_timeoutTimer;
TimerAnyTimeoutType_template *field_timeoutAnyTimer;
CHARSTRING_template *field_unqualifiedTimer;
};
} single_value;
struct {
unsigned int n_values;
TimerEvent_choice_template *list_value;
} value_list;
struct {
TimerEvent_choice_template* precondition;
TimerEvent_choice_template* implied_template;
} implication_;
dynmatch_struct<TimerEvent_choice>* dyn_match;
};
Erroneous_descriptor_t* err_descr;
static TimerType_template any_value_field_readTimer;
static TimerType_template any_value_field_startTimer;
static TimerGuardType_template any_value_field_guardTimer;
static TimerType_template any_value_field_stopTimer;
static TimerType_template any_value_field_timeoutTimer;
static TimerAnyTimeoutType_template any_value_field_timeoutAnyTimer;
static CHARSTRING_template any_value_field_unqualifiedTimer;
void copy_value(const TimerEvent_choice& other_value);

void copy_template(const TimerEvent_choice_template& other_value);

public:
TimerEvent_choice_template();
TimerEvent_choice_template(template_sel other_value);
TimerEvent_choice_template(const TimerEvent_choice& other_value);
TimerEvent_choice_template(const OPTIONAL<TimerEvent_choice>& other_value);
TimerEvent_choice_template(TimerEvent_choice_template* p_precondition, TimerEvent_choice_template* p_implied_template);
TimerEvent_choice_template(Dynamic_Match_Interface<TimerEvent_choice>* p_dyn_match);
TimerEvent_choice_template(const TimerEvent_choice_template& other_value);
~TimerEvent_choice_template();
void clean_up();
TimerEvent_choice_template& operator=(template_sel other_value);
TimerEvent_choice_template& operator=(const TimerEvent_choice& other_value);
TimerEvent_choice_template& operator=(const OPTIONAL<TimerEvent_choice>& other_value);
TimerEvent_choice_template& operator=(const TimerEvent_choice_template& other_value);
boolean match(const TimerEvent_choice& other_value, boolean legacy = FALSE) const;
boolean is_value() const;TimerEvent_choice valueof() const;
const TimerEvent_choice_template to_present() const;
const TimerEvent_choice to_value() const;
TimerEvent_choice_template& list_item(unsigned int list_index) const;
void set_type(template_sel template_type, unsigned int list_length);
TimerEvent_choice::union_selection_type get_union_selection() const;
TimerType_template& readTimer();
const TimerType_template& readTimer() const;
TimerType_template& init_readTimer();
const TimerType_template& get_field_readTimer() const;
TimerType_template& startTimer();
const TimerType_template& startTimer() const;
TimerType_template& init_startTimer();
const TimerType_template& get_field_startTimer() const;
TimerGuardType_template& guardTimer();
const TimerGuardType_template& guardTimer() const;
TimerGuardType_template& init_guardTimer();
const TimerGuardType_template& get_field_guardTimer() const;
TimerType_template& stopTimer();
const TimerType_template& stopTimer() const;
TimerType_template& init_stopTimer();
const TimerType_template& get_field_stopTimer() const;
TimerType_template& timeoutTimer();
const TimerType_template& timeoutTimer() const;
TimerType_template& init_timeoutTimer();
const TimerType_template& get_field_timeoutTimer() const;
TimerAnyTimeoutType_template& timeoutAnyTimer();
const TimerAnyTimeoutType_template& timeoutAnyTimer() const;
TimerAnyTimeoutType_template& init_timeoutAnyTimer();
const TimerAnyTimeoutType_template& get_field_timeoutAnyTimer() const;
CHARSTRING_template& unqualifiedTimer();
const CHARSTRING_template& unqualifiedTimer() const;
CHARSTRING_template& init_unqualifiedTimer();
const CHARSTRING_template& get_field_unqualifiedTimer() const;
boolean ischosen(TimerEvent_choice::union_selection_type checked_selection) const;
void set_err_descr(Erroneous_descriptor_t* p_err_descr) { err_descr=p_err_descr; }
void valueofv(Base_Type* value) const;
void set_value(template_sel other_value);
void copy_value(const Base_Type* other_value);
void to_valuev(Base_Type* value) const;
Base_Template* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean matchv(const Base_Type* other_value, boolean legacy) const;
void log_matchv(const Base_Type* match_value, boolean legacy) const;
void log() const;
void log_match(const TimerEvent_choice& match_value, boolean legacy = FALSE) const;
  void set_implicit_omit();
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
void set_param(Module_Param& param);
Module_Param* get_param(Module_Param_Name& param_name) const;
void check_restriction(template_res t_res, const char* t_name=NULL, boolean legacy = FALSE) const;
};

class TimerType : public Record_Type {
  CHARSTRING field_name;
  FLOAT field_value__;
  Base_Type* fld_vec[2];
  void init_vec();
public:
  TimerType();
  TimerType(const TimerType& other_value);
  TimerType(const CHARSTRING& par_name,
    const FLOAT& par_value__);
inline TimerType& operator=(const TimerType& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const TimerType& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const TimerType& other_value) const
    { return !is_equal(&other_value); }

  inline CHARSTRING& name()
    {return field_name;}
  inline const CHARSTRING& name() const
    {return field_name;}
  inline FLOAT& value__()
    {return field_value__;}
  inline const FLOAT& value__() const
    {return field_value__;}
Base_Type* clone() const { return new TimerType(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 2;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 2; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class TimerType_template : public Record_Template {
void set_specific();
public:
TimerType_template(): Record_Template() {}
TimerType_template(template_sel other_value): Record_Template(other_value) {}
TimerType_template(const TimerType& other_value): Record_Template() { copy_value(&other_value); }
TimerType_template(const OPTIONAL<TimerType>& other_value): Record_Template() { copy_optional(&other_value); }
TimerType_template(TimerType_template* p_precondition, TimerType_template* p_implied_template);
TimerType_template(Dynamic_Match_Interface<TimerType>* p_dyn_match);
TimerType_template(const TimerType_template& other_value): Record_Template() { copy_template(other_value); }
~TimerType_template();
boolean match_dynamic(const Base_Type* match_value) const;
TimerType_template& operator=(template_sel other_value);
TimerType_template& operator=(const TimerType& other_value);
TimerType_template& operator=(const OPTIONAL<TimerType>& other_value);
TimerType_template& operator=(const TimerType_template& other_value);
inline boolean match(const TimerType& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const TimerType& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
TimerType valueof() const;
const TimerType_template to_present() const;
const TimerType to_value() const;
inline TimerType_template& list_item(int list_index) const { return *(static_cast<TimerType_template*>(get_list_item(list_index))); }
CHARSTRING_template& name();
const CHARSTRING_template& name() const;
CHARSTRING_template& init_name();
const CHARSTRING_template& get_field_name() const;
FLOAT_template& value__();
const FLOAT_template& value__() const;
FLOAT_template& init_value__();
const FLOAT_template& get_field_value__() const;
Record_Template* create() const { return new TimerType_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static CHARSTRING_template any_value_field_name;
static FLOAT_template any_value_field_value__;
Base_Template* get_any_value_field(int field_index) const;
};

class TimerGuardType : public Record_Type {
  FLOAT field_value__;
  Base_Type* fld_vec[1];
  void init_vec();
public:
  TimerGuardType();
  TimerGuardType(const TimerGuardType& other_value);
  TimerGuardType(const FLOAT& par_value__);
inline TimerGuardType& operator=(const TimerGuardType& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const TimerGuardType& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const TimerGuardType& other_value) const
    { return !is_equal(&other_value); }

  inline FLOAT& value__()
    {return field_value__;}
  inline const FLOAT& value__() const
    {return field_value__;}
Base_Type* clone() const { return new TimerGuardType(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 1;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 1; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class TimerGuardType_template : public Record_Template {
void set_specific();
public:
TimerGuardType_template(): Record_Template() {}
TimerGuardType_template(template_sel other_value): Record_Template(other_value) {}
TimerGuardType_template(const TimerGuardType& other_value): Record_Template() { copy_value(&other_value); }
TimerGuardType_template(const OPTIONAL<TimerGuardType>& other_value): Record_Template() { copy_optional(&other_value); }
TimerGuardType_template(TimerGuardType_template* p_precondition, TimerGuardType_template* p_implied_template);
TimerGuardType_template(Dynamic_Match_Interface<TimerGuardType>* p_dyn_match);
TimerGuardType_template(const TimerGuardType_template& other_value): Record_Template() { copy_template(other_value); }
~TimerGuardType_template();
boolean match_dynamic(const Base_Type* match_value) const;
TimerGuardType_template& operator=(template_sel other_value);
TimerGuardType_template& operator=(const TimerGuardType& other_value);
TimerGuardType_template& operator=(const OPTIONAL<TimerGuardType>& other_value);
TimerGuardType_template& operator=(const TimerGuardType_template& other_value);
inline boolean match(const TimerGuardType& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const TimerGuardType& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
TimerGuardType valueof() const;
const TimerGuardType_template to_present() const;
const TimerGuardType to_value() const;
inline TimerGuardType_template& list_item(int list_index) const { return *(static_cast<TimerGuardType_template*>(get_list_item(list_index))); }
FLOAT_template& value__();
const FLOAT_template& value__() const;
FLOAT_template& init_value__();
const FLOAT_template& get_field_value__() const;
Record_Template* create() const { return new TimerGuardType_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static FLOAT_template any_value_field_value__;
Base_Template* get_any_value_field(int field_index) const;
};

class TimerAnyTimeoutType : public Empty_Record_Type {
public:
  TimerAnyTimeoutType();
  TimerAnyTimeoutType(const TimerAnyTimeoutType& other_value): Empty_Record_Type(other_value) {}
  TimerAnyTimeoutType(null_type) {bound_flag = TRUE;}
inline TimerAnyTimeoutType& operator=(const TimerAnyTimeoutType& other_value) { set_value(&other_value); return *this; }

inline TimerAnyTimeoutType& operator=(null_type) { bound_flag = TRUE; return *this; }
inline boolean operator==(const TimerAnyTimeoutType& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const TimerAnyTimeoutType& other_value) const
    { return !is_equal(&other_value); }

Base_Type* clone() const { return new TimerAnyTimeoutType(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 0;

};

class TimerAnyTimeoutType_template : public Empty_Record_Template {
public:
TimerAnyTimeoutType_template(): Empty_Record_Template() {}
TimerAnyTimeoutType_template(null_type) : Empty_Record_Template() { set_selection(SPECIFIC_VALUE); }
TimerAnyTimeoutType_template(template_sel other_value): Empty_Record_Template(other_value) {}
TimerAnyTimeoutType_template(const TimerAnyTimeoutType& other_value): Empty_Record_Template() { copy_value(&other_value); }
TimerAnyTimeoutType_template(const OPTIONAL<TimerAnyTimeoutType>& other_value): Empty_Record_Template() { copy_optional(&other_value); }
TimerAnyTimeoutType_template(TimerAnyTimeoutType_template* p_precondition, TimerAnyTimeoutType_template* p_implied_template);
TimerAnyTimeoutType_template(Dynamic_Match_Interface<TimerAnyTimeoutType>* p_dyn_match);
TimerAnyTimeoutType_template(const TimerAnyTimeoutType_template& other_value): Empty_Record_Template() { copy_template(other_value); }
~TimerAnyTimeoutType_template();
boolean match_dynamic(const Base_Type* match_value) const;
TimerAnyTimeoutType_template& operator=(template_sel other_value);
TimerAnyTimeoutType_template& operator=(const TimerAnyTimeoutType& other_value);
TimerAnyTimeoutType_template& operator=(const OPTIONAL<TimerAnyTimeoutType>& other_value);
TimerAnyTimeoutType_template& operator=(const TimerAnyTimeoutType_template& other_value);
TimerAnyTimeoutType_template& operator=(null_type other_value);
inline boolean match(const TimerAnyTimeoutType& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const TimerAnyTimeoutType& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
TimerAnyTimeoutType valueof() const;
const TimerAnyTimeoutType_template to_present() const;
const TimerAnyTimeoutType to_value() const;
inline TimerAnyTimeoutType_template& list_item(int list_index) const { return *(static_cast<TimerAnyTimeoutType_template*>(get_list_item(list_index))); }
Empty_Record_Template* create() const { return new TimerAnyTimeoutType_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean get_legacy_subref_setting() const { return FALSE; }
Base_Template* get_any_value_field(int field_index) const;
};

class TimerEvent : public Record_Type {
  TimerEvent_choice field_choice;
  Base_Type* fld_vec[1];
  void init_vec();
public:
  TimerEvent();
  TimerEvent(const TimerEvent& other_value);
  TimerEvent(const TimerEvent_choice& par_choice);
inline TimerEvent& operator=(const TimerEvent& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const TimerEvent& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const TimerEvent& other_value) const
    { return !is_equal(&other_value); }

  inline TimerEvent_choice& choice()
    {return field_choice;}
  inline const TimerEvent_choice& choice() const
    {return field_choice;}
Base_Type* clone() const { return new TimerEvent(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 1;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 1; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class TimerEvent_template : public Record_Template {
void set_specific();
public:
TimerEvent_template(): Record_Template() {}
TimerEvent_template(template_sel other_value): Record_Template(other_value) {}
TimerEvent_template(const TimerEvent& other_value): Record_Template() { copy_value(&other_value); }
TimerEvent_template(const OPTIONAL<TimerEvent>& other_value): Record_Template() { copy_optional(&other_value); }
TimerEvent_template(TimerEvent_template* p_precondition, TimerEvent_template* p_implied_template);
TimerEvent_template(Dynamic_Match_Interface<TimerEvent>* p_dyn_match);
TimerEvent_template(const TimerEvent_template& other_value): Record_Template() { copy_template(other_value); }
~TimerEvent_template();
boolean match_dynamic(const Base_Type* match_value) const;
TimerEvent_template& operator=(template_sel other_value);
TimerEvent_template& operator=(const TimerEvent& other_value);
TimerEvent_template& operator=(const OPTIONAL<TimerEvent>& other_value);
TimerEvent_template& operator=(const TimerEvent_template& other_value);
inline boolean match(const TimerEvent& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const TimerEvent& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
TimerEvent valueof() const;
const TimerEvent_template to_present() const;
const TimerEvent to_value() const;
inline TimerEvent_template& list_item(int list_index) const { return *(static_cast<TimerEvent_template*>(get_list_item(list_index))); }
TimerEvent_choice_template& choice();
const TimerEvent_choice_template& choice() const;
TimerEvent_choice_template& init_choice();
const TimerEvent_choice_template& get_field_choice() const;
Record_Template* create() const { return new TimerEvent_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static TimerEvent_choice_template any_value_field_choice;
Base_Template* get_any_value_field(int field_index) const;
};

class VerdictOp_choice : public Base_Type {
public:
static const int s_count = 3;

public:
enum union_selection_type { UNBOUND_VALUE = 0, ALT_setVerdict = 1, ALT_getVerdict = 2, ALT_finalVerdict = 3 };
private:
union_selection_type union_selection;
union {
SetVerdictType *field_setVerdict;
Verdict *field_getVerdict;
FinalVerdictType *field_finalVerdict;
};
Erroneous_descriptor_t* err_descr;
void copy_value(const VerdictOp_choice& other_value);

public:
VerdictOp_choice();
VerdictOp_choice(const VerdictOp_choice& other_value);
~VerdictOp_choice();
VerdictOp_choice& operator=(const VerdictOp_choice& other_value);
boolean operator==(const VerdictOp_choice& other_value) const;
inline boolean operator!=(const VerdictOp_choice& other_value) const { return !(*this == other_value); }
SetVerdictType& setVerdict();
const SetVerdictType& setVerdict() const;
Verdict& getVerdict();
const Verdict& getVerdict() const;
FinalVerdictType& finalVerdict();
const FinalVerdictType& finalVerdict() const;
inline union_selection_type get_selection() const { return union_selection; }
boolean ischosen(union_selection_type checked_selection) const;
boolean is_bound() const;
boolean is_value() const;
void clean_up();
boolean is_equal(const Base_Type* other_value) const;
void set_value(const Base_Type* other_value);
Base_Type* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
void set_err_descr(Erroneous_descriptor_t* p_err_descr) { err_descr=p_err_descr; }
Erroneous_descriptor_t* get_err_descr() const { return err_descr; }
void log() const;
void set_param(Module_Param& param);
Module_Param* get_param(Module_Param_Name& param_name) const;
  void set_implicit_omit();
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void encode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...) const;
void decode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...);
int XER_encode(const XERdescriptor_t&, TTCN_Buffer&, unsigned int,unsigned int, int, embed_values_enc_struct_t*) const;
int XER_decode(const XERdescriptor_t&, XmlReaderWrap&, unsigned int, unsigned int, embed_values_dec_struct_t*);
static boolean can_start(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
boolean can_start_v(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
char **collect_ns(const XERdescriptor_t& p_td, size_t& num, boolean& def_ns, unsigned int flavor = 0) const;
int XER_encode_negtest(const Erroneous_descriptor_t* p_err_descr, const XERdescriptor_t& p_td, TTCN_Buffer& p_buf, unsigned int p_flavor, unsigned int p_flavor2, int p_indent, embed_values_enc_struct_t*) const;
};

class VerdictOp_choice_template : public Base_Template {
union {
struct {
VerdictOp_choice::union_selection_type union_selection;
union {
SetVerdictType_template *field_setVerdict;
Verdict_template *field_getVerdict;
FinalVerdictType_template *field_finalVerdict;
};
} single_value;
struct {
unsigned int n_values;
VerdictOp_choice_template *list_value;
} value_list;
struct {
VerdictOp_choice_template* precondition;
VerdictOp_choice_template* implied_template;
} implication_;
dynmatch_struct<VerdictOp_choice>* dyn_match;
};
Erroneous_descriptor_t* err_descr;
static SetVerdictType_template any_value_field_setVerdict;
static Verdict_template any_value_field_getVerdict;
static FinalVerdictType_template any_value_field_finalVerdict;
void copy_value(const VerdictOp_choice& other_value);

void copy_template(const VerdictOp_choice_template& other_value);

public:
VerdictOp_choice_template();
VerdictOp_choice_template(template_sel other_value);
VerdictOp_choice_template(const VerdictOp_choice& other_value);
VerdictOp_choice_template(const OPTIONAL<VerdictOp_choice>& other_value);
VerdictOp_choice_template(VerdictOp_choice_template* p_precondition, VerdictOp_choice_template* p_implied_template);
VerdictOp_choice_template(Dynamic_Match_Interface<VerdictOp_choice>* p_dyn_match);
VerdictOp_choice_template(const VerdictOp_choice_template& other_value);
~VerdictOp_choice_template();
void clean_up();
VerdictOp_choice_template& operator=(template_sel other_value);
VerdictOp_choice_template& operator=(const VerdictOp_choice& other_value);
VerdictOp_choice_template& operator=(const OPTIONAL<VerdictOp_choice>& other_value);
VerdictOp_choice_template& operator=(const VerdictOp_choice_template& other_value);
boolean match(const VerdictOp_choice& other_value, boolean legacy = FALSE) const;
boolean is_value() const;VerdictOp_choice valueof() const;
const VerdictOp_choice_template to_present() const;
const VerdictOp_choice to_value() const;
VerdictOp_choice_template& list_item(unsigned int list_index) const;
void set_type(template_sel template_type, unsigned int list_length);
VerdictOp_choice::union_selection_type get_union_selection() const;
SetVerdictType_template& setVerdict();
const SetVerdictType_template& setVerdict() const;
SetVerdictType_template& init_setVerdict();
const SetVerdictType_template& get_field_setVerdict() const;
Verdict_template& getVerdict();
const Verdict_template& getVerdict() const;
Verdict_template& init_getVerdict();
const Verdict_template& get_field_getVerdict() const;
FinalVerdictType_template& finalVerdict();
const FinalVerdictType_template& finalVerdict() const;
FinalVerdictType_template& init_finalVerdict();
const FinalVerdictType_template& get_field_finalVerdict() const;
boolean ischosen(VerdictOp_choice::union_selection_type checked_selection) const;
void set_err_descr(Erroneous_descriptor_t* p_err_descr) { err_descr=p_err_descr; }
void valueofv(Base_Type* value) const;
void set_value(template_sel other_value);
void copy_value(const Base_Type* other_value);
void to_valuev(Base_Type* value) const;
Base_Template* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean matchv(const Base_Type* other_value, boolean legacy) const;
void log_matchv(const Base_Type* match_value, boolean legacy) const;
void log() const;
void log_match(const VerdictOp_choice& match_value, boolean legacy = FALSE) const;
  void set_implicit_omit();
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
void set_param(Module_Param& param);
Module_Param* get_param(Module_Param_Name& param_name) const;
void check_restriction(template_res t_res, const char* t_name=NULL, boolean legacy = FALSE) const;
};

class SetVerdictType : public Record_Type {
  Verdict field_newVerdict;
  Verdict field_oldVerdict;
  Verdict field_localVerdict;
  OPTIONAL<CHARSTRING> field_oldReason;
  OPTIONAL<CHARSTRING> field_newReason;
  Base_Type* fld_vec[5];
  void init_vec();
public:
  SetVerdictType();
  SetVerdictType(const SetVerdictType& other_value);
  SetVerdictType(const Verdict& par_newVerdict,
    const Verdict& par_oldVerdict,
    const Verdict& par_localVerdict,
    const OPTIONAL<CHARSTRING>& par_oldReason,
    const OPTIONAL<CHARSTRING>& par_newReason);
inline SetVerdictType& operator=(const SetVerdictType& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const SetVerdictType& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const SetVerdictType& other_value) const
    { return !is_equal(&other_value); }

  inline Verdict& newVerdict()
    {return field_newVerdict;}
  inline const Verdict& newVerdict() const
    {return field_newVerdict;}
  inline Verdict& oldVerdict()
    {return field_oldVerdict;}
  inline const Verdict& oldVerdict() const
    {return field_oldVerdict;}
  inline Verdict& localVerdict()
    {return field_localVerdict;}
  inline const Verdict& localVerdict() const
    {return field_localVerdict;}
  inline OPTIONAL<CHARSTRING>& oldReason()
    {return field_oldReason;}
  inline const OPTIONAL<CHARSTRING>& oldReason() const
    {return field_oldReason;}
  inline OPTIONAL<CHARSTRING>& newReason()
    {return field_newReason;}
  inline const OPTIONAL<CHARSTRING>& newReason() const
    {return field_newReason;}
Base_Type* clone() const { return new SetVerdictType(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 5;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 5; }
int optional_count() const { return 2; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const int optional_indexes[];
const int* get_optional_indexes() const;

static const int optional_indexes_asn[];
const int* get_optional_indexes_asn() const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class SetVerdictType_template : public Record_Template {
void set_specific();
public:
SetVerdictType_template(): Record_Template() {}
SetVerdictType_template(template_sel other_value): Record_Template(other_value) {}
SetVerdictType_template(const SetVerdictType& other_value): Record_Template() { copy_value(&other_value); }
SetVerdictType_template(const OPTIONAL<SetVerdictType>& other_value): Record_Template() { copy_optional(&other_value); }
SetVerdictType_template(SetVerdictType_template* p_precondition, SetVerdictType_template* p_implied_template);
SetVerdictType_template(Dynamic_Match_Interface<SetVerdictType>* p_dyn_match);
SetVerdictType_template(const SetVerdictType_template& other_value): Record_Template() { copy_template(other_value); }
~SetVerdictType_template();
boolean match_dynamic(const Base_Type* match_value) const;
SetVerdictType_template& operator=(template_sel other_value);
SetVerdictType_template& operator=(const SetVerdictType& other_value);
SetVerdictType_template& operator=(const OPTIONAL<SetVerdictType>& other_value);
SetVerdictType_template& operator=(const SetVerdictType_template& other_value);
inline boolean match(const SetVerdictType& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const SetVerdictType& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
SetVerdictType valueof() const;
const SetVerdictType_template to_present() const;
const SetVerdictType to_value() const;
inline SetVerdictType_template& list_item(int list_index) const { return *(static_cast<SetVerdictType_template*>(get_list_item(list_index))); }
Verdict_template& newVerdict();
const Verdict_template& newVerdict() const;
Verdict_template& init_newVerdict();
const Verdict_template& get_field_newVerdict() const;
Verdict_template& oldVerdict();
const Verdict_template& oldVerdict() const;
Verdict_template& init_oldVerdict();
const Verdict_template& get_field_oldVerdict() const;
Verdict_template& localVerdict();
const Verdict_template& localVerdict() const;
Verdict_template& init_localVerdict();
const Verdict_template& get_field_localVerdict() const;
CHARSTRING_template& oldReason();
const CHARSTRING_template& oldReason() const;
CHARSTRING_template& init_oldReason();
const CHARSTRING_template& get_field_oldReason() const;
CHARSTRING_template& newReason();
const CHARSTRING_template& newReason() const;
CHARSTRING_template& init_newReason();
const CHARSTRING_template& get_field_newReason() const;
Record_Template* create() const { return new SetVerdictType_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static Verdict_template any_value_field_newVerdict;
static Verdict_template any_value_field_oldVerdict;
static Verdict_template any_value_field_localVerdict;
static CHARSTRING_template any_value_field_oldReason;
static CHARSTRING_template any_value_field_newReason;
Base_Template* get_any_value_field(int field_index) const;
};

class FinalVerdictType_choice : public Base_Type {
public:
static const int s_count = 2;

public:
enum union_selection_type { UNBOUND_VALUE = 0, ALT_info = 1, ALT_notification = 2 };
private:
union_selection_type union_selection;
union {
FinalVerdictInfo *field_info;
FinalVerdictType_choice_notification *field_notification;
};
Erroneous_descriptor_t* err_descr;
void copy_value(const FinalVerdictType_choice& other_value);

public:
FinalVerdictType_choice();
FinalVerdictType_choice(const FinalVerdictType_choice& other_value);
~FinalVerdictType_choice();
FinalVerdictType_choice& operator=(const FinalVerdictType_choice& other_value);
boolean operator==(const FinalVerdictType_choice& other_value) const;
inline boolean operator!=(const FinalVerdictType_choice& other_value) const { return !(*this == other_value); }
FinalVerdictInfo& info();
const FinalVerdictInfo& info() const;
FinalVerdictType_choice_notification& notification();
const FinalVerdictType_choice_notification& notification() const;
inline union_selection_type get_selection() const { return union_selection; }
boolean ischosen(union_selection_type checked_selection) const;
boolean is_bound() const;
boolean is_value() const;
void clean_up();
boolean is_equal(const Base_Type* other_value) const;
void set_value(const Base_Type* other_value);
Base_Type* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
void set_err_descr(Erroneous_descriptor_t* p_err_descr) { err_descr=p_err_descr; }
Erroneous_descriptor_t* get_err_descr() const { return err_descr; }
void log() const;
void set_param(Module_Param& param);
Module_Param* get_param(Module_Param_Name& param_name) const;
  void set_implicit_omit();
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void encode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...) const;
void decode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...);
int XER_encode(const XERdescriptor_t&, TTCN_Buffer&, unsigned int,unsigned int, int, embed_values_enc_struct_t*) const;
int XER_decode(const XERdescriptor_t&, XmlReaderWrap&, unsigned int, unsigned int, embed_values_dec_struct_t*);
static boolean can_start(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
boolean can_start_v(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
char **collect_ns(const XERdescriptor_t& p_td, size_t& num, boolean& def_ns, unsigned int flavor = 0) const;
int XER_encode_negtest(const Erroneous_descriptor_t* p_err_descr, const XERdescriptor_t& p_td, TTCN_Buffer& p_buf, unsigned int p_flavor, unsigned int p_flavor2, int p_indent, embed_values_enc_struct_t*) const;
};

class FinalVerdictType_choice_template : public Base_Template {
union {
struct {
FinalVerdictType_choice::union_selection_type union_selection;
union {
FinalVerdictInfo_template *field_info;
FinalVerdictType_choice_notification_template *field_notification;
};
} single_value;
struct {
unsigned int n_values;
FinalVerdictType_choice_template *list_value;
} value_list;
struct {
FinalVerdictType_choice_template* precondition;
FinalVerdictType_choice_template* implied_template;
} implication_;
dynmatch_struct<FinalVerdictType_choice>* dyn_match;
};
Erroneous_descriptor_t* err_descr;
static FinalVerdictInfo_template any_value_field_info;
static FinalVerdictType_choice_notification_template any_value_field_notification;
void copy_value(const FinalVerdictType_choice& other_value);

void copy_template(const FinalVerdictType_choice_template& other_value);

public:
FinalVerdictType_choice_template();
FinalVerdictType_choice_template(template_sel other_value);
FinalVerdictType_choice_template(const FinalVerdictType_choice& other_value);
FinalVerdictType_choice_template(const OPTIONAL<FinalVerdictType_choice>& other_value);
FinalVerdictType_choice_template(FinalVerdictType_choice_template* p_precondition, FinalVerdictType_choice_template* p_implied_template);
FinalVerdictType_choice_template(Dynamic_Match_Interface<FinalVerdictType_choice>* p_dyn_match);
FinalVerdictType_choice_template(const FinalVerdictType_choice_template& other_value);
~FinalVerdictType_choice_template();
void clean_up();
FinalVerdictType_choice_template& operator=(template_sel other_value);
FinalVerdictType_choice_template& operator=(const FinalVerdictType_choice& other_value);
FinalVerdictType_choice_template& operator=(const OPTIONAL<FinalVerdictType_choice>& other_value);
FinalVerdictType_choice_template& operator=(const FinalVerdictType_choice_template& other_value);
boolean match(const FinalVerdictType_choice& other_value, boolean legacy = FALSE) const;
boolean is_value() const;FinalVerdictType_choice valueof() const;
const FinalVerdictType_choice_template to_present() const;
const FinalVerdictType_choice to_value() const;
FinalVerdictType_choice_template& list_item(unsigned int list_index) const;
void set_type(template_sel template_type, unsigned int list_length);
FinalVerdictType_choice::union_selection_type get_union_selection() const;
FinalVerdictInfo_template& info();
const FinalVerdictInfo_template& info() const;
FinalVerdictInfo_template& init_info();
const FinalVerdictInfo_template& get_field_info() const;
FinalVerdictType_choice_notification_template& notification();
const FinalVerdictType_choice_notification_template& notification() const;
FinalVerdictType_choice_notification_template& init_notification();
const FinalVerdictType_choice_notification_template& get_field_notification() const;
boolean ischosen(FinalVerdictType_choice::union_selection_type checked_selection) const;
void set_err_descr(Erroneous_descriptor_t* p_err_descr) { err_descr=p_err_descr; }
void valueofv(Base_Type* value) const;
void set_value(template_sel other_value);
void copy_value(const Base_Type* other_value);
void to_valuev(Base_Type* value) const;
Base_Template* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean matchv(const Base_Type* other_value, boolean legacy) const;
void log_matchv(const Base_Type* match_value, boolean legacy) const;
void log() const;
void log_match(const FinalVerdictType_choice& match_value, boolean legacy = FALSE) const;
  void set_implicit_omit();
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
void set_param(Module_Param& param);
Module_Param* get_param(Module_Param_Name& param_name) const;
void check_restriction(template_res t_res, const char* t_name=NULL, boolean legacy = FALSE) const;
};

class FinalVerdictInfo : public Record_Type {
  BOOLEAN field_is__ptc;
  Verdict field_ptc__verdict;
  Verdict field_local__verdict;
  Verdict field_new__verdict;
  OPTIONAL<CHARSTRING> field_verdict__reason;
  OPTIONAL<INTEGER> field_ptc__compref;
  OPTIONAL<CHARSTRING> field_ptc__name;
  Base_Type* fld_vec[7];
  void init_vec();
public:
  FinalVerdictInfo();
  FinalVerdictInfo(const FinalVerdictInfo& other_value);
  FinalVerdictInfo(const BOOLEAN& par_is__ptc,
    const Verdict& par_ptc__verdict,
    const Verdict& par_local__verdict,
    const Verdict& par_new__verdict,
    const OPTIONAL<CHARSTRING>& par_verdict__reason,
    const OPTIONAL<INTEGER>& par_ptc__compref,
    const OPTIONAL<CHARSTRING>& par_ptc__name);
inline FinalVerdictInfo& operator=(const FinalVerdictInfo& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const FinalVerdictInfo& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const FinalVerdictInfo& other_value) const
    { return !is_equal(&other_value); }

  inline BOOLEAN& is__ptc()
    {return field_is__ptc;}
  inline const BOOLEAN& is__ptc() const
    {return field_is__ptc;}
  inline Verdict& ptc__verdict()
    {return field_ptc__verdict;}
  inline const Verdict& ptc__verdict() const
    {return field_ptc__verdict;}
  inline Verdict& local__verdict()
    {return field_local__verdict;}
  inline const Verdict& local__verdict() const
    {return field_local__verdict;}
  inline Verdict& new__verdict()
    {return field_new__verdict;}
  inline const Verdict& new__verdict() const
    {return field_new__verdict;}
  inline OPTIONAL<CHARSTRING>& verdict__reason()
    {return field_verdict__reason;}
  inline const OPTIONAL<CHARSTRING>& verdict__reason() const
    {return field_verdict__reason;}
  inline OPTIONAL<INTEGER>& ptc__compref()
    {return field_ptc__compref;}
  inline const OPTIONAL<INTEGER>& ptc__compref() const
    {return field_ptc__compref;}
  inline OPTIONAL<CHARSTRING>& ptc__name()
    {return field_ptc__name;}
  inline const OPTIONAL<CHARSTRING>& ptc__name() const
    {return field_ptc__name;}
Base_Type* clone() const { return new FinalVerdictInfo(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 7;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 7; }
int optional_count() const { return 3; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const int optional_indexes[];
const int* get_optional_indexes() const;

static const int optional_indexes_asn[];
const int* get_optional_indexes_asn() const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class FinalVerdictInfo_template : public Record_Template {
void set_specific();
public:
FinalVerdictInfo_template(): Record_Template() {}
FinalVerdictInfo_template(template_sel other_value): Record_Template(other_value) {}
FinalVerdictInfo_template(const FinalVerdictInfo& other_value): Record_Template() { copy_value(&other_value); }
FinalVerdictInfo_template(const OPTIONAL<FinalVerdictInfo>& other_value): Record_Template() { copy_optional(&other_value); }
FinalVerdictInfo_template(FinalVerdictInfo_template* p_precondition, FinalVerdictInfo_template* p_implied_template);
FinalVerdictInfo_template(Dynamic_Match_Interface<FinalVerdictInfo>* p_dyn_match);
FinalVerdictInfo_template(const FinalVerdictInfo_template& other_value): Record_Template() { copy_template(other_value); }
~FinalVerdictInfo_template();
boolean match_dynamic(const Base_Type* match_value) const;
FinalVerdictInfo_template& operator=(template_sel other_value);
FinalVerdictInfo_template& operator=(const FinalVerdictInfo& other_value);
FinalVerdictInfo_template& operator=(const OPTIONAL<FinalVerdictInfo>& other_value);
FinalVerdictInfo_template& operator=(const FinalVerdictInfo_template& other_value);
inline boolean match(const FinalVerdictInfo& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const FinalVerdictInfo& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
FinalVerdictInfo valueof() const;
const FinalVerdictInfo_template to_present() const;
const FinalVerdictInfo to_value() const;
inline FinalVerdictInfo_template& list_item(int list_index) const { return *(static_cast<FinalVerdictInfo_template*>(get_list_item(list_index))); }
BOOLEAN_template& is__ptc();
const BOOLEAN_template& is__ptc() const;
BOOLEAN_template& init_is__ptc();
const BOOLEAN_template& get_field_is__ptc() const;
Verdict_template& ptc__verdict();
const Verdict_template& ptc__verdict() const;
Verdict_template& init_ptc__verdict();
const Verdict_template& get_field_ptc__verdict() const;
Verdict_template& local__verdict();
const Verdict_template& local__verdict() const;
Verdict_template& init_local__verdict();
const Verdict_template& get_field_local__verdict() const;
Verdict_template& new__verdict();
const Verdict_template& new__verdict() const;
Verdict_template& init_new__verdict();
const Verdict_template& get_field_new__verdict() const;
CHARSTRING_template& verdict__reason();
const CHARSTRING_template& verdict__reason() const;
CHARSTRING_template& init_verdict__reason();
const CHARSTRING_template& get_field_verdict__reason() const;
INTEGER_template& ptc__compref();
const INTEGER_template& ptc__compref() const;
INTEGER_template& init_ptc__compref();
const INTEGER_template& get_field_ptc__compref() const;
CHARSTRING_template& ptc__name();
const CHARSTRING_template& ptc__name() const;
CHARSTRING_template& init_ptc__name();
const CHARSTRING_template& get_field_ptc__name() const;
Record_Template* create() const { return new FinalVerdictInfo_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static BOOLEAN_template any_value_field_is__ptc;
static Verdict_template any_value_field_ptc__verdict;
static Verdict_template any_value_field_local__verdict;
static Verdict_template any_value_field_new__verdict;
static CHARSTRING_template any_value_field_verdict__reason;
static INTEGER_template any_value_field_ptc__compref;
static CHARSTRING_template any_value_field_ptc__name;
Base_Template* get_any_value_field(int field_index) const;
};

class FinalVerdictType_choice_notification : public Enum_Type { // enum
friend class FinalVerdictType_choice_notification_template;
public:
enum enum_type { setting__final__verdict__of__the__test__case = 0, no__ptcs__were__created = 1, UNKNOWN_VALUE = 2, UNBOUND_VALUE = 3 };
private:
enum_type enum_value;

public:
FinalVerdictType_choice_notification();
FinalVerdictType_choice_notification(int other_value);
FinalVerdictType_choice_notification(enum_type other_value);
FinalVerdictType_choice_notification(const FinalVerdictType_choice_notification& other_value);

FinalVerdictType_choice_notification& operator=(int other_value);
FinalVerdictType_choice_notification& operator=(enum_type other_value);
FinalVerdictType_choice_notification& operator=(const FinalVerdictType_choice_notification& other_value);

boolean operator==(int other_value) const;
boolean operator==(enum_type other_value) const;
boolean operator==(const FinalVerdictType_choice_notification& other_value) const;
inline boolean operator!=(int other_value) const { return !(*this == other_value); }
inline boolean operator!=(enum_type other_value) const { return !(*this == other_value); }
inline boolean operator!=(const FinalVerdictType_choice_notification& other_value) const { return !(*this == other_value); }
boolean operator<(int other_value) const;
boolean operator<(enum_type other_value) const;
boolean operator<(const FinalVerdictType_choice_notification& other_value) const;
boolean operator>(int other_value) const;
boolean operator>(enum_type other_value) const;
boolean operator>(const FinalVerdictType_choice_notification& other_value) const;
inline boolean operator<=(int other_value) const { return !(*this > other_value); }
inline boolean operator<=(enum_type other_value) const { return !(*this > other_value); }
inline boolean operator<=(const FinalVerdictType_choice_notification& other_value) const { return !(*this > other_value); }
inline boolean operator>=(int other_value) const { return !(*this < other_value); }
inline boolean operator>=(enum_type other_value) const { return !(*this < other_value); }
inline boolean operator>=(const FinalVerdictType_choice_notification& other_value) const { return !(*this < other_value); }

static const char *enum_to_str(enum_type enum_par, boolean txt = FALSE);
static enum_type str_to_enum(const char *str_par, const int* int_par = NULL, const int* int_par2 = NULL);
static boolean is_valid_enum(int int_par);

static int enum2int(enum_type enum_par);
static int enum2int(const FinalVerdictType_choice_notification& enum_par);
int as_int() const { return enum2int(enum_value); }
void from_int(int p_val) { *this = p_val; }
void int2enum(int int_val);
operator enum_type() const;
inline boolean is_bound() const { return enum_value != UNBOUND_VALUE; }
inline boolean is_value() const { return enum_value != UNBOUND_VALUE; }
inline void clean_up(){ enum_value = UNBOUND_VALUE; }
boolean is_equal(const Base_Type* other_value) const;
void set_value(const Base_Type* other_value);
Base_Type* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
void log() const;
void set_param(Module_Param& param);
static int* get_int_for_param(enum_type );
Module_Param* get_param(Module_Param_Name& param_name) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void encode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...) const;
void decode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...);
int XER_encode(const XERdescriptor_t&, TTCN_Buffer&, unsigned int,unsigned int, int, embed_values_enc_struct_t*) const;
int XER_decode(const XERdescriptor_t&, XmlReaderWrap&, unsigned int, unsigned int, embed_values_dec_struct_t*);
static boolean can_start(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
boolean can_start_v(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
};

class FinalVerdictType_choice_notification_template : public Base_Template {
union {
FinalVerdictType_choice_notification::enum_type single_value;
struct {
unsigned int n_values;
FinalVerdictType_choice_notification_template *list_value;
} value_list;
struct {
FinalVerdictType_choice_notification_template* precondition;
FinalVerdictType_choice_notification_template* implied_template;
} implication_;
dynmatch_struct<FinalVerdictType_choice_notification>* dyn_match;
};

void copy_template(const FinalVerdictType_choice_notification_template& other_value);

public:
FinalVerdictType_choice_notification_template();
FinalVerdictType_choice_notification_template(template_sel other_value);
FinalVerdictType_choice_notification_template(int other_value);
FinalVerdictType_choice_notification_template(FinalVerdictType_choice_notification::enum_type other_value);
FinalVerdictType_choice_notification_template(const FinalVerdictType_choice_notification& other_value);
FinalVerdictType_choice_notification_template(const OPTIONAL<FinalVerdictType_choice_notification>& other_value);
FinalVerdictType_choice_notification_template(FinalVerdictType_choice_notification_template* p_precondition, FinalVerdictType_choice_notification_template* p_implied_template);
FinalVerdictType_choice_notification_template(Dynamic_Match_Interface<FinalVerdictType_choice_notification>* p_dyn_match);
FinalVerdictType_choice_notification_template(const FinalVerdictType_choice_notification_template& other_value);
~FinalVerdictType_choice_notification_template();

boolean is_bound() const;
boolean is_value() const;
void clean_up();
FinalVerdictType_choice_notification_template& operator=(template_sel other_value);
FinalVerdictType_choice_notification_template& operator=(int other_value);
FinalVerdictType_choice_notification_template& operator=(FinalVerdictType_choice_notification::enum_type other_value);
FinalVerdictType_choice_notification_template& operator=(const FinalVerdictType_choice_notification& other_value);
FinalVerdictType_choice_notification_template& operator=(const OPTIONAL<FinalVerdictType_choice_notification>& other_value);
FinalVerdictType_choice_notification_template& operator=(const FinalVerdictType_choice_notification_template& other_value);

boolean match(FinalVerdictType_choice_notification::enum_type other_value, boolean legacy = FALSE) const;
boolean match(const FinalVerdictType_choice_notification& other_value, boolean legacy = FALSE) const;
FinalVerdictType_choice_notification::enum_type valueof() const;
const FinalVerdictType_choice_notification_template to_present() const;
const FinalVerdictType_choice_notification to_value() const;
void set_type(template_sel template_type, unsigned int list_length = 0);
FinalVerdictType_choice_notification_template& list_item(unsigned int list_index);
void valueofv(Base_Type* value) const;
void set_value(template_sel other_value);
void copy_value(const Base_Type* other_value);
void to_valuev(Base_Type* value) const;
Base_Template* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean matchv(const Base_Type* other_value, boolean legacy) const;
void log_matchv(const Base_Type* match_value, boolean legacy) const;
void log() const;
void log_match(const FinalVerdictType_choice_notification& match_value, boolean legacy = FALSE) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
void set_param(Module_Param& param);
Module_Param* get_param(Module_Param_Name& param_name) const;
};

class FinalVerdictType : public Record_Type {
  FinalVerdictType_choice field_choice;
  Base_Type* fld_vec[1];
  void init_vec();
public:
  FinalVerdictType();
  FinalVerdictType(const FinalVerdictType& other_value);
  FinalVerdictType(const FinalVerdictType_choice& par_choice);
inline FinalVerdictType& operator=(const FinalVerdictType& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const FinalVerdictType& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const FinalVerdictType& other_value) const
    { return !is_equal(&other_value); }

  inline FinalVerdictType_choice& choice()
    {return field_choice;}
  inline const FinalVerdictType_choice& choice() const
    {return field_choice;}
Base_Type* clone() const { return new FinalVerdictType(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 1;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 1; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class FinalVerdictType_template : public Record_Template {
void set_specific();
public:
FinalVerdictType_template(): Record_Template() {}
FinalVerdictType_template(template_sel other_value): Record_Template(other_value) {}
FinalVerdictType_template(const FinalVerdictType& other_value): Record_Template() { copy_value(&other_value); }
FinalVerdictType_template(const OPTIONAL<FinalVerdictType>& other_value): Record_Template() { copy_optional(&other_value); }
FinalVerdictType_template(FinalVerdictType_template* p_precondition, FinalVerdictType_template* p_implied_template);
FinalVerdictType_template(Dynamic_Match_Interface<FinalVerdictType>* p_dyn_match);
FinalVerdictType_template(const FinalVerdictType_template& other_value): Record_Template() { copy_template(other_value); }
~FinalVerdictType_template();
boolean match_dynamic(const Base_Type* match_value) const;
FinalVerdictType_template& operator=(template_sel other_value);
FinalVerdictType_template& operator=(const FinalVerdictType& other_value);
FinalVerdictType_template& operator=(const OPTIONAL<FinalVerdictType>& other_value);
FinalVerdictType_template& operator=(const FinalVerdictType_template& other_value);
inline boolean match(const FinalVerdictType& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const FinalVerdictType& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
FinalVerdictType valueof() const;
const FinalVerdictType_template to_present() const;
const FinalVerdictType to_value() const;
inline FinalVerdictType_template& list_item(int list_index) const { return *(static_cast<FinalVerdictType_template*>(get_list_item(list_index))); }
FinalVerdictType_choice_template& choice();
const FinalVerdictType_choice_template& choice() const;
FinalVerdictType_choice_template& init_choice();
const FinalVerdictType_choice_template& get_field_choice() const;
Record_Template* create() const { return new FinalVerdictType_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static FinalVerdictType_choice_template any_value_field_choice;
Base_Template* get_any_value_field(int field_index) const;
};

class VerdictOp : public Record_Type {
  VerdictOp_choice field_choice;
  Base_Type* fld_vec[1];
  void init_vec();
public:
  VerdictOp();
  VerdictOp(const VerdictOp& other_value);
  VerdictOp(const VerdictOp_choice& par_choice);
inline VerdictOp& operator=(const VerdictOp& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const VerdictOp& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const VerdictOp& other_value) const
    { return !is_equal(&other_value); }

  inline VerdictOp_choice& choice()
    {return field_choice;}
  inline const VerdictOp_choice& choice() const
    {return field_choice;}
Base_Type* clone() const { return new VerdictOp(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 1;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 1; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class VerdictOp_template : public Record_Template {
void set_specific();
public:
VerdictOp_template(): Record_Template() {}
VerdictOp_template(template_sel other_value): Record_Template(other_value) {}
VerdictOp_template(const VerdictOp& other_value): Record_Template() { copy_value(&other_value); }
VerdictOp_template(const OPTIONAL<VerdictOp>& other_value): Record_Template() { copy_optional(&other_value); }
VerdictOp_template(VerdictOp_template* p_precondition, VerdictOp_template* p_implied_template);
VerdictOp_template(Dynamic_Match_Interface<VerdictOp>* p_dyn_match);
VerdictOp_template(const VerdictOp_template& other_value): Record_Template() { copy_template(other_value); }
~VerdictOp_template();
boolean match_dynamic(const Base_Type* match_value) const;
VerdictOp_template& operator=(template_sel other_value);
VerdictOp_template& operator=(const VerdictOp& other_value);
VerdictOp_template& operator=(const OPTIONAL<VerdictOp>& other_value);
VerdictOp_template& operator=(const VerdictOp_template& other_value);
inline boolean match(const VerdictOp& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const VerdictOp& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
VerdictOp valueof() const;
const VerdictOp_template to_present() const;
const VerdictOp to_value() const;
inline VerdictOp_template& list_item(int list_index) const { return *(static_cast<VerdictOp_template*>(get_list_item(list_index))); }
VerdictOp_choice_template& choice();
const VerdictOp_choice_template& choice() const;
VerdictOp_choice_template& init_choice();
const VerdictOp_choice_template& get_field_choice() const;
Record_Template* create() const { return new VerdictOp_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static VerdictOp_choice_template any_value_field_choice;
Base_Template* get_any_value_field(int field_index) const;
};

class MatchingEvent_choice : public Base_Type {
public:
static const int s_count = 5;

public:
enum union_selection_type { UNBOUND_VALUE = 0, ALT_matchingDone = 1, ALT_matchingSuccess = 2, ALT_matchingFailure = 3, ALT_matchingProblem = 4, ALT_matchingTimeout = 5 };
private:
union_selection_type union_selection;
union {
MatchingDoneType *field_matchingDone;
MatchingSuccessType *field_matchingSuccess;
MatchingFailureType *field_matchingFailure;
MatchingProblemType *field_matchingProblem;
MatchingTimeout *field_matchingTimeout;
};
Erroneous_descriptor_t* err_descr;
void copy_value(const MatchingEvent_choice& other_value);

public:
MatchingEvent_choice();
MatchingEvent_choice(const MatchingEvent_choice& other_value);
~MatchingEvent_choice();
MatchingEvent_choice& operator=(const MatchingEvent_choice& other_value);
boolean operator==(const MatchingEvent_choice& other_value) const;
inline boolean operator!=(const MatchingEvent_choice& other_value) const { return !(*this == other_value); }
MatchingDoneType& matchingDone();
const MatchingDoneType& matchingDone() const;
MatchingSuccessType& matchingSuccess();
const MatchingSuccessType& matchingSuccess() const;
MatchingFailureType& matchingFailure();
const MatchingFailureType& matchingFailure() const;
MatchingProblemType& matchingProblem();
const MatchingProblemType& matchingProblem() const;
MatchingTimeout& matchingTimeout();
const MatchingTimeout& matchingTimeout() const;
inline union_selection_type get_selection() const { return union_selection; }
boolean ischosen(union_selection_type checked_selection) const;
boolean is_bound() const;
boolean is_value() const;
void clean_up();
boolean is_equal(const Base_Type* other_value) const;
void set_value(const Base_Type* other_value);
Base_Type* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
void set_err_descr(Erroneous_descriptor_t* p_err_descr) { err_descr=p_err_descr; }
Erroneous_descriptor_t* get_err_descr() const { return err_descr; }
void log() const;
void set_param(Module_Param& param);
Module_Param* get_param(Module_Param_Name& param_name) const;
  void set_implicit_omit();
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void encode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...) const;
void decode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...);
int XER_encode(const XERdescriptor_t&, TTCN_Buffer&, unsigned int,unsigned int, int, embed_values_enc_struct_t*) const;
int XER_decode(const XERdescriptor_t&, XmlReaderWrap&, unsigned int, unsigned int, embed_values_dec_struct_t*);
static boolean can_start(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
boolean can_start_v(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
char **collect_ns(const XERdescriptor_t& p_td, size_t& num, boolean& def_ns, unsigned int flavor = 0) const;
int XER_encode_negtest(const Erroneous_descriptor_t* p_err_descr, const XERdescriptor_t& p_td, TTCN_Buffer& p_buf, unsigned int p_flavor, unsigned int p_flavor2, int p_indent, embed_values_enc_struct_t*) const;
};

class MatchingEvent_choice_template : public Base_Template {
union {
struct {
MatchingEvent_choice::union_selection_type union_selection;
union {
MatchingDoneType_template *field_matchingDone;
MatchingSuccessType_template *field_matchingSuccess;
MatchingFailureType_template *field_matchingFailure;
MatchingProblemType_template *field_matchingProblem;
MatchingTimeout_template *field_matchingTimeout;
};
} single_value;
struct {
unsigned int n_values;
MatchingEvent_choice_template *list_value;
} value_list;
struct {
MatchingEvent_choice_template* precondition;
MatchingEvent_choice_template* implied_template;
} implication_;
dynmatch_struct<MatchingEvent_choice>* dyn_match;
};
Erroneous_descriptor_t* err_descr;
static MatchingDoneType_template any_value_field_matchingDone;
static MatchingSuccessType_template any_value_field_matchingSuccess;
static MatchingFailureType_template any_value_field_matchingFailure;
static MatchingProblemType_template any_value_field_matchingProblem;
static MatchingTimeout_template any_value_field_matchingTimeout;
void copy_value(const MatchingEvent_choice& other_value);

void copy_template(const MatchingEvent_choice_template& other_value);

public:
MatchingEvent_choice_template();
MatchingEvent_choice_template(template_sel other_value);
MatchingEvent_choice_template(const MatchingEvent_choice& other_value);
MatchingEvent_choice_template(const OPTIONAL<MatchingEvent_choice>& other_value);
MatchingEvent_choice_template(MatchingEvent_choice_template* p_precondition, MatchingEvent_choice_template* p_implied_template);
MatchingEvent_choice_template(Dynamic_Match_Interface<MatchingEvent_choice>* p_dyn_match);
MatchingEvent_choice_template(const MatchingEvent_choice_template& other_value);
~MatchingEvent_choice_template();
void clean_up();
MatchingEvent_choice_template& operator=(template_sel other_value);
MatchingEvent_choice_template& operator=(const MatchingEvent_choice& other_value);
MatchingEvent_choice_template& operator=(const OPTIONAL<MatchingEvent_choice>& other_value);
MatchingEvent_choice_template& operator=(const MatchingEvent_choice_template& other_value);
boolean match(const MatchingEvent_choice& other_value, boolean legacy = FALSE) const;
boolean is_value() const;MatchingEvent_choice valueof() const;
const MatchingEvent_choice_template to_present() const;
const MatchingEvent_choice to_value() const;
MatchingEvent_choice_template& list_item(unsigned int list_index) const;
void set_type(template_sel template_type, unsigned int list_length);
MatchingEvent_choice::union_selection_type get_union_selection() const;
MatchingDoneType_template& matchingDone();
const MatchingDoneType_template& matchingDone() const;
MatchingDoneType_template& init_matchingDone();
const MatchingDoneType_template& get_field_matchingDone() const;
MatchingSuccessType_template& matchingSuccess();
const MatchingSuccessType_template& matchingSuccess() const;
MatchingSuccessType_template& init_matchingSuccess();
const MatchingSuccessType_template& get_field_matchingSuccess() const;
MatchingFailureType_template& matchingFailure();
const MatchingFailureType_template& matchingFailure() const;
MatchingFailureType_template& init_matchingFailure();
const MatchingFailureType_template& get_field_matchingFailure() const;
MatchingProblemType_template& matchingProblem();
const MatchingProblemType_template& matchingProblem() const;
MatchingProblemType_template& init_matchingProblem();
const MatchingProblemType_template& get_field_matchingProblem() const;
MatchingTimeout_template& matchingTimeout();
const MatchingTimeout_template& matchingTimeout() const;
MatchingTimeout_template& init_matchingTimeout();
const MatchingTimeout_template& get_field_matchingTimeout() const;
boolean ischosen(MatchingEvent_choice::union_selection_type checked_selection) const;
void set_err_descr(Erroneous_descriptor_t* p_err_descr) { err_descr=p_err_descr; }
void valueofv(Base_Type* value) const;
void set_value(template_sel other_value);
void copy_value(const Base_Type* other_value);
void to_valuev(Base_Type* value) const;
Base_Template* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean matchv(const Base_Type* other_value, boolean legacy) const;
void log_matchv(const Base_Type* match_value, boolean legacy) const;
void log() const;
void log_match(const MatchingEvent_choice& match_value, boolean legacy = FALSE) const;
  void set_implicit_omit();
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
void set_param(Module_Param& param);
Module_Param* get_param(Module_Param_Name& param_name) const;
void check_restriction(template_res t_res, const char* t_name=NULL, boolean legacy = FALSE) const;
};

class MatchingDoneType_reason : public Enum_Type { // enum
friend class MatchingDoneType_reason_template;
public:
enum enum_type { done__failed__wrong__return__type = 0, done__failed__no__return = 1, any__component__done__successful = 2, any__component__done__failed = 3, all__component__done__successful = 4, any__component__killed__successful = 5, any__component__killed__failed = 6, all__component__killed__successful = 7, UNKNOWN_VALUE = 8, UNBOUND_VALUE = 9 };
private:
enum_type enum_value;

public:
MatchingDoneType_reason();
MatchingDoneType_reason(int other_value);
MatchingDoneType_reason(enum_type other_value);
MatchingDoneType_reason(const MatchingDoneType_reason& other_value);

MatchingDoneType_reason& operator=(int other_value);
MatchingDoneType_reason& operator=(enum_type other_value);
MatchingDoneType_reason& operator=(const MatchingDoneType_reason& other_value);

boolean operator==(int other_value) const;
boolean operator==(enum_type other_value) const;
boolean operator==(const MatchingDoneType_reason& other_value) const;
inline boolean operator!=(int other_value) const { return !(*this == other_value); }
inline boolean operator!=(enum_type other_value) const { return !(*this == other_value); }
inline boolean operator!=(const MatchingDoneType_reason& other_value) const { return !(*this == other_value); }
boolean operator<(int other_value) const;
boolean operator<(enum_type other_value) const;
boolean operator<(const MatchingDoneType_reason& other_value) const;
boolean operator>(int other_value) const;
boolean operator>(enum_type other_value) const;
boolean operator>(const MatchingDoneType_reason& other_value) const;
inline boolean operator<=(int other_value) const { return !(*this > other_value); }
inline boolean operator<=(enum_type other_value) const { return !(*this > other_value); }
inline boolean operator<=(const MatchingDoneType_reason& other_value) const { return !(*this > other_value); }
inline boolean operator>=(int other_value) const { return !(*this < other_value); }
inline boolean operator>=(enum_type other_value) const { return !(*this < other_value); }
inline boolean operator>=(const MatchingDoneType_reason& other_value) const { return !(*this < other_value); }

static const char *enum_to_str(enum_type enum_par, boolean txt = FALSE);
static enum_type str_to_enum(const char *str_par, const int* int_par = NULL, const int* int_par2 = NULL);
static boolean is_valid_enum(int int_par);

static int enum2int(enum_type enum_par);
static int enum2int(const MatchingDoneType_reason& enum_par);
int as_int() const { return enum2int(enum_value); }
void from_int(int p_val) { *this = p_val; }
void int2enum(int int_val);
operator enum_type() const;
inline boolean is_bound() const { return enum_value != UNBOUND_VALUE; }
inline boolean is_value() const { return enum_value != UNBOUND_VALUE; }
inline void clean_up(){ enum_value = UNBOUND_VALUE; }
boolean is_equal(const Base_Type* other_value) const;
void set_value(const Base_Type* other_value);
Base_Type* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
void log() const;
void set_param(Module_Param& param);
static int* get_int_for_param(enum_type );
Module_Param* get_param(Module_Param_Name& param_name) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void encode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...) const;
void decode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...);
int XER_encode(const XERdescriptor_t&, TTCN_Buffer&, unsigned int,unsigned int, int, embed_values_enc_struct_t*) const;
int XER_decode(const XERdescriptor_t&, XmlReaderWrap&, unsigned int, unsigned int, embed_values_dec_struct_t*);
static boolean can_start(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
boolean can_start_v(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
};

class MatchingDoneType_reason_template : public Base_Template {
union {
MatchingDoneType_reason::enum_type single_value;
struct {
unsigned int n_values;
MatchingDoneType_reason_template *list_value;
} value_list;
struct {
MatchingDoneType_reason_template* precondition;
MatchingDoneType_reason_template* implied_template;
} implication_;
dynmatch_struct<MatchingDoneType_reason>* dyn_match;
};

void copy_template(const MatchingDoneType_reason_template& other_value);

public:
MatchingDoneType_reason_template();
MatchingDoneType_reason_template(template_sel other_value);
MatchingDoneType_reason_template(int other_value);
MatchingDoneType_reason_template(MatchingDoneType_reason::enum_type other_value);
MatchingDoneType_reason_template(const MatchingDoneType_reason& other_value);
MatchingDoneType_reason_template(const OPTIONAL<MatchingDoneType_reason>& other_value);
MatchingDoneType_reason_template(MatchingDoneType_reason_template* p_precondition, MatchingDoneType_reason_template* p_implied_template);
MatchingDoneType_reason_template(Dynamic_Match_Interface<MatchingDoneType_reason>* p_dyn_match);
MatchingDoneType_reason_template(const MatchingDoneType_reason_template& other_value);
~MatchingDoneType_reason_template();

boolean is_bound() const;
boolean is_value() const;
void clean_up();
MatchingDoneType_reason_template& operator=(template_sel other_value);
MatchingDoneType_reason_template& operator=(int other_value);
MatchingDoneType_reason_template& operator=(MatchingDoneType_reason::enum_type other_value);
MatchingDoneType_reason_template& operator=(const MatchingDoneType_reason& other_value);
MatchingDoneType_reason_template& operator=(const OPTIONAL<MatchingDoneType_reason>& other_value);
MatchingDoneType_reason_template& operator=(const MatchingDoneType_reason_template& other_value);

boolean match(MatchingDoneType_reason::enum_type other_value, boolean legacy = FALSE) const;
boolean match(const MatchingDoneType_reason& other_value, boolean legacy = FALSE) const;
MatchingDoneType_reason::enum_type valueof() const;
const MatchingDoneType_reason_template to_present() const;
const MatchingDoneType_reason to_value() const;
void set_type(template_sel template_type, unsigned int list_length = 0);
MatchingDoneType_reason_template& list_item(unsigned int list_index);
void valueofv(Base_Type* value) const;
void set_value(template_sel other_value);
void copy_value(const Base_Type* other_value);
void to_valuev(Base_Type* value) const;
Base_Template* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean matchv(const Base_Type* other_value, boolean legacy) const;
void log_matchv(const Base_Type* match_value, boolean legacy) const;
void log() const;
void log_match(const MatchingDoneType_reason& match_value, boolean legacy = FALSE) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
void set_param(Module_Param& param);
Module_Param* get_param(Module_Param_Name& param_name) const;
};

class MatchingDoneType : public Record_Type {
  MatchingDoneType_reason field_reason;
  CHARSTRING field_type__;
  INTEGER field_ptc;
  CHARSTRING field_return__type;
  Base_Type* fld_vec[4];
  void init_vec();
public:
  MatchingDoneType();
  MatchingDoneType(const MatchingDoneType& other_value);
  MatchingDoneType(const MatchingDoneType_reason& par_reason,
    const CHARSTRING& par_type__,
    const INTEGER& par_ptc,
    const CHARSTRING& par_return__type);
inline MatchingDoneType& operator=(const MatchingDoneType& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const MatchingDoneType& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const MatchingDoneType& other_value) const
    { return !is_equal(&other_value); }

  inline MatchingDoneType_reason& reason()
    {return field_reason;}
  inline const MatchingDoneType_reason& reason() const
    {return field_reason;}
  inline CHARSTRING& type__()
    {return field_type__;}
  inline const CHARSTRING& type__() const
    {return field_type__;}
  inline INTEGER& ptc()
    {return field_ptc;}
  inline const INTEGER& ptc() const
    {return field_ptc;}
  inline CHARSTRING& return__type()
    {return field_return__type;}
  inline const CHARSTRING& return__type() const
    {return field_return__type;}
Base_Type* clone() const { return new MatchingDoneType(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 4;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 4; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class MatchingDoneType_template : public Record_Template {
void set_specific();
public:
MatchingDoneType_template(): Record_Template() {}
MatchingDoneType_template(template_sel other_value): Record_Template(other_value) {}
MatchingDoneType_template(const MatchingDoneType& other_value): Record_Template() { copy_value(&other_value); }
MatchingDoneType_template(const OPTIONAL<MatchingDoneType>& other_value): Record_Template() { copy_optional(&other_value); }
MatchingDoneType_template(MatchingDoneType_template* p_precondition, MatchingDoneType_template* p_implied_template);
MatchingDoneType_template(Dynamic_Match_Interface<MatchingDoneType>* p_dyn_match);
MatchingDoneType_template(const MatchingDoneType_template& other_value): Record_Template() { copy_template(other_value); }
~MatchingDoneType_template();
boolean match_dynamic(const Base_Type* match_value) const;
MatchingDoneType_template& operator=(template_sel other_value);
MatchingDoneType_template& operator=(const MatchingDoneType& other_value);
MatchingDoneType_template& operator=(const OPTIONAL<MatchingDoneType>& other_value);
MatchingDoneType_template& operator=(const MatchingDoneType_template& other_value);
inline boolean match(const MatchingDoneType& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const MatchingDoneType& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
MatchingDoneType valueof() const;
const MatchingDoneType_template to_present() const;
const MatchingDoneType to_value() const;
inline MatchingDoneType_template& list_item(int list_index) const { return *(static_cast<MatchingDoneType_template*>(get_list_item(list_index))); }
MatchingDoneType_reason_template& reason();
const MatchingDoneType_reason_template& reason() const;
MatchingDoneType_reason_template& init_reason();
const MatchingDoneType_reason_template& get_field_reason() const;
CHARSTRING_template& type__();
const CHARSTRING_template& type__() const;
CHARSTRING_template& init_type__();
const CHARSTRING_template& get_field_type__() const;
INTEGER_template& ptc();
const INTEGER_template& ptc() const;
INTEGER_template& init_ptc();
const INTEGER_template& get_field_ptc() const;
CHARSTRING_template& return__type();
const CHARSTRING_template& return__type() const;
CHARSTRING_template& init_return__type();
const CHARSTRING_template& get_field_return__type() const;
Record_Template* create() const { return new MatchingDoneType_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static MatchingDoneType_reason_template any_value_field_reason;
static CHARSTRING_template any_value_field_type__;
static INTEGER_template any_value_field_ptc;
static CHARSTRING_template any_value_field_return__type;
Base_Template* get_any_value_field(int field_index) const;
};

class PortType : public Enum_Type { // enum
friend class PortType_template;
public:
enum enum_type { message__ = 0, procedure__ = 1, UNKNOWN_VALUE = 2, UNBOUND_VALUE = 3 };
private:
enum_type enum_value;

public:
PortType();
PortType(int other_value);
PortType(enum_type other_value);
PortType(const PortType& other_value);

PortType& operator=(int other_value);
PortType& operator=(enum_type other_value);
PortType& operator=(const PortType& other_value);

boolean operator==(int other_value) const;
boolean operator==(enum_type other_value) const;
boolean operator==(const PortType& other_value) const;
inline boolean operator!=(int other_value) const { return !(*this == other_value); }
inline boolean operator!=(enum_type other_value) const { return !(*this == other_value); }
inline boolean operator!=(const PortType& other_value) const { return !(*this == other_value); }
boolean operator<(int other_value) const;
boolean operator<(enum_type other_value) const;
boolean operator<(const PortType& other_value) const;
boolean operator>(int other_value) const;
boolean operator>(enum_type other_value) const;
boolean operator>(const PortType& other_value) const;
inline boolean operator<=(int other_value) const { return !(*this > other_value); }
inline boolean operator<=(enum_type other_value) const { return !(*this > other_value); }
inline boolean operator<=(const PortType& other_value) const { return !(*this > other_value); }
inline boolean operator>=(int other_value) const { return !(*this < other_value); }
inline boolean operator>=(enum_type other_value) const { return !(*this < other_value); }
inline boolean operator>=(const PortType& other_value) const { return !(*this < other_value); }

static const char *enum_to_str(enum_type enum_par, boolean txt = FALSE);
static enum_type str_to_enum(const char *str_par, const int* int_par = NULL, const int* int_par2 = NULL);
static boolean is_valid_enum(int int_par);

static int enum2int(enum_type enum_par);
static int enum2int(const PortType& enum_par);
int as_int() const { return enum2int(enum_value); }
void from_int(int p_val) { *this = p_val; }
void int2enum(int int_val);
operator enum_type() const;
inline boolean is_bound() const { return enum_value != UNBOUND_VALUE; }
inline boolean is_value() const { return enum_value != UNBOUND_VALUE; }
inline void clean_up(){ enum_value = UNBOUND_VALUE; }
boolean is_equal(const Base_Type* other_value) const;
void set_value(const Base_Type* other_value);
Base_Type* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
void log() const;
void set_param(Module_Param& param);
static int* get_int_for_param(enum_type );
Module_Param* get_param(Module_Param_Name& param_name) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void encode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...) const;
void decode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...);
int XER_encode(const XERdescriptor_t&, TTCN_Buffer&, unsigned int,unsigned int, int, embed_values_enc_struct_t*) const;
int XER_decode(const XERdescriptor_t&, XmlReaderWrap&, unsigned int, unsigned int, embed_values_dec_struct_t*);
static boolean can_start(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
boolean can_start_v(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
};

class PortType_template : public Base_Template {
union {
PortType::enum_type single_value;
struct {
unsigned int n_values;
PortType_template *list_value;
} value_list;
struct {
PortType_template* precondition;
PortType_template* implied_template;
} implication_;
dynmatch_struct<PortType>* dyn_match;
};

void copy_template(const PortType_template& other_value);

public:
PortType_template();
PortType_template(template_sel other_value);
PortType_template(int other_value);
PortType_template(PortType::enum_type other_value);
PortType_template(const PortType& other_value);
PortType_template(const OPTIONAL<PortType>& other_value);
PortType_template(PortType_template* p_precondition, PortType_template* p_implied_template);
PortType_template(Dynamic_Match_Interface<PortType>* p_dyn_match);
PortType_template(const PortType_template& other_value);
~PortType_template();

boolean is_bound() const;
boolean is_value() const;
void clean_up();
PortType_template& operator=(template_sel other_value);
PortType_template& operator=(int other_value);
PortType_template& operator=(PortType::enum_type other_value);
PortType_template& operator=(const PortType& other_value);
PortType_template& operator=(const OPTIONAL<PortType>& other_value);
PortType_template& operator=(const PortType_template& other_value);

boolean match(PortType::enum_type other_value, boolean legacy = FALSE) const;
boolean match(const PortType& other_value, boolean legacy = FALSE) const;
PortType::enum_type valueof() const;
const PortType_template to_present() const;
const PortType to_value() const;
void set_type(template_sel template_type, unsigned int list_length = 0);
PortType_template& list_item(unsigned int list_index);
void valueofv(Base_Type* value) const;
void set_value(template_sel other_value);
void copy_value(const Base_Type* other_value);
void to_valuev(Base_Type* value) const;
Base_Template* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean matchv(const Base_Type* other_value, boolean legacy) const;
void log_matchv(const Base_Type* match_value, boolean legacy) const;
void log() const;
void log_match(const PortType& match_value, boolean legacy = FALSE) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
void set_param(Module_Param& param);
Module_Param* get_param(Module_Param_Name& param_name) const;
};

class MatchingSuccessType : public Record_Type {
  PortType field_port__type;
  CHARSTRING field_port__name;
  CHARSTRING field_info;
  Base_Type* fld_vec[3];
  void init_vec();
public:
  MatchingSuccessType();
  MatchingSuccessType(const MatchingSuccessType& other_value);
  MatchingSuccessType(const PortType& par_port__type,
    const CHARSTRING& par_port__name,
    const CHARSTRING& par_info);
inline MatchingSuccessType& operator=(const MatchingSuccessType& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const MatchingSuccessType& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const MatchingSuccessType& other_value) const
    { return !is_equal(&other_value); }

  inline PortType& port__type()
    {return field_port__type;}
  inline const PortType& port__type() const
    {return field_port__type;}
  inline CHARSTRING& port__name()
    {return field_port__name;}
  inline const CHARSTRING& port__name() const
    {return field_port__name;}
  inline CHARSTRING& info()
    {return field_info;}
  inline const CHARSTRING& info() const
    {return field_info;}
Base_Type* clone() const { return new MatchingSuccessType(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 3;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 3; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class MatchingSuccessType_template : public Record_Template {
void set_specific();
public:
MatchingSuccessType_template(): Record_Template() {}
MatchingSuccessType_template(template_sel other_value): Record_Template(other_value) {}
MatchingSuccessType_template(const MatchingSuccessType& other_value): Record_Template() { copy_value(&other_value); }
MatchingSuccessType_template(const OPTIONAL<MatchingSuccessType>& other_value): Record_Template() { copy_optional(&other_value); }
MatchingSuccessType_template(MatchingSuccessType_template* p_precondition, MatchingSuccessType_template* p_implied_template);
MatchingSuccessType_template(Dynamic_Match_Interface<MatchingSuccessType>* p_dyn_match);
MatchingSuccessType_template(const MatchingSuccessType_template& other_value): Record_Template() { copy_template(other_value); }
~MatchingSuccessType_template();
boolean match_dynamic(const Base_Type* match_value) const;
MatchingSuccessType_template& operator=(template_sel other_value);
MatchingSuccessType_template& operator=(const MatchingSuccessType& other_value);
MatchingSuccessType_template& operator=(const OPTIONAL<MatchingSuccessType>& other_value);
MatchingSuccessType_template& operator=(const MatchingSuccessType_template& other_value);
inline boolean match(const MatchingSuccessType& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const MatchingSuccessType& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
MatchingSuccessType valueof() const;
const MatchingSuccessType_template to_present() const;
const MatchingSuccessType to_value() const;
inline MatchingSuccessType_template& list_item(int list_index) const { return *(static_cast<MatchingSuccessType_template*>(get_list_item(list_index))); }
PortType_template& port__type();
const PortType_template& port__type() const;
PortType_template& init_port__type();
const PortType_template& get_field_port__type() const;
CHARSTRING_template& port__name();
const CHARSTRING_template& port__name() const;
CHARSTRING_template& init_port__name();
const CHARSTRING_template& get_field_port__name() const;
CHARSTRING_template& info();
const CHARSTRING_template& info() const;
CHARSTRING_template& init_info();
const CHARSTRING_template& get_field_info() const;
Record_Template* create() const { return new MatchingSuccessType_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static PortType_template any_value_field_port__type;
static CHARSTRING_template any_value_field_port__name;
static CHARSTRING_template any_value_field_info;
Base_Template* get_any_value_field(int field_index) const;
};

class MatchingFailureType_choice : public Base_Type {
public:
static const int s_count = 2;

public:
enum union_selection_type { UNBOUND_VALUE = 0, ALT_system__ = 1, ALT_compref = 2 };
private:
union_selection_type union_selection;
union {
CHARSTRING *field_system__;
INTEGER *field_compref;
};
Erroneous_descriptor_t* err_descr;
void copy_value(const MatchingFailureType_choice& other_value);

public:
MatchingFailureType_choice();
MatchingFailureType_choice(const MatchingFailureType_choice& other_value);
~MatchingFailureType_choice();
MatchingFailureType_choice& operator=(const MatchingFailureType_choice& other_value);
boolean operator==(const MatchingFailureType_choice& other_value) const;
inline boolean operator!=(const MatchingFailureType_choice& other_value) const { return !(*this == other_value); }
CHARSTRING& system__();
const CHARSTRING& system__() const;
INTEGER& compref();
const INTEGER& compref() const;
inline union_selection_type get_selection() const { return union_selection; }
boolean ischosen(union_selection_type checked_selection) const;
boolean is_bound() const;
boolean is_value() const;
void clean_up();
boolean is_equal(const Base_Type* other_value) const;
void set_value(const Base_Type* other_value);
Base_Type* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
void set_err_descr(Erroneous_descriptor_t* p_err_descr) { err_descr=p_err_descr; }
Erroneous_descriptor_t* get_err_descr() const { return err_descr; }
void log() const;
void set_param(Module_Param& param);
Module_Param* get_param(Module_Param_Name& param_name) const;
  void set_implicit_omit();
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void encode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...) const;
void decode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...);
int XER_encode(const XERdescriptor_t&, TTCN_Buffer&, unsigned int,unsigned int, int, embed_values_enc_struct_t*) const;
int XER_decode(const XERdescriptor_t&, XmlReaderWrap&, unsigned int, unsigned int, embed_values_dec_struct_t*);
static boolean can_start(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
boolean can_start_v(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
char **collect_ns(const XERdescriptor_t& p_td, size_t& num, boolean& def_ns, unsigned int flavor = 0) const;
int XER_encode_negtest(const Erroneous_descriptor_t* p_err_descr, const XERdescriptor_t& p_td, TTCN_Buffer& p_buf, unsigned int p_flavor, unsigned int p_flavor2, int p_indent, embed_values_enc_struct_t*) const;
};

class MatchingFailureType_choice_template : public Base_Template {
union {
struct {
MatchingFailureType_choice::union_selection_type union_selection;
union {
CHARSTRING_template *field_system__;
INTEGER_template *field_compref;
};
} single_value;
struct {
unsigned int n_values;
MatchingFailureType_choice_template *list_value;
} value_list;
struct {
MatchingFailureType_choice_template* precondition;
MatchingFailureType_choice_template* implied_template;
} implication_;
dynmatch_struct<MatchingFailureType_choice>* dyn_match;
};
Erroneous_descriptor_t* err_descr;
static CHARSTRING_template any_value_field_system__;
static INTEGER_template any_value_field_compref;
void copy_value(const MatchingFailureType_choice& other_value);

void copy_template(const MatchingFailureType_choice_template& other_value);

public:
MatchingFailureType_choice_template();
MatchingFailureType_choice_template(template_sel other_value);
MatchingFailureType_choice_template(const MatchingFailureType_choice& other_value);
MatchingFailureType_choice_template(const OPTIONAL<MatchingFailureType_choice>& other_value);
MatchingFailureType_choice_template(MatchingFailureType_choice_template* p_precondition, MatchingFailureType_choice_template* p_implied_template);
MatchingFailureType_choice_template(Dynamic_Match_Interface<MatchingFailureType_choice>* p_dyn_match);
MatchingFailureType_choice_template(const MatchingFailureType_choice_template& other_value);
~MatchingFailureType_choice_template();
void clean_up();
MatchingFailureType_choice_template& operator=(template_sel other_value);
MatchingFailureType_choice_template& operator=(const MatchingFailureType_choice& other_value);
MatchingFailureType_choice_template& operator=(const OPTIONAL<MatchingFailureType_choice>& other_value);
MatchingFailureType_choice_template& operator=(const MatchingFailureType_choice_template& other_value);
boolean match(const MatchingFailureType_choice& other_value, boolean legacy = FALSE) const;
boolean is_value() const;MatchingFailureType_choice valueof() const;
const MatchingFailureType_choice_template to_present() const;
const MatchingFailureType_choice to_value() const;
MatchingFailureType_choice_template& list_item(unsigned int list_index) const;
void set_type(template_sel template_type, unsigned int list_length);
MatchingFailureType_choice::union_selection_type get_union_selection() const;
CHARSTRING_template& system__();
const CHARSTRING_template& system__() const;
CHARSTRING_template& init_system__();
const CHARSTRING_template& get_field_system__() const;
INTEGER_template& compref();
const INTEGER_template& compref() const;
INTEGER_template& init_compref();
const INTEGER_template& get_field_compref() const;
boolean ischosen(MatchingFailureType_choice::union_selection_type checked_selection) const;
void set_err_descr(Erroneous_descriptor_t* p_err_descr) { err_descr=p_err_descr; }
void valueofv(Base_Type* value) const;
void set_value(template_sel other_value);
void copy_value(const Base_Type* other_value);
void to_valuev(Base_Type* value) const;
Base_Template* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean matchv(const Base_Type* other_value, boolean legacy) const;
void log_matchv(const Base_Type* match_value, boolean legacy) const;
void log() const;
void log_match(const MatchingFailureType_choice& match_value, boolean legacy = FALSE) const;
  void set_implicit_omit();
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
void set_param(Module_Param& param);
Module_Param* get_param(Module_Param_Name& param_name) const;
void check_restriction(template_res t_res, const char* t_name=NULL, boolean legacy = FALSE) const;
};

class MatchingFailureType_reason : public Enum_Type { // enum
friend class MatchingFailureType_reason_template;
public:
enum enum_type { sender__does__not__match__from__clause = 0, sender__is__not__system = 1, message__does__not__match__template = 2, parameters__of__call__do__not__match__template = 3, parameters__of__reply__do__not__match__template = 4, exception__does__not__match__template = 5, not__an__exception__for__signature = 6, UNKNOWN_VALUE = 7, UNBOUND_VALUE = 8 };
private:
enum_type enum_value;

public:
MatchingFailureType_reason();
MatchingFailureType_reason(int other_value);
MatchingFailureType_reason(enum_type other_value);
MatchingFailureType_reason(const MatchingFailureType_reason& other_value);

MatchingFailureType_reason& operator=(int other_value);
MatchingFailureType_reason& operator=(enum_type other_value);
MatchingFailureType_reason& operator=(const MatchingFailureType_reason& other_value);

boolean operator==(int other_value) const;
boolean operator==(enum_type other_value) const;
boolean operator==(const MatchingFailureType_reason& other_value) const;
inline boolean operator!=(int other_value) const { return !(*this == other_value); }
inline boolean operator!=(enum_type other_value) const { return !(*this == other_value); }
inline boolean operator!=(const MatchingFailureType_reason& other_value) const { return !(*this == other_value); }
boolean operator<(int other_value) const;
boolean operator<(enum_type other_value) const;
boolean operator<(const MatchingFailureType_reason& other_value) const;
boolean operator>(int other_value) const;
boolean operator>(enum_type other_value) const;
boolean operator>(const MatchingFailureType_reason& other_value) const;
inline boolean operator<=(int other_value) const { return !(*this > other_value); }
inline boolean operator<=(enum_type other_value) const { return !(*this > other_value); }
inline boolean operator<=(const MatchingFailureType_reason& other_value) const { return !(*this > other_value); }
inline boolean operator>=(int other_value) const { return !(*this < other_value); }
inline boolean operator>=(enum_type other_value) const { return !(*this < other_value); }
inline boolean operator>=(const MatchingFailureType_reason& other_value) const { return !(*this < other_value); }

static const char *enum_to_str(enum_type enum_par);
static enum_type str_to_enum(const char *str_par, const int* int_par = NULL, const int* int_par2 = NULL);
static boolean is_valid_enum(int int_par);

static int enum2int(enum_type enum_par);
static int enum2int(const MatchingFailureType_reason& enum_par);
int as_int() const { return enum2int(enum_value); }
void from_int(int p_val) { *this = p_val; }
void int2enum(int int_val);
operator enum_type() const;
inline boolean is_bound() const { return enum_value != UNBOUND_VALUE; }
inline boolean is_value() const { return enum_value != UNBOUND_VALUE; }
inline void clean_up(){ enum_value = UNBOUND_VALUE; }
boolean is_equal(const Base_Type* other_value) const;
void set_value(const Base_Type* other_value);
Base_Type* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
void log() const;
void set_param(Module_Param& param);
static int* get_int_for_param(enum_type );
Module_Param* get_param(Module_Param_Name& param_name) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void encode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...) const;
void decode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...);
int XER_encode(const XERdescriptor_t&, TTCN_Buffer&, unsigned int,unsigned int, int, embed_values_enc_struct_t*) const;
int XER_decode(const XERdescriptor_t&, XmlReaderWrap&, unsigned int, unsigned int, embed_values_dec_struct_t*);
static boolean can_start(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
boolean can_start_v(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
};

class MatchingFailureType_reason_template : public Base_Template {
union {
MatchingFailureType_reason::enum_type single_value;
struct {
unsigned int n_values;
MatchingFailureType_reason_template *list_value;
} value_list;
struct {
MatchingFailureType_reason_template* precondition;
MatchingFailureType_reason_template* implied_template;
} implication_;
dynmatch_struct<MatchingFailureType_reason>* dyn_match;
};

void copy_template(const MatchingFailureType_reason_template& other_value);

public:
MatchingFailureType_reason_template();
MatchingFailureType_reason_template(template_sel other_value);
MatchingFailureType_reason_template(int other_value);
MatchingFailureType_reason_template(MatchingFailureType_reason::enum_type other_value);
MatchingFailureType_reason_template(const MatchingFailureType_reason& other_value);
MatchingFailureType_reason_template(const OPTIONAL<MatchingFailureType_reason>& other_value);
MatchingFailureType_reason_template(MatchingFailureType_reason_template* p_precondition, MatchingFailureType_reason_template* p_implied_template);
MatchingFailureType_reason_template(Dynamic_Match_Interface<MatchingFailureType_reason>* p_dyn_match);
MatchingFailureType_reason_template(const MatchingFailureType_reason_template& other_value);
~MatchingFailureType_reason_template();

boolean is_bound() const;
boolean is_value() const;
void clean_up();
MatchingFailureType_reason_template& operator=(template_sel other_value);
MatchingFailureType_reason_template& operator=(int other_value);
MatchingFailureType_reason_template& operator=(MatchingFailureType_reason::enum_type other_value);
MatchingFailureType_reason_template& operator=(const MatchingFailureType_reason& other_value);
MatchingFailureType_reason_template& operator=(const OPTIONAL<MatchingFailureType_reason>& other_value);
MatchingFailureType_reason_template& operator=(const MatchingFailureType_reason_template& other_value);

boolean match(MatchingFailureType_reason::enum_type other_value, boolean legacy = FALSE) const;
boolean match(const MatchingFailureType_reason& other_value, boolean legacy = FALSE) const;
MatchingFailureType_reason::enum_type valueof() const;
const MatchingFailureType_reason_template to_present() const;
const MatchingFailureType_reason to_value() const;
void set_type(template_sel template_type, unsigned int list_length = 0);
MatchingFailureType_reason_template& list_item(unsigned int list_index);
void valueofv(Base_Type* value) const;
void set_value(template_sel other_value);
void copy_value(const Base_Type* other_value);
void to_valuev(Base_Type* value) const;
Base_Template* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean matchv(const Base_Type* other_value, boolean legacy) const;
void log_matchv(const Base_Type* match_value, boolean legacy) const;
void log() const;
void log_match(const MatchingFailureType_reason& match_value, boolean legacy = FALSE) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
void set_param(Module_Param& param);
Module_Param* get_param(Module_Param_Name& param_name) const;
};

class MatchingFailureType : public Record_Type {
  PortType field_port__type;
  CHARSTRING field_port__name;
  MatchingFailureType_choice field_choice;
  MatchingFailureType_reason field_reason;
  CHARSTRING field_info;
  Base_Type* fld_vec[5];
  void init_vec();
public:
  MatchingFailureType();
  MatchingFailureType(const MatchingFailureType& other_value);
  MatchingFailureType(const PortType& par_port__type,
    const CHARSTRING& par_port__name,
    const MatchingFailureType_choice& par_choice,
    const MatchingFailureType_reason& par_reason,
    const CHARSTRING& par_info);
inline MatchingFailureType& operator=(const MatchingFailureType& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const MatchingFailureType& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const MatchingFailureType& other_value) const
    { return !is_equal(&other_value); }

  inline PortType& port__type()
    {return field_port__type;}
  inline const PortType& port__type() const
    {return field_port__type;}
  inline CHARSTRING& port__name()
    {return field_port__name;}
  inline const CHARSTRING& port__name() const
    {return field_port__name;}
  inline MatchingFailureType_choice& choice()
    {return field_choice;}
  inline const MatchingFailureType_choice& choice() const
    {return field_choice;}
  inline MatchingFailureType_reason& reason()
    {return field_reason;}
  inline const MatchingFailureType_reason& reason() const
    {return field_reason;}
  inline CHARSTRING& info()
    {return field_info;}
  inline const CHARSTRING& info() const
    {return field_info;}
Base_Type* clone() const { return new MatchingFailureType(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 5;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 5; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class MatchingFailureType_template : public Record_Template {
void set_specific();
public:
MatchingFailureType_template(): Record_Template() {}
MatchingFailureType_template(template_sel other_value): Record_Template(other_value) {}
MatchingFailureType_template(const MatchingFailureType& other_value): Record_Template() { copy_value(&other_value); }
MatchingFailureType_template(const OPTIONAL<MatchingFailureType>& other_value): Record_Template() { copy_optional(&other_value); }
MatchingFailureType_template(MatchingFailureType_template* p_precondition, MatchingFailureType_template* p_implied_template);
MatchingFailureType_template(Dynamic_Match_Interface<MatchingFailureType>* p_dyn_match);
MatchingFailureType_template(const MatchingFailureType_template& other_value): Record_Template() { copy_template(other_value); }
~MatchingFailureType_template();
boolean match_dynamic(const Base_Type* match_value) const;
MatchingFailureType_template& operator=(template_sel other_value);
MatchingFailureType_template& operator=(const MatchingFailureType& other_value);
MatchingFailureType_template& operator=(const OPTIONAL<MatchingFailureType>& other_value);
MatchingFailureType_template& operator=(const MatchingFailureType_template& other_value);
inline boolean match(const MatchingFailureType& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const MatchingFailureType& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
MatchingFailureType valueof() const;
const MatchingFailureType_template to_present() const;
const MatchingFailureType to_value() const;
inline MatchingFailureType_template& list_item(int list_index) const { return *(static_cast<MatchingFailureType_template*>(get_list_item(list_index))); }
PortType_template& port__type();
const PortType_template& port__type() const;
PortType_template& init_port__type();
const PortType_template& get_field_port__type() const;
CHARSTRING_template& port__name();
const CHARSTRING_template& port__name() const;
CHARSTRING_template& init_port__name();
const CHARSTRING_template& get_field_port__name() const;
MatchingFailureType_choice_template& choice();
const MatchingFailureType_choice_template& choice() const;
MatchingFailureType_choice_template& init_choice();
const MatchingFailureType_choice_template& get_field_choice() const;
MatchingFailureType_reason_template& reason();
const MatchingFailureType_reason_template& reason() const;
MatchingFailureType_reason_template& init_reason();
const MatchingFailureType_reason_template& get_field_reason() const;
CHARSTRING_template& info();
const CHARSTRING_template& info() const;
CHARSTRING_template& init_info();
const CHARSTRING_template& get_field_info() const;
Record_Template* create() const { return new MatchingFailureType_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static PortType_template any_value_field_port__type;
static CHARSTRING_template any_value_field_port__name;
static MatchingFailureType_choice_template any_value_field_choice;
static MatchingFailureType_reason_template any_value_field_reason;
static CHARSTRING_template any_value_field_info;
Base_Template* get_any_value_field(int field_index) const;
};

class MatchingProblemType_reason : public Enum_Type { // enum
friend class MatchingProblemType_reason_template;
public:
enum enum_type { port__not__started__and__queue__empty = 0, no__incoming__types = 1, no__incoming__signatures = 2, no__outgoing__blocking__signatures = 3, no__outgoing__blocking__signatures__that__support__exceptions = 4, component__has__no__ports = 5, UNKNOWN_VALUE = 6, UNBOUND_VALUE = 7 };
private:
enum_type enum_value;

public:
MatchingProblemType_reason();
MatchingProblemType_reason(int other_value);
MatchingProblemType_reason(enum_type other_value);
MatchingProblemType_reason(const MatchingProblemType_reason& other_value);

MatchingProblemType_reason& operator=(int other_value);
MatchingProblemType_reason& operator=(enum_type other_value);
MatchingProblemType_reason& operator=(const MatchingProblemType_reason& other_value);

boolean operator==(int other_value) const;
boolean operator==(enum_type other_value) const;
boolean operator==(const MatchingProblemType_reason& other_value) const;
inline boolean operator!=(int other_value) const { return !(*this == other_value); }
inline boolean operator!=(enum_type other_value) const { return !(*this == other_value); }
inline boolean operator!=(const MatchingProblemType_reason& other_value) const { return !(*this == other_value); }
boolean operator<(int other_value) const;
boolean operator<(enum_type other_value) const;
boolean operator<(const MatchingProblemType_reason& other_value) const;
boolean operator>(int other_value) const;
boolean operator>(enum_type other_value) const;
boolean operator>(const MatchingProblemType_reason& other_value) const;
inline boolean operator<=(int other_value) const { return !(*this > other_value); }
inline boolean operator<=(enum_type other_value) const { return !(*this > other_value); }
inline boolean operator<=(const MatchingProblemType_reason& other_value) const { return !(*this > other_value); }
inline boolean operator>=(int other_value) const { return !(*this < other_value); }
inline boolean operator>=(enum_type other_value) const { return !(*this < other_value); }
inline boolean operator>=(const MatchingProblemType_reason& other_value) const { return !(*this < other_value); }

static const char *enum_to_str(enum_type enum_par);
static enum_type str_to_enum(const char *str_par, const int* int_par = NULL, const int* int_par2 = NULL);
static boolean is_valid_enum(int int_par);

static int enum2int(enum_type enum_par);
static int enum2int(const MatchingProblemType_reason& enum_par);
int as_int() const { return enum2int(enum_value); }
void from_int(int p_val) { *this = p_val; }
void int2enum(int int_val);
operator enum_type() const;
inline boolean is_bound() const { return enum_value != UNBOUND_VALUE; }
inline boolean is_value() const { return enum_value != UNBOUND_VALUE; }
inline void clean_up(){ enum_value = UNBOUND_VALUE; }
boolean is_equal(const Base_Type* other_value) const;
void set_value(const Base_Type* other_value);
Base_Type* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
void log() const;
void set_param(Module_Param& param);
static int* get_int_for_param(enum_type );
Module_Param* get_param(Module_Param_Name& param_name) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void encode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...) const;
void decode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...);
int XER_encode(const XERdescriptor_t&, TTCN_Buffer&, unsigned int,unsigned int, int, embed_values_enc_struct_t*) const;
int XER_decode(const XERdescriptor_t&, XmlReaderWrap&, unsigned int, unsigned int, embed_values_dec_struct_t*);
static boolean can_start(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
boolean can_start_v(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
};

class MatchingProblemType_reason_template : public Base_Template {
union {
MatchingProblemType_reason::enum_type single_value;
struct {
unsigned int n_values;
MatchingProblemType_reason_template *list_value;
} value_list;
struct {
MatchingProblemType_reason_template* precondition;
MatchingProblemType_reason_template* implied_template;
} implication_;
dynmatch_struct<MatchingProblemType_reason>* dyn_match;
};

void copy_template(const MatchingProblemType_reason_template& other_value);

public:
MatchingProblemType_reason_template();
MatchingProblemType_reason_template(template_sel other_value);
MatchingProblemType_reason_template(int other_value);
MatchingProblemType_reason_template(MatchingProblemType_reason::enum_type other_value);
MatchingProblemType_reason_template(const MatchingProblemType_reason& other_value);
MatchingProblemType_reason_template(const OPTIONAL<MatchingProblemType_reason>& other_value);
MatchingProblemType_reason_template(MatchingProblemType_reason_template* p_precondition, MatchingProblemType_reason_template* p_implied_template);
MatchingProblemType_reason_template(Dynamic_Match_Interface<MatchingProblemType_reason>* p_dyn_match);
MatchingProblemType_reason_template(const MatchingProblemType_reason_template& other_value);
~MatchingProblemType_reason_template();

boolean is_bound() const;
boolean is_value() const;
void clean_up();
MatchingProblemType_reason_template& operator=(template_sel other_value);
MatchingProblemType_reason_template& operator=(int other_value);
MatchingProblemType_reason_template& operator=(MatchingProblemType_reason::enum_type other_value);
MatchingProblemType_reason_template& operator=(const MatchingProblemType_reason& other_value);
MatchingProblemType_reason_template& operator=(const OPTIONAL<MatchingProblemType_reason>& other_value);
MatchingProblemType_reason_template& operator=(const MatchingProblemType_reason_template& other_value);

boolean match(MatchingProblemType_reason::enum_type other_value, boolean legacy = FALSE) const;
boolean match(const MatchingProblemType_reason& other_value, boolean legacy = FALSE) const;
MatchingProblemType_reason::enum_type valueof() const;
const MatchingProblemType_reason_template to_present() const;
const MatchingProblemType_reason to_value() const;
void set_type(template_sel template_type, unsigned int list_length = 0);
MatchingProblemType_reason_template& list_item(unsigned int list_index);
void valueofv(Base_Type* value) const;
void set_value(template_sel other_value);
void copy_value(const Base_Type* other_value);
void to_valuev(Base_Type* value) const;
Base_Template* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean matchv(const Base_Type* other_value, boolean legacy) const;
void log_matchv(const Base_Type* match_value, boolean legacy) const;
void log() const;
void log_match(const MatchingProblemType_reason& match_value, boolean legacy = FALSE) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
void set_param(Module_Param& param);
Module_Param* get_param(Module_Param_Name& param_name) const;
};

class MatchingProblemType_operation : public Enum_Type { // enum
friend class MatchingProblemType_operation_template;
public:
enum enum_type { receive__ = 0, trigger__ = 1, getcall__ = 2, getreply__ = 3, catch__ = 4, check__ = 5, UNKNOWN_VALUE = 6, UNBOUND_VALUE = 7 };
private:
enum_type enum_value;

public:
MatchingProblemType_operation();
MatchingProblemType_operation(int other_value);
MatchingProblemType_operation(enum_type other_value);
MatchingProblemType_operation(const MatchingProblemType_operation& other_value);

MatchingProblemType_operation& operator=(int other_value);
MatchingProblemType_operation& operator=(enum_type other_value);
MatchingProblemType_operation& operator=(const MatchingProblemType_operation& other_value);

boolean operator==(int other_value) const;
boolean operator==(enum_type other_value) const;
boolean operator==(const MatchingProblemType_operation& other_value) const;
inline boolean operator!=(int other_value) const { return !(*this == other_value); }
inline boolean operator!=(enum_type other_value) const { return !(*this == other_value); }
inline boolean operator!=(const MatchingProblemType_operation& other_value) const { return !(*this == other_value); }
boolean operator<(int other_value) const;
boolean operator<(enum_type other_value) const;
boolean operator<(const MatchingProblemType_operation& other_value) const;
boolean operator>(int other_value) const;
boolean operator>(enum_type other_value) const;
boolean operator>(const MatchingProblemType_operation& other_value) const;
inline boolean operator<=(int other_value) const { return !(*this > other_value); }
inline boolean operator<=(enum_type other_value) const { return !(*this > other_value); }
inline boolean operator<=(const MatchingProblemType_operation& other_value) const { return !(*this > other_value); }
inline boolean operator>=(int other_value) const { return !(*this < other_value); }
inline boolean operator>=(enum_type other_value) const { return !(*this < other_value); }
inline boolean operator>=(const MatchingProblemType_operation& other_value) const { return !(*this < other_value); }

static const char *enum_to_str(enum_type enum_par, boolean txt = FALSE);
static enum_type str_to_enum(const char *str_par, const int* int_par = NULL, const int* int_par2 = NULL);
static boolean is_valid_enum(int int_par);

static int enum2int(enum_type enum_par);
static int enum2int(const MatchingProblemType_operation& enum_par);
int as_int() const { return enum2int(enum_value); }
void from_int(int p_val) { *this = p_val; }
void int2enum(int int_val);
operator enum_type() const;
inline boolean is_bound() const { return enum_value != UNBOUND_VALUE; }
inline boolean is_value() const { return enum_value != UNBOUND_VALUE; }
inline void clean_up(){ enum_value = UNBOUND_VALUE; }
boolean is_equal(const Base_Type* other_value) const;
void set_value(const Base_Type* other_value);
Base_Type* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
void log() const;
void set_param(Module_Param& param);
static int* get_int_for_param(enum_type );
Module_Param* get_param(Module_Param_Name& param_name) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void encode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...) const;
void decode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...);
int XER_encode(const XERdescriptor_t&, TTCN_Buffer&, unsigned int,unsigned int, int, embed_values_enc_struct_t*) const;
int XER_decode(const XERdescriptor_t&, XmlReaderWrap&, unsigned int, unsigned int, embed_values_dec_struct_t*);
static boolean can_start(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
boolean can_start_v(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
};

class MatchingProblemType_operation_template : public Base_Template {
union {
MatchingProblemType_operation::enum_type single_value;
struct {
unsigned int n_values;
MatchingProblemType_operation_template *list_value;
} value_list;
struct {
MatchingProblemType_operation_template* precondition;
MatchingProblemType_operation_template* implied_template;
} implication_;
dynmatch_struct<MatchingProblemType_operation>* dyn_match;
};

void copy_template(const MatchingProblemType_operation_template& other_value);

public:
MatchingProblemType_operation_template();
MatchingProblemType_operation_template(template_sel other_value);
MatchingProblemType_operation_template(int other_value);
MatchingProblemType_operation_template(MatchingProblemType_operation::enum_type other_value);
MatchingProblemType_operation_template(const MatchingProblemType_operation& other_value);
MatchingProblemType_operation_template(const OPTIONAL<MatchingProblemType_operation>& other_value);
MatchingProblemType_operation_template(MatchingProblemType_operation_template* p_precondition, MatchingProblemType_operation_template* p_implied_template);
MatchingProblemType_operation_template(Dynamic_Match_Interface<MatchingProblemType_operation>* p_dyn_match);
MatchingProblemType_operation_template(const MatchingProblemType_operation_template& other_value);
~MatchingProblemType_operation_template();

boolean is_bound() const;
boolean is_value() const;
void clean_up();
MatchingProblemType_operation_template& operator=(template_sel other_value);
MatchingProblemType_operation_template& operator=(int other_value);
MatchingProblemType_operation_template& operator=(MatchingProblemType_operation::enum_type other_value);
MatchingProblemType_operation_template& operator=(const MatchingProblemType_operation& other_value);
MatchingProblemType_operation_template& operator=(const OPTIONAL<MatchingProblemType_operation>& other_value);
MatchingProblemType_operation_template& operator=(const MatchingProblemType_operation_template& other_value);

boolean match(MatchingProblemType_operation::enum_type other_value, boolean legacy = FALSE) const;
boolean match(const MatchingProblemType_operation& other_value, boolean legacy = FALSE) const;
MatchingProblemType_operation::enum_type valueof() const;
const MatchingProblemType_operation_template to_present() const;
const MatchingProblemType_operation to_value() const;
void set_type(template_sel template_type, unsigned int list_length = 0);
MatchingProblemType_operation_template& list_item(unsigned int list_index);
void valueofv(Base_Type* value) const;
void set_value(template_sel other_value);
void copy_value(const Base_Type* other_value);
void to_valuev(Base_Type* value) const;
Base_Template* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean matchv(const Base_Type* other_value, boolean legacy) const;
void log_matchv(const Base_Type* match_value, boolean legacy) const;
void log() const;
void log_match(const MatchingProblemType_operation& match_value, boolean legacy = FALSE) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
void set_param(Module_Param& param);
Module_Param* get_param(Module_Param_Name& param_name) const;
};

class MatchingProblemType : public Record_Type {
  CHARSTRING field_port__name;
  MatchingProblemType_reason field_reason;
  MatchingProblemType_operation field_operation;
  BOOLEAN field_check__;
  BOOLEAN field_any__port;
  Base_Type* fld_vec[5];
  void init_vec();
public:
  MatchingProblemType();
  MatchingProblemType(const MatchingProblemType& other_value);
  MatchingProblemType(const CHARSTRING& par_port__name,
    const MatchingProblemType_reason& par_reason,
    const MatchingProblemType_operation& par_operation,
    const BOOLEAN& par_check__,
    const BOOLEAN& par_any__port);
inline MatchingProblemType& operator=(const MatchingProblemType& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const MatchingProblemType& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const MatchingProblemType& other_value) const
    { return !is_equal(&other_value); }

  inline CHARSTRING& port__name()
    {return field_port__name;}
  inline const CHARSTRING& port__name() const
    {return field_port__name;}
  inline MatchingProblemType_reason& reason()
    {return field_reason;}
  inline const MatchingProblemType_reason& reason() const
    {return field_reason;}
  inline MatchingProblemType_operation& operation()
    {return field_operation;}
  inline const MatchingProblemType_operation& operation() const
    {return field_operation;}
  inline BOOLEAN& check__()
    {return field_check__;}
  inline const BOOLEAN& check__() const
    {return field_check__;}
  inline BOOLEAN& any__port()
    {return field_any__port;}
  inline const BOOLEAN& any__port() const
    {return field_any__port;}
Base_Type* clone() const { return new MatchingProblemType(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 5;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 5; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class MatchingProblemType_template : public Record_Template {
void set_specific();
public:
MatchingProblemType_template(): Record_Template() {}
MatchingProblemType_template(template_sel other_value): Record_Template(other_value) {}
MatchingProblemType_template(const MatchingProblemType& other_value): Record_Template() { copy_value(&other_value); }
MatchingProblemType_template(const OPTIONAL<MatchingProblemType>& other_value): Record_Template() { copy_optional(&other_value); }
MatchingProblemType_template(MatchingProblemType_template* p_precondition, MatchingProblemType_template* p_implied_template);
MatchingProblemType_template(Dynamic_Match_Interface<MatchingProblemType>* p_dyn_match);
MatchingProblemType_template(const MatchingProblemType_template& other_value): Record_Template() { copy_template(other_value); }
~MatchingProblemType_template();
boolean match_dynamic(const Base_Type* match_value) const;
MatchingProblemType_template& operator=(template_sel other_value);
MatchingProblemType_template& operator=(const MatchingProblemType& other_value);
MatchingProblemType_template& operator=(const OPTIONAL<MatchingProblemType>& other_value);
MatchingProblemType_template& operator=(const MatchingProblemType_template& other_value);
inline boolean match(const MatchingProblemType& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const MatchingProblemType& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
MatchingProblemType valueof() const;
const MatchingProblemType_template to_present() const;
const MatchingProblemType to_value() const;
inline MatchingProblemType_template& list_item(int list_index) const { return *(static_cast<MatchingProblemType_template*>(get_list_item(list_index))); }
CHARSTRING_template& port__name();
const CHARSTRING_template& port__name() const;
CHARSTRING_template& init_port__name();
const CHARSTRING_template& get_field_port__name() const;
MatchingProblemType_reason_template& reason();
const MatchingProblemType_reason_template& reason() const;
MatchingProblemType_reason_template& init_reason();
const MatchingProblemType_reason_template& get_field_reason() const;
MatchingProblemType_operation_template& operation();
const MatchingProblemType_operation_template& operation() const;
MatchingProblemType_operation_template& init_operation();
const MatchingProblemType_operation_template& get_field_operation() const;
BOOLEAN_template& check__();
const BOOLEAN_template& check__() const;
BOOLEAN_template& init_check__();
const BOOLEAN_template& get_field_check__() const;
BOOLEAN_template& any__port();
const BOOLEAN_template& any__port() const;
BOOLEAN_template& init_any__port();
const BOOLEAN_template& get_field_any__port() const;
Record_Template* create() const { return new MatchingProblemType_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static CHARSTRING_template any_value_field_port__name;
static MatchingProblemType_reason_template any_value_field_reason;
static MatchingProblemType_operation_template any_value_field_operation;
static BOOLEAN_template any_value_field_check__;
static BOOLEAN_template any_value_field_any__port;
Base_Template* get_any_value_field(int field_index) const;
};

class MatchingTimeout : public Record_Type {
  OPTIONAL<CHARSTRING> field_timer__name;
  Base_Type* fld_vec[1];
  void init_vec();
public:
  MatchingTimeout();
  MatchingTimeout(const MatchingTimeout& other_value);
  MatchingTimeout(const OPTIONAL<CHARSTRING>& par_timer__name);
inline MatchingTimeout& operator=(const MatchingTimeout& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const MatchingTimeout& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const MatchingTimeout& other_value) const
    { return !is_equal(&other_value); }

  inline OPTIONAL<CHARSTRING>& timer__name()
    {return field_timer__name;}
  inline const OPTIONAL<CHARSTRING>& timer__name() const
    {return field_timer__name;}
Base_Type* clone() const { return new MatchingTimeout(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 1;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 1; }
int optional_count() const { return 1; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const int optional_indexes[];
const int* get_optional_indexes() const;

static const int optional_indexes_asn[];
const int* get_optional_indexes_asn() const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class MatchingTimeout_template : public Record_Template {
void set_specific();
public:
MatchingTimeout_template(): Record_Template() {}
MatchingTimeout_template(template_sel other_value): Record_Template(other_value) {}
MatchingTimeout_template(const MatchingTimeout& other_value): Record_Template() { copy_value(&other_value); }
MatchingTimeout_template(const OPTIONAL<MatchingTimeout>& other_value): Record_Template() { copy_optional(&other_value); }
MatchingTimeout_template(MatchingTimeout_template* p_precondition, MatchingTimeout_template* p_implied_template);
MatchingTimeout_template(Dynamic_Match_Interface<MatchingTimeout>* p_dyn_match);
MatchingTimeout_template(const MatchingTimeout_template& other_value): Record_Template() { copy_template(other_value); }
~MatchingTimeout_template();
boolean match_dynamic(const Base_Type* match_value) const;
MatchingTimeout_template& operator=(template_sel other_value);
MatchingTimeout_template& operator=(const MatchingTimeout& other_value);
MatchingTimeout_template& operator=(const OPTIONAL<MatchingTimeout>& other_value);
MatchingTimeout_template& operator=(const MatchingTimeout_template& other_value);
inline boolean match(const MatchingTimeout& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const MatchingTimeout& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
MatchingTimeout valueof() const;
const MatchingTimeout_template to_present() const;
const MatchingTimeout to_value() const;
inline MatchingTimeout_template& list_item(int list_index) const { return *(static_cast<MatchingTimeout_template*>(get_list_item(list_index))); }
CHARSTRING_template& timer__name();
const CHARSTRING_template& timer__name() const;
CHARSTRING_template& init_timer__name();
const CHARSTRING_template& get_field_timer__name() const;
Record_Template* create() const { return new MatchingTimeout_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static CHARSTRING_template any_value_field_timer__name;
Base_Template* get_any_value_field(int field_index) const;
};

class MatchingEvent : public Record_Type {
  MatchingEvent_choice field_choice;
  Base_Type* fld_vec[1];
  void init_vec();
public:
  MatchingEvent();
  MatchingEvent(const MatchingEvent& other_value);
  MatchingEvent(const MatchingEvent_choice& par_choice);
inline MatchingEvent& operator=(const MatchingEvent& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const MatchingEvent& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const MatchingEvent& other_value) const
    { return !is_equal(&other_value); }

  inline MatchingEvent_choice& choice()
    {return field_choice;}
  inline const MatchingEvent_choice& choice() const
    {return field_choice;}
Base_Type* clone() const { return new MatchingEvent(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 1;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 1; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class MatchingEvent_template : public Record_Template {
void set_specific();
public:
MatchingEvent_template(): Record_Template() {}
MatchingEvent_template(template_sel other_value): Record_Template(other_value) {}
MatchingEvent_template(const MatchingEvent& other_value): Record_Template() { copy_value(&other_value); }
MatchingEvent_template(const OPTIONAL<MatchingEvent>& other_value): Record_Template() { copy_optional(&other_value); }
MatchingEvent_template(MatchingEvent_template* p_precondition, MatchingEvent_template* p_implied_template);
MatchingEvent_template(Dynamic_Match_Interface<MatchingEvent>* p_dyn_match);
MatchingEvent_template(const MatchingEvent_template& other_value): Record_Template() { copy_template(other_value); }
~MatchingEvent_template();
boolean match_dynamic(const Base_Type* match_value) const;
MatchingEvent_template& operator=(template_sel other_value);
MatchingEvent_template& operator=(const MatchingEvent& other_value);
MatchingEvent_template& operator=(const OPTIONAL<MatchingEvent>& other_value);
MatchingEvent_template& operator=(const MatchingEvent_template& other_value);
inline boolean match(const MatchingEvent& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const MatchingEvent& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
MatchingEvent valueof() const;
const MatchingEvent_template to_present() const;
const MatchingEvent to_value() const;
inline MatchingEvent_template& list_item(int list_index) const { return *(static_cast<MatchingEvent_template*>(get_list_item(list_index))); }
MatchingEvent_choice_template& choice();
const MatchingEvent_choice_template& choice() const;
MatchingEvent_choice_template& init_choice();
const MatchingEvent_choice_template& get_field_choice() const;
Record_Template* create() const { return new MatchingEvent_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static MatchingEvent_choice_template any_value_field_choice;
Base_Template* get_any_value_field(int field_index) const;
};

class ExecutionSummaryType : public Record_Type {
  INTEGER field_numberOfTestcases;
  CHARSTRING field_overallStatistics;
  Base_Type* fld_vec[2];
  void init_vec();
public:
  ExecutionSummaryType();
  ExecutionSummaryType(const ExecutionSummaryType& other_value);
  ExecutionSummaryType(const INTEGER& par_numberOfTestcases,
    const CHARSTRING& par_overallStatistics);
inline ExecutionSummaryType& operator=(const ExecutionSummaryType& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const ExecutionSummaryType& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const ExecutionSummaryType& other_value) const
    { return !is_equal(&other_value); }

  inline INTEGER& numberOfTestcases()
    {return field_numberOfTestcases;}
  inline const INTEGER& numberOfTestcases() const
    {return field_numberOfTestcases;}
  inline CHARSTRING& overallStatistics()
    {return field_overallStatistics;}
  inline const CHARSTRING& overallStatistics() const
    {return field_overallStatistics;}
Base_Type* clone() const { return new ExecutionSummaryType(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 2;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 2; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class ExecutionSummaryType_template : public Record_Template {
void set_specific();
public:
ExecutionSummaryType_template(): Record_Template() {}
ExecutionSummaryType_template(template_sel other_value): Record_Template(other_value) {}
ExecutionSummaryType_template(const ExecutionSummaryType& other_value): Record_Template() { copy_value(&other_value); }
ExecutionSummaryType_template(const OPTIONAL<ExecutionSummaryType>& other_value): Record_Template() { copy_optional(&other_value); }
ExecutionSummaryType_template(ExecutionSummaryType_template* p_precondition, ExecutionSummaryType_template* p_implied_template);
ExecutionSummaryType_template(Dynamic_Match_Interface<ExecutionSummaryType>* p_dyn_match);
ExecutionSummaryType_template(const ExecutionSummaryType_template& other_value): Record_Template() { copy_template(other_value); }
~ExecutionSummaryType_template();
boolean match_dynamic(const Base_Type* match_value) const;
ExecutionSummaryType_template& operator=(template_sel other_value);
ExecutionSummaryType_template& operator=(const ExecutionSummaryType& other_value);
ExecutionSummaryType_template& operator=(const OPTIONAL<ExecutionSummaryType>& other_value);
ExecutionSummaryType_template& operator=(const ExecutionSummaryType_template& other_value);
inline boolean match(const ExecutionSummaryType& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const ExecutionSummaryType& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
ExecutionSummaryType valueof() const;
const ExecutionSummaryType_template to_present() const;
const ExecutionSummaryType to_value() const;
inline ExecutionSummaryType_template& list_item(int list_index) const { return *(static_cast<ExecutionSummaryType_template*>(get_list_item(list_index))); }
INTEGER_template& numberOfTestcases();
const INTEGER_template& numberOfTestcases() const;
INTEGER_template& init_numberOfTestcases();
const INTEGER_template& get_field_numberOfTestcases() const;
CHARSTRING_template& overallStatistics();
const CHARSTRING_template& overallStatistics() const;
CHARSTRING_template& init_overallStatistics();
const CHARSTRING_template& get_field_overallStatistics() const;
Record_Template* create() const { return new ExecutionSummaryType_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static INTEGER_template any_value_field_numberOfTestcases;
static CHARSTRING_template any_value_field_overallStatistics;
Base_Template* get_any_value_field(int field_index) const;
};

class LogEventType : public Record_Type {
  LogEventType_choice field_choice;
  Base_Type* fld_vec[1];
  void init_vec();
public:
  LogEventType();
  LogEventType(const LogEventType& other_value);
  LogEventType(const LogEventType_choice& par_choice);
inline LogEventType& operator=(const LogEventType& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const LogEventType& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const LogEventType& other_value) const
    { return !is_equal(&other_value); }

  inline LogEventType_choice& choice()
    {return field_choice;}
  inline const LogEventType_choice& choice() const
    {return field_choice;}
Base_Type* clone() const { return new LogEventType(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 1;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 1; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class LogEventType_template : public Record_Template {
void set_specific();
public:
LogEventType_template(): Record_Template() {}
LogEventType_template(template_sel other_value): Record_Template(other_value) {}
LogEventType_template(const LogEventType& other_value): Record_Template() { copy_value(&other_value); }
LogEventType_template(const OPTIONAL<LogEventType>& other_value): Record_Template() { copy_optional(&other_value); }
LogEventType_template(LogEventType_template* p_precondition, LogEventType_template* p_implied_template);
LogEventType_template(Dynamic_Match_Interface<LogEventType>* p_dyn_match);
LogEventType_template(const LogEventType_template& other_value): Record_Template() { copy_template(other_value); }
~LogEventType_template();
boolean match_dynamic(const Base_Type* match_value) const;
LogEventType_template& operator=(template_sel other_value);
LogEventType_template& operator=(const LogEventType& other_value);
LogEventType_template& operator=(const OPTIONAL<LogEventType>& other_value);
LogEventType_template& operator=(const LogEventType_template& other_value);
inline boolean match(const LogEventType& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const LogEventType& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
LogEventType valueof() const;
const LogEventType_template to_present() const;
const LogEventType to_value() const;
inline LogEventType_template& list_item(int list_index) const { return *(static_cast<LogEventType_template*>(get_list_item(list_index))); }
LogEventType_choice_template& choice();
const LogEventType_choice_template& choice() const;
LogEventType_choice_template& init_choice();
const LogEventType_choice_template& get_field_choice() const;
Record_Template* create() const { return new LogEventType_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static LogEventType_choice_template any_value_field_choice;
Base_Template* get_any_value_field(int field_index) const;
};

class TitanLogEvent : public Record_Type {
  TimestampType field_timestamp__;
  TitanLogEvent_sourceInfo__list field_sourceInfo__list;
  INTEGER field_severity;
  LogEventType field_logEvent;
  Base_Type* fld_vec[4];
  void init_vec();
public:
  TitanLogEvent();
  TitanLogEvent(const TitanLogEvent& other_value);
  TitanLogEvent(const TimestampType& par_timestamp__,
    const TitanLogEvent_sourceInfo__list& par_sourceInfo__list,
    const INTEGER& par_severity,
    const LogEventType& par_logEvent);
inline TitanLogEvent& operator=(const TitanLogEvent& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const TitanLogEvent& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const TitanLogEvent& other_value) const
    { return !is_equal(&other_value); }

  inline TimestampType& timestamp__()
    {return field_timestamp__;}
  inline const TimestampType& timestamp__() const
    {return field_timestamp__;}
  inline TitanLogEvent_sourceInfo__list& sourceInfo__list()
    {return field_sourceInfo__list;}
  inline const TitanLogEvent_sourceInfo__list& sourceInfo__list() const
    {return field_sourceInfo__list;}
  inline INTEGER& severity()
    {return field_severity;}
  inline const INTEGER& severity() const
    {return field_severity;}
  inline LogEventType& logEvent()
    {return field_logEvent;}
  inline const LogEventType& logEvent() const
    {return field_logEvent;}
Base_Type* clone() const { return new TitanLogEvent(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 4;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 4; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class TitanLogEvent_template : public Record_Template {
void set_specific();
public:
TitanLogEvent_template(): Record_Template() {}
TitanLogEvent_template(template_sel other_value): Record_Template(other_value) {}
TitanLogEvent_template(const TitanLogEvent& other_value): Record_Template() { copy_value(&other_value); }
TitanLogEvent_template(const OPTIONAL<TitanLogEvent>& other_value): Record_Template() { copy_optional(&other_value); }
TitanLogEvent_template(TitanLogEvent_template* p_precondition, TitanLogEvent_template* p_implied_template);
TitanLogEvent_template(Dynamic_Match_Interface<TitanLogEvent>* p_dyn_match);
TitanLogEvent_template(const TitanLogEvent_template& other_value): Record_Template() { copy_template(other_value); }
~TitanLogEvent_template();
boolean match_dynamic(const Base_Type* match_value) const;
TitanLogEvent_template& operator=(template_sel other_value);
TitanLogEvent_template& operator=(const TitanLogEvent& other_value);
TitanLogEvent_template& operator=(const OPTIONAL<TitanLogEvent>& other_value);
TitanLogEvent_template& operator=(const TitanLogEvent_template& other_value);
inline boolean match(const TitanLogEvent& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const TitanLogEvent& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
TitanLogEvent valueof() const;
const TitanLogEvent_template to_present() const;
const TitanLogEvent to_value() const;
inline TitanLogEvent_template& list_item(int list_index) const { return *(static_cast<TitanLogEvent_template*>(get_list_item(list_index))); }
TimestampType_template& timestamp__();
const TimestampType_template& timestamp__() const;
TimestampType_template& init_timestamp__();
const TimestampType_template& get_field_timestamp__() const;
TitanLogEvent_sourceInfo__list_template& sourceInfo__list();
const TitanLogEvent_sourceInfo__list_template& sourceInfo__list() const;
TitanLogEvent_sourceInfo__list_template& init_sourceInfo__list();
const TitanLogEvent_sourceInfo__list_template& get_field_sourceInfo__list() const;
INTEGER_template& severity();
const INTEGER_template& severity() const;
INTEGER_template& init_severity();
const INTEGER_template& get_field_severity() const;
LogEventType_template& logEvent();
const LogEventType_template& logEvent() const;
LogEventType_template& init_logEvent();
const LogEventType_template& get_field_logEvent() const;
Record_Template* create() const { return new TitanLogEvent_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static TimestampType_template any_value_field_timestamp__;
static TitanLogEvent_sourceInfo__list_template any_value_field_sourceInfo__list;
static INTEGER_template any_value_field_severity;
static LogEventType_template any_value_field_logEvent;
Base_Template* get_any_value_field(int field_index) const;
};

class TitanLog_sequence__list_0 : public Record_Type {
  ComponentIDType field_entityId;
  TitanLog_sequence__list_0_event__list field_event__list;
  Base_Type* fld_vec[2];
  void init_vec();
public:
  TitanLog_sequence__list_0();
  TitanLog_sequence__list_0(const TitanLog_sequence__list_0& other_value);
  TitanLog_sequence__list_0(const ComponentIDType& par_entityId,
    const TitanLog_sequence__list_0_event__list& par_event__list);
inline TitanLog_sequence__list_0& operator=(const TitanLog_sequence__list_0& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const TitanLog_sequence__list_0& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const TitanLog_sequence__list_0& other_value) const
    { return !is_equal(&other_value); }

  inline ComponentIDType& entityId()
    {return field_entityId;}
  inline const ComponentIDType& entityId() const
    {return field_entityId;}
  inline TitanLog_sequence__list_0_event__list& event__list()
    {return field_event__list;}
  inline const TitanLog_sequence__list_0_event__list& event__list() const
    {return field_event__list;}
Base_Type* clone() const { return new TitanLog_sequence__list_0(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 2;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 2; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class TitanLog_sequence__list_0_template : public Record_Template {
void set_specific();
public:
TitanLog_sequence__list_0_template(): Record_Template() {}
TitanLog_sequence__list_0_template(template_sel other_value): Record_Template(other_value) {}
TitanLog_sequence__list_0_template(const TitanLog_sequence__list_0& other_value): Record_Template() { copy_value(&other_value); }
TitanLog_sequence__list_0_template(const OPTIONAL<TitanLog_sequence__list_0>& other_value): Record_Template() { copy_optional(&other_value); }
TitanLog_sequence__list_0_template(TitanLog_sequence__list_0_template* p_precondition, TitanLog_sequence__list_0_template* p_implied_template);
TitanLog_sequence__list_0_template(Dynamic_Match_Interface<TitanLog_sequence__list_0>* p_dyn_match);
TitanLog_sequence__list_0_template(const TitanLog_sequence__list_0_template& other_value): Record_Template() { copy_template(other_value); }
~TitanLog_sequence__list_0_template();
boolean match_dynamic(const Base_Type* match_value) const;
TitanLog_sequence__list_0_template& operator=(template_sel other_value);
TitanLog_sequence__list_0_template& operator=(const TitanLog_sequence__list_0& other_value);
TitanLog_sequence__list_0_template& operator=(const OPTIONAL<TitanLog_sequence__list_0>& other_value);
TitanLog_sequence__list_0_template& operator=(const TitanLog_sequence__list_0_template& other_value);
inline boolean match(const TitanLog_sequence__list_0& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const TitanLog_sequence__list_0& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
TitanLog_sequence__list_0 valueof() const;
const TitanLog_sequence__list_0_template to_present() const;
const TitanLog_sequence__list_0 to_value() const;
inline TitanLog_sequence__list_0_template& list_item(int list_index) const { return *(static_cast<TitanLog_sequence__list_0_template*>(get_list_item(list_index))); }
ComponentIDType_template& entityId();
const ComponentIDType_template& entityId() const;
ComponentIDType_template& init_entityId();
const ComponentIDType_template& get_field_entityId() const;
TitanLog_sequence__list_0_event__list_template& event__list();
const TitanLog_sequence__list_0_event__list_template& event__list() const;
TitanLog_sequence__list_0_event__list_template& init_event__list();
const TitanLog_sequence__list_0_event__list_template& get_field_event__list() const;
Record_Template* create() const { return new TitanLog_sequence__list_0_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static ComponentIDType_template any_value_field_entityId;
static TitanLog_sequence__list_0_event__list_template any_value_field_event__list;
Base_Template* get_any_value_field(int field_index) const;
};

class TitanLog : public Record_Type {
  TitanLog_sequence__list field_sequence__list;
  Base_Type* fld_vec[1];
  void init_vec();
public:
  TitanLog();
  TitanLog(const TitanLog& other_value);
  TitanLog(const TitanLog_sequence__list& par_sequence__list);
inline TitanLog& operator=(const TitanLog& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const TitanLog& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const TitanLog& other_value) const
    { return !is_equal(&other_value); }

  inline TitanLog_sequence__list& sequence__list()
    {return field_sequence__list;}
  inline const TitanLog_sequence__list& sequence__list() const
    {return field_sequence__list;}
Base_Type* clone() const { return new TitanLog(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 1;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 1; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class TitanLog_template : public Record_Template {
void set_specific();
public:
TitanLog_template(): Record_Template() {}
TitanLog_template(template_sel other_value): Record_Template(other_value) {}
TitanLog_template(const TitanLog& other_value): Record_Template() { copy_value(&other_value); }
TitanLog_template(const OPTIONAL<TitanLog>& other_value): Record_Template() { copy_optional(&other_value); }
TitanLog_template(TitanLog_template* p_precondition, TitanLog_template* p_implied_template);
TitanLog_template(Dynamic_Match_Interface<TitanLog>* p_dyn_match);
TitanLog_template(const TitanLog_template& other_value): Record_Template() { copy_template(other_value); }
~TitanLog_template();
boolean match_dynamic(const Base_Type* match_value) const;
TitanLog_template& operator=(template_sel other_value);
TitanLog_template& operator=(const TitanLog& other_value);
TitanLog_template& operator=(const OPTIONAL<TitanLog>& other_value);
TitanLog_template& operator=(const TitanLog_template& other_value);
inline boolean match(const TitanLog& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const TitanLog& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
TitanLog valueof() const;
const TitanLog_template to_present() const;
const TitanLog to_value() const;
inline TitanLog_template& list_item(int list_index) const { return *(static_cast<TitanLog_template*>(get_list_item(list_index))); }
TitanLog_sequence__list_template& sequence__list();
const TitanLog_sequence__list_template& sequence__list() const;
TitanLog_sequence__list_template& init_sequence__list();
const TitanLog_sequence__list_template& get_field_sequence__list() const;
Record_Template* create() const { return new TitanLog_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static TitanLog_sequence__list_template any_value_field_sequence__list;
Base_Template* get_any_value_field(int field_index) const;
};

class TitanSingleLogEvent : public Record_Type {
  ComponentIDType field_entityId;
  TitanLogEvent field_event;
  Base_Type* fld_vec[2];
  void init_vec();
public:
  TitanSingleLogEvent();
  TitanSingleLogEvent(const TitanSingleLogEvent& other_value);
  TitanSingleLogEvent(const ComponentIDType& par_entityId,
    const TitanLogEvent& par_event);
inline TitanSingleLogEvent& operator=(const TitanSingleLogEvent& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const TitanSingleLogEvent& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const TitanSingleLogEvent& other_value) const
    { return !is_equal(&other_value); }

  inline ComponentIDType& entityId()
    {return field_entityId;}
  inline const ComponentIDType& entityId() const
    {return field_entityId;}
  inline TitanLogEvent& event()
    {return field_event;}
  inline const TitanLogEvent& event() const
    {return field_event;}
Base_Type* clone() const { return new TitanSingleLogEvent(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 2;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 2; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class TitanSingleLogEvent_template : public Record_Template {
void set_specific();
public:
TitanSingleLogEvent_template(): Record_Template() {}
TitanSingleLogEvent_template(template_sel other_value): Record_Template(other_value) {}
TitanSingleLogEvent_template(const TitanSingleLogEvent& other_value): Record_Template() { copy_value(&other_value); }
TitanSingleLogEvent_template(const OPTIONAL<TitanSingleLogEvent>& other_value): Record_Template() { copy_optional(&other_value); }
TitanSingleLogEvent_template(TitanSingleLogEvent_template* p_precondition, TitanSingleLogEvent_template* p_implied_template);
TitanSingleLogEvent_template(Dynamic_Match_Interface<TitanSingleLogEvent>* p_dyn_match);
TitanSingleLogEvent_template(const TitanSingleLogEvent_template& other_value): Record_Template() { copy_template(other_value); }
~TitanSingleLogEvent_template();
boolean match_dynamic(const Base_Type* match_value) const;
TitanSingleLogEvent_template& operator=(template_sel other_value);
TitanSingleLogEvent_template& operator=(const TitanSingleLogEvent& other_value);
TitanSingleLogEvent_template& operator=(const OPTIONAL<TitanSingleLogEvent>& other_value);
TitanSingleLogEvent_template& operator=(const TitanSingleLogEvent_template& other_value);
inline boolean match(const TitanSingleLogEvent& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const TitanSingleLogEvent& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
TitanSingleLogEvent valueof() const;
const TitanSingleLogEvent_template to_present() const;
const TitanSingleLogEvent to_value() const;
inline TitanSingleLogEvent_template& list_item(int list_index) const { return *(static_cast<TitanSingleLogEvent_template*>(get_list_item(list_index))); }
ComponentIDType_template& entityId();
const ComponentIDType_template& entityId() const;
ComponentIDType_template& init_entityId();
const ComponentIDType_template& get_field_entityId() const;
TitanLogEvent_template& event();
const TitanLogEvent_template& event() const;
TitanLogEvent_template& init_event();
const TitanLogEvent_template& get_field_event() const;
Record_Template* create() const { return new TitanSingleLogEvent_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static ComponentIDType_template any_value_field_entityId;
static TitanLogEvent_template any_value_field_event;
Base_Template* get_any_value_field(int field_index) const;
};

class ErrorEvent : public Record_Type {
  CHARSTRING field_text;
  Base_Type* fld_vec[1];
  void init_vec();
public:
  ErrorEvent();
  ErrorEvent(const ErrorEvent& other_value);
  ErrorEvent(const CHARSTRING& par_text);
inline ErrorEvent& operator=(const ErrorEvent& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const ErrorEvent& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const ErrorEvent& other_value) const
    { return !is_equal(&other_value); }

  inline CHARSTRING& text()
    {return field_text;}
  inline const CHARSTRING& text() const
    {return field_text;}
Base_Type* clone() const { return new ErrorEvent(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 1;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 1; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class ErrorEvent_template : public Record_Template {
void set_specific();
public:
ErrorEvent_template(): Record_Template() {}
ErrorEvent_template(template_sel other_value): Record_Template(other_value) {}
ErrorEvent_template(const ErrorEvent& other_value): Record_Template() { copy_value(&other_value); }
ErrorEvent_template(const OPTIONAL<ErrorEvent>& other_value): Record_Template() { copy_optional(&other_value); }
ErrorEvent_template(ErrorEvent_template* p_precondition, ErrorEvent_template* p_implied_template);
ErrorEvent_template(Dynamic_Match_Interface<ErrorEvent>* p_dyn_match);
ErrorEvent_template(const ErrorEvent_template& other_value): Record_Template() { copy_template(other_value); }
~ErrorEvent_template();
boolean match_dynamic(const Base_Type* match_value) const;
ErrorEvent_template& operator=(template_sel other_value);
ErrorEvent_template& operator=(const ErrorEvent& other_value);
ErrorEvent_template& operator=(const OPTIONAL<ErrorEvent>& other_value);
ErrorEvent_template& operator=(const ErrorEvent_template& other_value);
inline boolean match(const ErrorEvent& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const ErrorEvent& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
ErrorEvent valueof() const;
const ErrorEvent_template to_present() const;
const ErrorEvent to_value() const;
inline ErrorEvent_template& list_item(int list_index) const { return *(static_cast<ErrorEvent_template*>(get_list_item(list_index))); }
CHARSTRING_template& text();
const CHARSTRING_template& text() const;
CHARSTRING_template& init_text();
const CHARSTRING_template& get_field_text() const;
Record_Template* create() const { return new ErrorEvent_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static CHARSTRING_template any_value_field_text;
Base_Template* get_any_value_field(int field_index) const;
};

class WarningEvent : public Record_Type {
  CHARSTRING field_text;
  Base_Type* fld_vec[1];
  void init_vec();
public:
  WarningEvent();
  WarningEvent(const WarningEvent& other_value);
  WarningEvent(const CHARSTRING& par_text);
inline WarningEvent& operator=(const WarningEvent& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const WarningEvent& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const WarningEvent& other_value) const
    { return !is_equal(&other_value); }

  inline CHARSTRING& text()
    {return field_text;}
  inline const CHARSTRING& text() const
    {return field_text;}
Base_Type* clone() const { return new WarningEvent(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 1;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 1; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class WarningEvent_template : public Record_Template {
void set_specific();
public:
WarningEvent_template(): Record_Template() {}
WarningEvent_template(template_sel other_value): Record_Template(other_value) {}
WarningEvent_template(const WarningEvent& other_value): Record_Template() { copy_value(&other_value); }
WarningEvent_template(const OPTIONAL<WarningEvent>& other_value): Record_Template() { copy_optional(&other_value); }
WarningEvent_template(WarningEvent_template* p_precondition, WarningEvent_template* p_implied_template);
WarningEvent_template(Dynamic_Match_Interface<WarningEvent>* p_dyn_match);
WarningEvent_template(const WarningEvent_template& other_value): Record_Template() { copy_template(other_value); }
~WarningEvent_template();
boolean match_dynamic(const Base_Type* match_value) const;
WarningEvent_template& operator=(template_sel other_value);
WarningEvent_template& operator=(const WarningEvent& other_value);
WarningEvent_template& operator=(const OPTIONAL<WarningEvent>& other_value);
WarningEvent_template& operator=(const WarningEvent_template& other_value);
inline boolean match(const WarningEvent& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const WarningEvent& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
WarningEvent valueof() const;
const WarningEvent_template to_present() const;
const WarningEvent to_value() const;
inline WarningEvent_template& list_item(int list_index) const { return *(static_cast<WarningEvent_template*>(get_list_item(list_index))); }
CHARSTRING_template& text();
const CHARSTRING_template& text() const;
CHARSTRING_template& init_text();
const CHARSTRING_template& get_field_text() const;
Record_Template* create() const { return new WarningEvent_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static CHARSTRING_template any_value_field_text;
Base_Template* get_any_value_field(int field_index) const;
};

class VerdictType : public Record_Type {
  Verdict field_fromVerdict;
  Verdict field_toVerdict;
  OPTIONAL<CHARSTRING> field_verdictReason;
  Base_Type* fld_vec[3];
  void init_vec();
public:
  VerdictType();
  VerdictType(const VerdictType& other_value);
  VerdictType(const Verdict& par_fromVerdict,
    const Verdict& par_toVerdict,
    const OPTIONAL<CHARSTRING>& par_verdictReason);
inline VerdictType& operator=(const VerdictType& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const VerdictType& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const VerdictType& other_value) const
    { return !is_equal(&other_value); }

  inline Verdict& fromVerdict()
    {return field_fromVerdict;}
  inline const Verdict& fromVerdict() const
    {return field_fromVerdict;}
  inline Verdict& toVerdict()
    {return field_toVerdict;}
  inline const Verdict& toVerdict() const
    {return field_toVerdict;}
  inline OPTIONAL<CHARSTRING>& verdictReason()
    {return field_verdictReason;}
  inline const OPTIONAL<CHARSTRING>& verdictReason() const
    {return field_verdictReason;}
Base_Type* clone() const { return new VerdictType(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 3;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 3; }
int optional_count() const { return 1; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const int optional_indexes[];
const int* get_optional_indexes() const;

static const int optional_indexes_asn[];
const int* get_optional_indexes_asn() const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class VerdictType_template : public Record_Template {
void set_specific();
public:
VerdictType_template(): Record_Template() {}
VerdictType_template(template_sel other_value): Record_Template(other_value) {}
VerdictType_template(const VerdictType& other_value): Record_Template() { copy_value(&other_value); }
VerdictType_template(const OPTIONAL<VerdictType>& other_value): Record_Template() { copy_optional(&other_value); }
VerdictType_template(VerdictType_template* p_precondition, VerdictType_template* p_implied_template);
VerdictType_template(Dynamic_Match_Interface<VerdictType>* p_dyn_match);
VerdictType_template(const VerdictType_template& other_value): Record_Template() { copy_template(other_value); }
~VerdictType_template();
boolean match_dynamic(const Base_Type* match_value) const;
VerdictType_template& operator=(template_sel other_value);
VerdictType_template& operator=(const VerdictType& other_value);
VerdictType_template& operator=(const OPTIONAL<VerdictType>& other_value);
VerdictType_template& operator=(const VerdictType_template& other_value);
inline boolean match(const VerdictType& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const VerdictType& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
VerdictType valueof() const;
const VerdictType_template to_present() const;
const VerdictType to_value() const;
inline VerdictType_template& list_item(int list_index) const { return *(static_cast<VerdictType_template*>(get_list_item(list_index))); }
Verdict_template& fromVerdict();
const Verdict_template& fromVerdict() const;
Verdict_template& init_fromVerdict();
const Verdict_template& get_field_fromVerdict() const;
Verdict_template& toVerdict();
const Verdict_template& toVerdict() const;
Verdict_template& init_toVerdict();
const Verdict_template& get_field_toVerdict() const;
CHARSTRING_template& verdictReason();
const CHARSTRING_template& verdictReason() const;
CHARSTRING_template& init_verdictReason();
const CHARSTRING_template& get_field_verdictReason() const;
Record_Template* create() const { return new VerdictType_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static Verdict_template any_value_field_fromVerdict;
static Verdict_template any_value_field_toVerdict;
static CHARSTRING_template any_value_field_verdictReason;
Base_Template* get_any_value_field(int field_index) const;
};

class Parallel_reason : public Enum_Type { // enum
friend class Parallel_reason_template;
public:
enum enum_type { creating__new__ptc = 0, function__stopped = 1, terminating__test__component__exec = 2, stopping__ptc = 3, stop__no__effect = 4, stopping__all__ptcs = 5, stop__all__no__effect = 6, killing__ptc = 7, kill__no__effect = 8, killing__all__ptcs = 9, kill__all__no__effect = 10, connecting__ports = 11, disconnecting__ports = 12, mapping__ports = 13, unmapping__ports = 14, kill__request__from__mc = 15, killing__component = 16, process__already__terminated = 17, compref__not__exist = 18, UNKNOWN_VALUE = 19, UNBOUND_VALUE = 20 };
private:
enum_type enum_value;

public:
Parallel_reason();
Parallel_reason(int other_value);
Parallel_reason(enum_type other_value);
Parallel_reason(const Parallel_reason& other_value);

Parallel_reason& operator=(int other_value);
Parallel_reason& operator=(enum_type other_value);
Parallel_reason& operator=(const Parallel_reason& other_value);

boolean operator==(int other_value) const;
boolean operator==(enum_type other_value) const;
boolean operator==(const Parallel_reason& other_value) const;
inline boolean operator!=(int other_value) const { return !(*this == other_value); }
inline boolean operator!=(enum_type other_value) const { return !(*this == other_value); }
inline boolean operator!=(const Parallel_reason& other_value) const { return !(*this == other_value); }
boolean operator<(int other_value) const;
boolean operator<(enum_type other_value) const;
boolean operator<(const Parallel_reason& other_value) const;
boolean operator>(int other_value) const;
boolean operator>(enum_type other_value) const;
boolean operator>(const Parallel_reason& other_value) const;
inline boolean operator<=(int other_value) const { return !(*this > other_value); }
inline boolean operator<=(enum_type other_value) const { return !(*this > other_value); }
inline boolean operator<=(const Parallel_reason& other_value) const { return !(*this > other_value); }
inline boolean operator>=(int other_value) const { return !(*this < other_value); }
inline boolean operator>=(enum_type other_value) const { return !(*this < other_value); }
inline boolean operator>=(const Parallel_reason& other_value) const { return !(*this < other_value); }

static const char *enum_to_str(enum_type enum_par);
static enum_type str_to_enum(const char *str_par, const int* int_par = NULL, const int* int_par2 = NULL);
static boolean is_valid_enum(int int_par);

static int enum2int(enum_type enum_par);
static int enum2int(const Parallel_reason& enum_par);
int as_int() const { return enum2int(enum_value); }
void from_int(int p_val) { *this = p_val; }
void int2enum(int int_val);
operator enum_type() const;
inline boolean is_bound() const { return enum_value != UNBOUND_VALUE; }
inline boolean is_value() const { return enum_value != UNBOUND_VALUE; }
inline void clean_up(){ enum_value = UNBOUND_VALUE; }
boolean is_equal(const Base_Type* other_value) const;
void set_value(const Base_Type* other_value);
Base_Type* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
void log() const;
void set_param(Module_Param& param);
static int* get_int_for_param(enum_type );
Module_Param* get_param(Module_Param_Name& param_name) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void encode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...) const;
void decode(const TTCN_Typedescriptor_t&, TTCN_Buffer&, int, ...);
int XER_encode(const XERdescriptor_t&, TTCN_Buffer&, unsigned int,unsigned int, int, embed_values_enc_struct_t*) const;
int XER_decode(const XERdescriptor_t&, XmlReaderWrap&, unsigned int, unsigned int, embed_values_dec_struct_t*);
static boolean can_start(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
boolean can_start_v(const char *name, const char *uri, XERdescriptor_t const& xd, unsigned int, unsigned int);
};

class Parallel_reason_template : public Base_Template {
union {
Parallel_reason::enum_type single_value;
struct {
unsigned int n_values;
Parallel_reason_template *list_value;
} value_list;
struct {
Parallel_reason_template* precondition;
Parallel_reason_template* implied_template;
} implication_;
dynmatch_struct<Parallel_reason>* dyn_match;
};

void copy_template(const Parallel_reason_template& other_value);

public:
Parallel_reason_template();
Parallel_reason_template(template_sel other_value);
Parallel_reason_template(int other_value);
Parallel_reason_template(Parallel_reason::enum_type other_value);
Parallel_reason_template(const Parallel_reason& other_value);
Parallel_reason_template(const OPTIONAL<Parallel_reason>& other_value);
Parallel_reason_template(Parallel_reason_template* p_precondition, Parallel_reason_template* p_implied_template);
Parallel_reason_template(Dynamic_Match_Interface<Parallel_reason>* p_dyn_match);
Parallel_reason_template(const Parallel_reason_template& other_value);
~Parallel_reason_template();

boolean is_bound() const;
boolean is_value() const;
void clean_up();
Parallel_reason_template& operator=(template_sel other_value);
Parallel_reason_template& operator=(int other_value);
Parallel_reason_template& operator=(Parallel_reason::enum_type other_value);
Parallel_reason_template& operator=(const Parallel_reason& other_value);
Parallel_reason_template& operator=(const OPTIONAL<Parallel_reason>& other_value);
Parallel_reason_template& operator=(const Parallel_reason_template& other_value);

boolean match(Parallel_reason::enum_type other_value, boolean legacy = FALSE) const;
boolean match(const Parallel_reason& other_value, boolean legacy = FALSE) const;
Parallel_reason::enum_type valueof() const;
const Parallel_reason_template to_present() const;
const Parallel_reason to_value() const;
void set_type(template_sel template_type, unsigned int list_length = 0);
Parallel_reason_template& list_item(unsigned int list_index);
void valueofv(Base_Type* value) const;
void set_value(template_sel other_value);
void copy_value(const Base_Type* other_value);
void to_valuev(Base_Type* value) const;
Base_Template* clone() const;
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean matchv(const Base_Type* other_value, boolean legacy) const;
void log_matchv(const Base_Type* match_value, boolean legacy) const;
void log() const;
void log_match(const Parallel_reason& match_value, boolean legacy = FALSE) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
void set_param(Module_Param& param);
Module_Param* get_param(Module_Param_Name& param_name) const;
};

class Parallel : public Record_Type {
  Parallel_reason field_reason;
  BOOLEAN field_alive__;
  CHARSTRING field_function__name;
  INTEGER field_src__compref;
  CHARSTRING field_src__port;
  INTEGER field_dst__compref;
  CHARSTRING field_dst__port;
  Base_Type* fld_vec[7];
  void init_vec();
public:
  Parallel();
  Parallel(const Parallel& other_value);
  Parallel(const Parallel_reason& par_reason,
    const BOOLEAN& par_alive__,
    const CHARSTRING& par_function__name,
    const INTEGER& par_src__compref,
    const CHARSTRING& par_src__port,
    const INTEGER& par_dst__compref,
    const CHARSTRING& par_dst__port);
inline Parallel& operator=(const Parallel& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const Parallel& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const Parallel& other_value) const
    { return !is_equal(&other_value); }

  inline Parallel_reason& reason()
    {return field_reason;}
  inline const Parallel_reason& reason() const
    {return field_reason;}
  inline BOOLEAN& alive__()
    {return field_alive__;}
  inline const BOOLEAN& alive__() const
    {return field_alive__;}
  inline CHARSTRING& function__name()
    {return field_function__name;}
  inline const CHARSTRING& function__name() const
    {return field_function__name;}
  inline INTEGER& src__compref()
    {return field_src__compref;}
  inline const INTEGER& src__compref() const
    {return field_src__compref;}
  inline CHARSTRING& src__port()
    {return field_src__port;}
  inline const CHARSTRING& src__port() const
    {return field_src__port;}
  inline INTEGER& dst__compref()
    {return field_dst__compref;}
  inline const INTEGER& dst__compref() const
    {return field_dst__compref;}
  inline CHARSTRING& dst__port()
    {return field_dst__port;}
  inline const CHARSTRING& dst__port() const
    {return field_dst__port;}
Base_Type* clone() const { return new Parallel(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 7;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 7; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class Parallel_template : public Record_Template {
void set_specific();
public:
Parallel_template(): Record_Template() {}
Parallel_template(template_sel other_value): Record_Template(other_value) {}
Parallel_template(const Parallel& other_value): Record_Template() { copy_value(&other_value); }
Parallel_template(const OPTIONAL<Parallel>& other_value): Record_Template() { copy_optional(&other_value); }
Parallel_template(Parallel_template* p_precondition, Parallel_template* p_implied_template);
Parallel_template(Dynamic_Match_Interface<Parallel>* p_dyn_match);
Parallel_template(const Parallel_template& other_value): Record_Template() { copy_template(other_value); }
~Parallel_template();
boolean match_dynamic(const Base_Type* match_value) const;
Parallel_template& operator=(template_sel other_value);
Parallel_template& operator=(const Parallel& other_value);
Parallel_template& operator=(const OPTIONAL<Parallel>& other_value);
Parallel_template& operator=(const Parallel_template& other_value);
inline boolean match(const Parallel& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const Parallel& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
Parallel valueof() const;
const Parallel_template to_present() const;
const Parallel to_value() const;
inline Parallel_template& list_item(int list_index) const { return *(static_cast<Parallel_template*>(get_list_item(list_index))); }
Parallel_reason_template& reason();
const Parallel_reason_template& reason() const;
Parallel_reason_template& init_reason();
const Parallel_reason_template& get_field_reason() const;
BOOLEAN_template& alive__();
const BOOLEAN_template& alive__() const;
BOOLEAN_template& init_alive__();
const BOOLEAN_template& get_field_alive__() const;
CHARSTRING_template& function__name();
const CHARSTRING_template& function__name() const;
CHARSTRING_template& init_function__name();
const CHARSTRING_template& get_field_function__name() const;
INTEGER_template& src__compref();
const INTEGER_template& src__compref() const;
INTEGER_template& init_src__compref();
const INTEGER_template& get_field_src__compref() const;
CHARSTRING_template& src__port();
const CHARSTRING_template& src__port() const;
CHARSTRING_template& init_src__port();
const CHARSTRING_template& get_field_src__port() const;
INTEGER_template& dst__compref();
const INTEGER_template& dst__compref() const;
INTEGER_template& init_dst__compref();
const INTEGER_template& get_field_dst__compref() const;
CHARSTRING_template& dst__port();
const CHARSTRING_template& dst__port() const;
CHARSTRING_template& init_dst__port();
const CHARSTRING_template& get_field_dst__port() const;
Record_Template* create() const { return new Parallel_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static Parallel_reason_template any_value_field_reason;
static BOOLEAN_template any_value_field_alive__;
static CHARSTRING_template any_value_field_function__name;
static INTEGER_template any_value_field_src__compref;
static CHARSTRING_template any_value_field_src__port;
static INTEGER_template any_value_field_dst__compref;
static CHARSTRING_template any_value_field_dst__port;
Base_Template* get_any_value_field(int field_index) const;
};

class StartFunction : public Record_Type {
  CHARSTRING field_function__name;
  INTEGER field_compref;
  StartFunction_parameter__list field_parameter__list;
  Base_Type* fld_vec[3];
  void init_vec();
public:
  StartFunction();
  StartFunction(const StartFunction& other_value);
  StartFunction(const CHARSTRING& par_function__name,
    const INTEGER& par_compref,
    const StartFunction_parameter__list& par_parameter__list);
inline StartFunction& operator=(const StartFunction& other_value) { set_value(&other_value); return *this; }

inline boolean operator==(const StartFunction& other_value) const { return is_equal(&other_value); }
  inline boolean operator!=(const StartFunction& other_value) const
    { return !is_equal(&other_value); }

  inline CHARSTRING& function__name()
    {return field_function__name;}
  inline const CHARSTRING& function__name() const
    {return field_function__name;}
  inline INTEGER& compref()
    {return field_compref;}
  inline const INTEGER& compref() const
    {return field_compref;}
  inline StartFunction_parameter__list& parameter__list()
    {return field_parameter__list;}
  inline const StartFunction_parameter__list& parameter__list() const
    {return field_parameter__list;}
Base_Type* clone() const { return new StartFunction(*this); }
const TTCN_Typedescriptor_t* get_descriptor() const;
boolean is_set() const { return FALSE; }

static const int s_count = 3;

Base_Type* get_at(int index_value) { return fld_vec[index_value]; }
const Base_Type* get_at(int index_value) const { return fld_vec[index_value]; }

int get_count() const { return 3; }
static const TTCN_Typedescriptor_t* fld_descriptors[];
const TTCN_Typedescriptor_t* fld_descr(int p_index) const;

static const char* fld_names[];
const char* fld_name(int p_index) const;

static const XERdescriptor_t* xer_descriptors[];
const XERdescriptor_t* xer_descr(int p_index) const;
virtual boolean can_start_v(const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
static  boolean can_start  (const char *name, const char *prefix, XERdescriptor_t const& xd, unsigned int flavor, unsigned int flavor2);
};

class StartFunction_template : public Record_Template {
void set_specific();
public:
StartFunction_template(): Record_Template() {}
StartFunction_template(template_sel other_value): Record_Template(other_value) {}
StartFunction_template(const StartFunction& other_value): Record_Template() { copy_value(&other_value); }
StartFunction_template(const OPTIONAL<StartFunction>& other_value): Record_Template() { copy_optional(&other_value); }
StartFunction_template(StartFunction_template* p_precondition, StartFunction_template* p_implied_template);
StartFunction_template(Dynamic_Match_Interface<StartFunction>* p_dyn_match);
StartFunction_template(const StartFunction_template& other_value): Record_Template() { copy_template(other_value); }
~StartFunction_template();
boolean match_dynamic(const Base_Type* match_value) const;
StartFunction_template& operator=(template_sel other_value);
StartFunction_template& operator=(const StartFunction& other_value);
StartFunction_template& operator=(const OPTIONAL<StartFunction>& other_value);
StartFunction_template& operator=(const StartFunction_template& other_value);
inline boolean match(const StartFunction& other_value, boolean legacy = FALSE) const { return matchv(&other_value, legacy); }
inline void log_match(const StartFunction& match_value, boolean legacy = FALSE) const { log_matchv(&match_value, legacy); }
StartFunction valueof() const;
const StartFunction_template to_present() const;
const StartFunction to_value() const;
inline StartFunction_template& list_item(int list_index) const { return *(static_cast<StartFunction_template*>(get_list_item(list_index))); }
CHARSTRING_template& function__name();
const CHARSTRING_template& function__name() const;
CHARSTRING_template& init_function__name();
const CHARSTRING_template& get_field_function__name() const;
INTEGER_template& compref();
const INTEGER_template& compref() const;
INTEGER_template& init_compref();
const INTEGER_template& get_field_compref() const;
StartFunction_parameter__list_template& parameter__list();
const StartFunction_parameter__list_template& parameter__list() const;
StartFunction_parameter__list_template& init_parameter__list();
const StartFunction_parameter__list_template& get_field_parameter__list() const;
Record_Template* create() const { return new StartFunction_template; }
const TTCN_Typedescriptor_t* get_descriptor() const;
const char* fld_name(int p_index) const;
static const boolean optional_fields[];
boolean fld_optional(int field_index) const;

boolean get_legacy_subref_setting() const { return FALSE; }
static CHARSTRING_template any_value_field_function__name;
static INTEGER_template any_value_field_compref;
static StartFunction_parameter__list_template any_value_field_parameter__list;
Base_Template* get_any_value_field(int field_index) const;
};


/* Function prototypes */

extern TitanLog_sequence__list_template operator+(template_sel left_template, const TitanLog_sequence__list_template& right_template);
extern TitanLog_sequence__list_template operator+(template_sel left_template, const TitanLog_sequence__list& right_value);
extern TitanLog_sequence__list_template operator+(const TitanLog_sequence__list& left_value, template_sel right_template);
extern void ComponentIDType_id_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ComponentIDType_id_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void ComponentIDType_name_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ComponentIDType_name_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void ComponentIDType_encoder(const ComponentIDType& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ComponentIDType_decoder(OCTETSTRING& input_stream, ComponentIDType& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void TitanLog_sequence__list_0_entityId_encoder(const ComponentIDType& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER TitanLog_sequence__list_0_entityId_decoder(OCTETSTRING& input_stream, ComponentIDType& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern TitanLog_sequence__list_0_event__list_template operator+(template_sel left_template, const TitanLog_sequence__list_0_event__list_template& right_template);
extern TitanLog_sequence__list_0_event__list_template operator+(template_sel left_template, const TitanLog_sequence__list_0_event__list& right_value);
extern TitanLog_sequence__list_0_event__list_template operator+(const TitanLog_sequence__list_0_event__list& left_value, template_sel right_template);
extern void TimestampType_seconds_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER TimestampType_seconds_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void TimestampType_microSeconds_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER TimestampType_microSeconds_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void TimestampType_encoder(const TimestampType& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER TimestampType_decoder(OCTETSTRING& input_stream, TimestampType& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void TitanLogEvent_timestamp___encoder(const TimestampType& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER TitanLogEvent_timestamp___decoder(OCTETSTRING& input_stream, TimestampType& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern TitanLogEvent_sourceInfo__list_template operator+(template_sel left_template, const TitanLogEvent_sourceInfo__list_template& right_template);
extern TitanLogEvent_sourceInfo__list_template operator+(template_sel left_template, const TitanLogEvent_sourceInfo__list& right_value);
extern TitanLogEvent_sourceInfo__list_template operator+(const TitanLogEvent_sourceInfo__list& left_value, template_sel right_template);
extern void LocationInfo_filename_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER LocationInfo_filename_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void LocationInfo_line_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER LocationInfo_line_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void LocationInfo_ent__name_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER LocationInfo_ent__name_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void LocationInfo_ent__type_encoder(const LocationInfo_ent__type& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER LocationInfo_ent__type_decoder(OCTETSTRING& input_stream, LocationInfo_ent__type& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void LocationInfo_encoder(const LocationInfo& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER LocationInfo_decoder(OCTETSTRING& input_stream, LocationInfo& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void TitanLogEvent_sourceInfo__list_0_encoder(const LocationInfo& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER TitanLogEvent_sourceInfo__list_0_decoder(OCTETSTRING& input_stream, LocationInfo& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void TitanLogEvent_sourceInfo__list_encoder(const TitanLogEvent_sourceInfo__list& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER TitanLogEvent_sourceInfo__list_decoder(OCTETSTRING& input_stream, TitanLogEvent_sourceInfo__list& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void TitanLogEvent_severity_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER TitanLogEvent_severity_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Strings_str__list_0_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Strings_str__list_0_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Strings_str__list_encoder(const Strings_str__list& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Strings_str__list_decoder(OCTETSTRING& input_stream, Strings_str__list& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Strings_encoder(const Strings& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Strings_decoder(OCTETSTRING& input_stream, Strings& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void LogEventType_choice_actionEvent_encoder(const Strings& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER LogEventType_choice_actionEvent_decoder(OCTETSTRING& input_stream, Strings& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void DefaultOp_name_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER DefaultOp_name_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void DefaultOp_id_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER DefaultOp_id_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void DefaultEnd_encoder(const DefaultEnd& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER DefaultEnd_decoder(OCTETSTRING& input_stream, DefaultEnd& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void DefaultOp_end_encoder(const DefaultEnd& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER DefaultOp_end_decoder(OCTETSTRING& input_stream, DefaultEnd& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void DefaultOp_encoder(const DefaultOp& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER DefaultOp_decoder(OCTETSTRING& input_stream, DefaultOp& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void DefaultEvent_choice_defaultopActivate_encoder(const DefaultOp& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER DefaultEvent_choice_defaultopActivate_decoder(OCTETSTRING& input_stream, DefaultOp& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void DefaultEvent_choice_defaultopDeactivate_encoder(const DefaultOp& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER DefaultEvent_choice_defaultopDeactivate_decoder(OCTETSTRING& input_stream, DefaultOp& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void DefaultEvent_choice_defaultopExit_encoder(const DefaultOp& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER DefaultEvent_choice_defaultopExit_decoder(OCTETSTRING& input_stream, DefaultOp& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void DefaultEvent_choice_encoder(const DefaultEvent_choice& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER DefaultEvent_choice_decoder(OCTETSTRING& input_stream, DefaultEvent_choice& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void DefaultEvent_encoder(const DefaultEvent& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER DefaultEvent_decoder(OCTETSTRING& input_stream, DefaultEvent& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void LogEventType_choice_defaultEvent_encoder(const DefaultEvent& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER LogEventType_choice_defaultEvent_decoder(OCTETSTRING& input_stream, DefaultEvent& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Categorized_category_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Categorized_category_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Categorized_text_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Categorized_text_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Categorized_encoder(const Categorized& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Categorized_decoder(OCTETSTRING& input_stream, Categorized& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void LogEventType_choice_errorLog_encoder(const Categorized& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER LogEventType_choice_errorLog_decoder(OCTETSTRING& input_stream, Categorized& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void ExecutorRuntime_reason_encoder(const ExecutorRuntime_reason& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ExecutorRuntime_reason_decoder(OCTETSTRING& input_stream, ExecutorRuntime_reason& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void ExecutorRuntime_module__name_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ExecutorRuntime_module__name_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void ExecutorRuntime_testcase__name_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ExecutorRuntime_testcase__name_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void ExecutorRuntime_pid_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ExecutorRuntime_pid_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void ExecutorRuntime_fd__setsize_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ExecutorRuntime_fd__setsize_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void ExecutorRuntime_encoder(const ExecutorRuntime& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ExecutorRuntime_decoder(OCTETSTRING& input_stream, ExecutorRuntime& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void ExecutorEvent_choice_executorRuntime_encoder(const ExecutorRuntime& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ExecutorEvent_choice_executorRuntime_decoder(OCTETSTRING& input_stream, ExecutorRuntime& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void ExecutorConfigdata_reason_encoder(const ExecutorConfigdata_reason& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ExecutorConfigdata_reason_decoder(OCTETSTRING& input_stream, ExecutorConfigdata_reason& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void ExecutorConfigdata_param___encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ExecutorConfigdata_param___decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void ExecutorConfigdata_encoder(const ExecutorConfigdata& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ExecutorConfigdata_decoder(OCTETSTRING& input_stream, ExecutorConfigdata& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void ExecutorEvent_choice_executorConfigdata_encoder(const ExecutorConfigdata& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ExecutorEvent_choice_executorConfigdata_decoder(OCTETSTRING& input_stream, ExecutorConfigdata& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void ExecutorEvent_choice_extcommandStart_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ExecutorEvent_choice_extcommandStart_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void ExecutorEvent_choice_extcommandSuccess_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ExecutorEvent_choice_extcommandSuccess_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void ExecutorComponent_reason_encoder(const ExecutorComponent_reason& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ExecutorComponent_reason_decoder(OCTETSTRING& input_stream, ExecutorComponent_reason& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void ExecutorComponent_compref_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ExecutorComponent_compref_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void ExecutorComponent_encoder(const ExecutorComponent& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ExecutorComponent_decoder(OCTETSTRING& input_stream, ExecutorComponent& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void ExecutorEvent_choice_executorComponent_encoder(const ExecutorComponent& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ExecutorEvent_choice_executorComponent_decoder(OCTETSTRING& input_stream, ExecutorComponent& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void ExecutorEvent_choice_logOptions_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ExecutorEvent_choice_logOptions_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void ExecutorUnqualified_reason_encoder(const ExecutorUnqualified_reason& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ExecutorUnqualified_reason_decoder(OCTETSTRING& input_stream, ExecutorUnqualified_reason& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void ExecutorUnqualified_name_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ExecutorUnqualified_name_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void ExecutorUnqualified_addr_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ExecutorUnqualified_addr_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void ExecutorUnqualified_port___encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ExecutorUnqualified_port___decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void ExecutorUnqualified_encoder(const ExecutorUnqualified& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ExecutorUnqualified_decoder(OCTETSTRING& input_stream, ExecutorUnqualified& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void ExecutorEvent_choice_executorMisc_encoder(const ExecutorUnqualified& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ExecutorEvent_choice_executorMisc_decoder(OCTETSTRING& input_stream, ExecutorUnqualified& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void ExecutorEvent_choice_encoder(const ExecutorEvent_choice& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ExecutorEvent_choice_decoder(OCTETSTRING& input_stream, ExecutorEvent_choice& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void ExecutorEvent_encoder(const ExecutorEvent& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ExecutorEvent_decoder(OCTETSTRING& input_stream, ExecutorEvent& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void LogEventType_choice_executorEvent_encoder(const ExecutorEvent& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER LogEventType_choice_executorEvent_decoder(OCTETSTRING& input_stream, ExecutorEvent& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void FunctionEvent_choice_unqualified_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER FunctionEvent_choice_unqualified_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void RandomAction_encoder(const RandomAction& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER RandomAction_decoder(OCTETSTRING& input_stream, RandomAction& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void FunctionEvent_choice_random_operation_encoder(const RandomAction& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER FunctionEvent_choice_random_operation_decoder(OCTETSTRING& input_stream, RandomAction& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void FunctionEvent_choice_random_retval_encoder(const FLOAT& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER FunctionEvent_choice_random_retval_decoder(OCTETSTRING& input_stream, FLOAT& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void FunctionEvent_choice_random_intseed_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER FunctionEvent_choice_random_intseed_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void FunctionEvent_choice_random_encoder(const FunctionEvent_choice_random& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER FunctionEvent_choice_random_decoder(OCTETSTRING& input_stream, FunctionEvent_choice_random& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void FunctionEvent_choice_encoder(const FunctionEvent_choice& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER FunctionEvent_choice_decoder(OCTETSTRING& input_stream, FunctionEvent_choice& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void FunctionEvent_encoder(const FunctionEvent& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER FunctionEvent_decoder(OCTETSTRING& input_stream, FunctionEvent& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void LogEventType_choice_functionEvent_encoder(const FunctionEvent& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER LogEventType_choice_functionEvent_decoder(OCTETSTRING& input_stream, FunctionEvent& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void ParallelPTC_reason_encoder(const ParallelPTC_reason& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ParallelPTC_reason_decoder(OCTETSTRING& input_stream, ParallelPTC_reason& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void ParallelPTC_module___encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ParallelPTC_module___decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void ParallelPTC_name_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ParallelPTC_name_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void ParallelPTC_compref_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ParallelPTC_compref_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void ParallelPTC_compname_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ParallelPTC_compname_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void ParallelPTC_tc__loc_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ParallelPTC_tc__loc_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void ParallelPTC_alive__pid_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ParallelPTC_alive__pid_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void ParallelPTC_status_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ParallelPTC_status_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void ParallelPTC_encoder(const ParallelPTC& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ParallelPTC_decoder(OCTETSTRING& input_stream, ParallelPTC& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void ParallelEvent_choice_parallelPTC_encoder(const ParallelPTC& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ParallelEvent_choice_parallelPTC_decoder(OCTETSTRING& input_stream, ParallelPTC& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void PTC__exit_compref_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER PTC__exit_compref_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void PTC__exit_pid_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER PTC__exit_pid_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void PTC__exit_statuscode_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER PTC__exit_statuscode_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void PTC__exit_encoder(const PTC__exit& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER PTC__exit_decoder(OCTETSTRING& input_stream, PTC__exit& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void ParallelEvent_choice_parallelPTC__exit_encoder(const PTC__exit& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ParallelEvent_choice_parallelPTC__exit_decoder(OCTETSTRING& input_stream, PTC__exit& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void ParPort_operation_encoder(const ParPort_operation& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ParPort_operation_decoder(OCTETSTRING& input_stream, ParPort_operation& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void ParPort_srcCompref_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ParPort_srcCompref_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void ParPort_dstCompref_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ParPort_dstCompref_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void ParPort_srcPort_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ParPort_srcPort_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void ParPort_dstPort_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ParPort_dstPort_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void ParPort_encoder(const ParPort& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ParPort_decoder(OCTETSTRING& input_stream, ParPort& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void ParallelEvent_choice_parallelPort_encoder(const ParPort& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ParallelEvent_choice_parallelPort_decoder(OCTETSTRING& input_stream, ParPort& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void ParallelEvent_choice_encoder(const ParallelEvent_choice& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ParallelEvent_choice_decoder(OCTETSTRING& input_stream, ParallelEvent_choice& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void ParallelEvent_encoder(const ParallelEvent& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ParallelEvent_decoder(OCTETSTRING& input_stream, ParallelEvent& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void LogEventType_choice_parallelEvent_encoder(const ParallelEvent& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER LogEventType_choice_parallelEvent_decoder(OCTETSTRING& input_stream, ParallelEvent& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void QualifiedName_module__name_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER QualifiedName_module__name_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void QualifiedName_testcase__name_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER QualifiedName_testcase__name_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void QualifiedName_encoder(const QualifiedName& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER QualifiedName_decoder(OCTETSTRING& input_stream, QualifiedName& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void TestcaseEvent_choice_testcaseStarted_encoder(const QualifiedName& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER TestcaseEvent_choice_testcaseStarted_decoder(OCTETSTRING& input_stream, QualifiedName& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void TestcaseType_name_encoder(const QualifiedName& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER TestcaseType_name_decoder(OCTETSTRING& input_stream, QualifiedName& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Verdict_encoder(const Verdict& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Verdict_decoder(OCTETSTRING& input_stream, Verdict& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void TestcaseType_verdict_encoder(const Verdict& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER TestcaseType_verdict_decoder(OCTETSTRING& input_stream, Verdict& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void TestcaseType_reason_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER TestcaseType_reason_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void TestcaseType_encoder(const TestcaseType& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER TestcaseType_decoder(OCTETSTRING& input_stream, TestcaseType& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void TestcaseEvent_choice_testcaseFinished_encoder(const TestcaseType& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER TestcaseEvent_choice_testcaseFinished_decoder(OCTETSTRING& input_stream, TestcaseType& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void TestcaseEvent_choice_encoder(const TestcaseEvent_choice& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER TestcaseEvent_choice_decoder(OCTETSTRING& input_stream, TestcaseEvent_choice& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void TestcaseEvent_encoder(const TestcaseEvent& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER TestcaseEvent_decoder(OCTETSTRING& input_stream, TestcaseEvent& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void LogEventType_choice_testcaseOp_encoder(const TestcaseEvent& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER LogEventType_choice_testcaseOp_decoder(OCTETSTRING& input_stream, TestcaseEvent& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Port__Queue_operation_encoder(const Port__Queue_operation& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Port__Queue_operation_decoder(OCTETSTRING& input_stream, Port__Queue_operation& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Port__Queue_port__name_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Port__Queue_port__name_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Port__Queue_compref_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Port__Queue_compref_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Port__Queue_msgid_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Port__Queue_msgid_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Port__Queue_address___encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Port__Queue_address___decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Port__Queue_param___encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Port__Queue_param___decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Port__Queue_encoder(const Port__Queue& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Port__Queue_decoder(OCTETSTRING& input_stream, Port__Queue& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void PortEvent_choice_portQueue_encoder(const Port__Queue& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER PortEvent_choice_portQueue_decoder(OCTETSTRING& input_stream, Port__Queue& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Port__State_operation_encoder(const Port__State_operation& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Port__State_operation_decoder(OCTETSTRING& input_stream, Port__State_operation& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Port__State_port__name_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Port__State_port__name_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Port__State_encoder(const Port__State& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Port__State_decoder(OCTETSTRING& input_stream, Port__State& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void PortEvent_choice_portState_encoder(const Port__State& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER PortEvent_choice_portState_decoder(OCTETSTRING& input_stream, Port__State& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Proc__port__out_port__name_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Proc__port__out_port__name_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Port__oper_encoder(const Port__oper& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Port__oper_decoder(OCTETSTRING& input_stream, Port__oper& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Proc__port__out_operation_encoder(const Port__oper& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Proc__port__out_operation_decoder(OCTETSTRING& input_stream, Port__oper& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Proc__port__out_compref_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Proc__port__out_compref_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Proc__port__out_sys__name_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Proc__port__out_sys__name_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Proc__port__out_parameter_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Proc__port__out_parameter_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Proc__port__out_encoder(const Proc__port__out& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Proc__port__out_decoder(OCTETSTRING& input_stream, Proc__port__out& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void PortEvent_choice_procPortSend_encoder(const Proc__port__out& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER PortEvent_choice_procPortSend_decoder(OCTETSTRING& input_stream, Proc__port__out& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Proc__port__in_port__name_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Proc__port__in_port__name_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Proc__port__in_operation_encoder(const Port__oper& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Proc__port__in_operation_decoder(OCTETSTRING& input_stream, Port__oper& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Proc__port__in_compref_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Proc__port__in_compref_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Proc__port__in_check___encoder(const BOOLEAN& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Proc__port__in_check___decoder(OCTETSTRING& input_stream, BOOLEAN& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Proc__port__in_parameter_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Proc__port__in_parameter_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Proc__port__in_msgid_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Proc__port__in_msgid_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Proc__port__in_encoder(const Proc__port__in& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Proc__port__in_decoder(OCTETSTRING& input_stream, Proc__port__in& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void PortEvent_choice_procPortRecv_encoder(const Proc__port__in& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER PortEvent_choice_procPortRecv_decoder(OCTETSTRING& input_stream, Proc__port__in& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Msg__port__send_port__name_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Msg__port__send_port__name_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Msg__port__send_compref_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Msg__port__send_compref_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Msg__port__send_parameter_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Msg__port__send_parameter_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Msg__port__send_encoder(const Msg__port__send& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Msg__port__send_decoder(OCTETSTRING& input_stream, Msg__port__send& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void PortEvent_choice_msgPortSend_encoder(const Msg__port__send& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER PortEvent_choice_msgPortSend_decoder(OCTETSTRING& input_stream, Msg__port__send& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Msg__port__recv_port__name_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Msg__port__recv_port__name_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Msg__port__recv_operation_encoder(const Msg__port__recv_operation& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Msg__port__recv_operation_decoder(OCTETSTRING& input_stream, Msg__port__recv_operation& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Msg__port__recv_compref_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Msg__port__recv_compref_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Msg__port__recv_sys__name_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Msg__port__recv_sys__name_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Msg__port__recv_parameter_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Msg__port__recv_parameter_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Msg__port__recv_msgid_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Msg__port__recv_msgid_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Msg__port__recv_encoder(const Msg__port__recv& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Msg__port__recv_decoder(OCTETSTRING& input_stream, Msg__port__recv& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void PortEvent_choice_msgPortRecv_encoder(const Msg__port__recv& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER PortEvent_choice_msgPortRecv_decoder(OCTETSTRING& input_stream, Msg__port__recv& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Dualface__mapped_incoming_encoder(const BOOLEAN& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Dualface__mapped_incoming_decoder(OCTETSTRING& input_stream, BOOLEAN& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Dualface__mapped_target__type_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Dualface__mapped_target__type_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Dualface__mapped_value___encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Dualface__mapped_value___decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Dualface__mapped_msgid_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Dualface__mapped_msgid_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Dualface__mapped_encoder(const Dualface__mapped& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Dualface__mapped_decoder(OCTETSTRING& input_stream, Dualface__mapped& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void PortEvent_choice_dualMapped_encoder(const Dualface__mapped& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER PortEvent_choice_dualMapped_decoder(OCTETSTRING& input_stream, Dualface__mapped& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Dualface__discard_incoming_encoder(const BOOLEAN& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Dualface__discard_incoming_decoder(OCTETSTRING& input_stream, BOOLEAN& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Dualface__discard_target__type_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Dualface__discard_target__type_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Dualface__discard_port__name_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Dualface__discard_port__name_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Dualface__discard_unhandled_encoder(const BOOLEAN& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Dualface__discard_unhandled_decoder(OCTETSTRING& input_stream, BOOLEAN& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Dualface__discard_encoder(const Dualface__discard& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Dualface__discard_decoder(OCTETSTRING& input_stream, Dualface__discard& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void PortEvent_choice_dualDiscard_encoder(const Dualface__discard& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER PortEvent_choice_dualDiscard_decoder(OCTETSTRING& input_stream, Dualface__discard& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Setstate_port__name_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Setstate_port__name_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Setstate_state_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Setstate_state_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Setstate_info_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Setstate_info_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Setstate_encoder(const Setstate& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Setstate_decoder(OCTETSTRING& input_stream, Setstate& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void PortEvent_choice_setState_encoder(const Setstate& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER PortEvent_choice_setState_decoder(OCTETSTRING& input_stream, Setstate& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Port__Misc_reason_encoder(const Port__Misc_reason& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Port__Misc_reason_decoder(OCTETSTRING& input_stream, Port__Misc_reason& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Port__Misc_port__name_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Port__Misc_port__name_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Port__Misc_remote__component_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Port__Misc_remote__component_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Port__Misc_remote__port_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Port__Misc_remote__port_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Port__Misc_ip__address_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Port__Misc_ip__address_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Port__Misc_tcp__port_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Port__Misc_tcp__port_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Port__Misc_new__size_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Port__Misc_new__size_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Port__Misc_encoder(const Port__Misc& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Port__Misc_decoder(OCTETSTRING& input_stream, Port__Misc& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void PortEvent_choice_portMisc_encoder(const Port__Misc& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER PortEvent_choice_portMisc_decoder(OCTETSTRING& input_stream, Port__Misc& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void PortEvent_choice_encoder(const PortEvent_choice& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER PortEvent_choice_decoder(OCTETSTRING& input_stream, PortEvent_choice& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void PortEvent_encoder(const PortEvent& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER PortEvent_decoder(OCTETSTRING& input_stream, PortEvent& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void LogEventType_choice_portEvent_encoder(const PortEvent& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER LogEventType_choice_portEvent_decoder(OCTETSTRING& input_stream, PortEvent& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void StatisticsType_choice_verdictStatistics_none___encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER StatisticsType_choice_verdictStatistics_none___decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void StatisticsType_choice_verdictStatistics_nonePercent_encoder(const FLOAT& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER StatisticsType_choice_verdictStatistics_nonePercent_decoder(OCTETSTRING& input_stream, FLOAT& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void StatisticsType_choice_verdictStatistics_pass___encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER StatisticsType_choice_verdictStatistics_pass___decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void StatisticsType_choice_verdictStatistics_passPercent_encoder(const FLOAT& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER StatisticsType_choice_verdictStatistics_passPercent_decoder(OCTETSTRING& input_stream, FLOAT& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void StatisticsType_choice_verdictStatistics_inconc___encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER StatisticsType_choice_verdictStatistics_inconc___decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void StatisticsType_choice_verdictStatistics_inconcPercent_encoder(const FLOAT& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER StatisticsType_choice_verdictStatistics_inconcPercent_decoder(OCTETSTRING& input_stream, FLOAT& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void StatisticsType_choice_verdictStatistics_fail___encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER StatisticsType_choice_verdictStatistics_fail___decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void StatisticsType_choice_verdictStatistics_failPercent_encoder(const FLOAT& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER StatisticsType_choice_verdictStatistics_failPercent_decoder(OCTETSTRING& input_stream, FLOAT& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void StatisticsType_choice_verdictStatistics_error___encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER StatisticsType_choice_verdictStatistics_error___decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void StatisticsType_choice_verdictStatistics_errorPercent_encoder(const FLOAT& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER StatisticsType_choice_verdictStatistics_errorPercent_decoder(OCTETSTRING& input_stream, FLOAT& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void StatisticsType_choice_verdictStatistics_encoder(const StatisticsType_choice_verdictStatistics& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER StatisticsType_choice_verdictStatistics_decoder(OCTETSTRING& input_stream, StatisticsType_choice_verdictStatistics& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void StatisticsType_choice_controlpartStart_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER StatisticsType_choice_controlpartStart_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void StatisticsType_choice_controlpartFinish_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER StatisticsType_choice_controlpartFinish_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void StatisticsType_choice_controlpartErrors_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER StatisticsType_choice_controlpartErrors_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void StatisticsType_choice_encoder(const StatisticsType_choice& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER StatisticsType_choice_decoder(OCTETSTRING& input_stream, StatisticsType_choice& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void StatisticsType_encoder(const StatisticsType& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER StatisticsType_decoder(OCTETSTRING& input_stream, StatisticsType& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void LogEventType_choice_statistics_encoder(const StatisticsType& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER LogEventType_choice_statistics_decoder(OCTETSTRING& input_stream, StatisticsType& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void TimerType_name_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER TimerType_name_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void TimerType_value___encoder(const FLOAT& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER TimerType_value___decoder(OCTETSTRING& input_stream, FLOAT& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void TimerType_encoder(const TimerType& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER TimerType_decoder(OCTETSTRING& input_stream, TimerType& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void TimerEvent_choice_readTimer_encoder(const TimerType& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER TimerEvent_choice_readTimer_decoder(OCTETSTRING& input_stream, TimerType& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void TimerEvent_choice_startTimer_encoder(const TimerType& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER TimerEvent_choice_startTimer_decoder(OCTETSTRING& input_stream, TimerType& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void TimerGuardType_value___encoder(const FLOAT& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER TimerGuardType_value___decoder(OCTETSTRING& input_stream, FLOAT& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void TimerGuardType_encoder(const TimerGuardType& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER TimerGuardType_decoder(OCTETSTRING& input_stream, TimerGuardType& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void TimerEvent_choice_guardTimer_encoder(const TimerGuardType& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER TimerEvent_choice_guardTimer_decoder(OCTETSTRING& input_stream, TimerGuardType& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void TimerEvent_choice_stopTimer_encoder(const TimerType& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER TimerEvent_choice_stopTimer_decoder(OCTETSTRING& input_stream, TimerType& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void TimerEvent_choice_timeoutTimer_encoder(const TimerType& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER TimerEvent_choice_timeoutTimer_decoder(OCTETSTRING& input_stream, TimerType& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void TimerAnyTimeoutType_encoder(const TimerAnyTimeoutType& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER TimerAnyTimeoutType_decoder(OCTETSTRING& input_stream, TimerAnyTimeoutType& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void TimerEvent_choice_timeoutAnyTimer_encoder(const TimerAnyTimeoutType& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER TimerEvent_choice_timeoutAnyTimer_decoder(OCTETSTRING& input_stream, TimerAnyTimeoutType& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void TimerEvent_choice_unqualifiedTimer_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER TimerEvent_choice_unqualifiedTimer_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void TimerEvent_choice_encoder(const TimerEvent_choice& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER TimerEvent_choice_decoder(OCTETSTRING& input_stream, TimerEvent_choice& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void TimerEvent_encoder(const TimerEvent& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER TimerEvent_decoder(OCTETSTRING& input_stream, TimerEvent& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void LogEventType_choice_timerEvent_encoder(const TimerEvent& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER LogEventType_choice_timerEvent_decoder(OCTETSTRING& input_stream, TimerEvent& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void LogEventType_choice_userLog_encoder(const Strings& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER LogEventType_choice_userLog_decoder(OCTETSTRING& input_stream, Strings& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void SetVerdictType_newVerdict_encoder(const Verdict& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER SetVerdictType_newVerdict_decoder(OCTETSTRING& input_stream, Verdict& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void SetVerdictType_oldVerdict_encoder(const Verdict& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER SetVerdictType_oldVerdict_decoder(OCTETSTRING& input_stream, Verdict& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void SetVerdictType_localVerdict_encoder(const Verdict& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER SetVerdictType_localVerdict_decoder(OCTETSTRING& input_stream, Verdict& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void SetVerdictType_oldReason_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER SetVerdictType_oldReason_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void SetVerdictType_newReason_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER SetVerdictType_newReason_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void SetVerdictType_encoder(const SetVerdictType& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER SetVerdictType_decoder(OCTETSTRING& input_stream, SetVerdictType& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void VerdictOp_choice_setVerdict_encoder(const SetVerdictType& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER VerdictOp_choice_setVerdict_decoder(OCTETSTRING& input_stream, SetVerdictType& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void VerdictOp_choice_getVerdict_encoder(const Verdict& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER VerdictOp_choice_getVerdict_decoder(OCTETSTRING& input_stream, Verdict& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void FinalVerdictInfo_is__ptc_encoder(const BOOLEAN& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER FinalVerdictInfo_is__ptc_decoder(OCTETSTRING& input_stream, BOOLEAN& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void FinalVerdictInfo_ptc__verdict_encoder(const Verdict& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER FinalVerdictInfo_ptc__verdict_decoder(OCTETSTRING& input_stream, Verdict& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void FinalVerdictInfo_local__verdict_encoder(const Verdict& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER FinalVerdictInfo_local__verdict_decoder(OCTETSTRING& input_stream, Verdict& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void FinalVerdictInfo_new__verdict_encoder(const Verdict& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER FinalVerdictInfo_new__verdict_decoder(OCTETSTRING& input_stream, Verdict& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void FinalVerdictInfo_verdict__reason_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER FinalVerdictInfo_verdict__reason_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void FinalVerdictInfo_ptc__compref_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER FinalVerdictInfo_ptc__compref_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void FinalVerdictInfo_ptc__name_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER FinalVerdictInfo_ptc__name_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void FinalVerdictInfo_encoder(const FinalVerdictInfo& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER FinalVerdictInfo_decoder(OCTETSTRING& input_stream, FinalVerdictInfo& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void FinalVerdictType_choice_info_encoder(const FinalVerdictInfo& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER FinalVerdictType_choice_info_decoder(OCTETSTRING& input_stream, FinalVerdictInfo& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void FinalVerdictType_choice_notification_encoder(const FinalVerdictType_choice_notification& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER FinalVerdictType_choice_notification_decoder(OCTETSTRING& input_stream, FinalVerdictType_choice_notification& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void FinalVerdictType_choice_encoder(const FinalVerdictType_choice& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER FinalVerdictType_choice_decoder(OCTETSTRING& input_stream, FinalVerdictType_choice& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void FinalVerdictType_encoder(const FinalVerdictType& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER FinalVerdictType_decoder(OCTETSTRING& input_stream, FinalVerdictType& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void VerdictOp_choice_finalVerdict_encoder(const FinalVerdictType& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER VerdictOp_choice_finalVerdict_decoder(OCTETSTRING& input_stream, FinalVerdictType& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void VerdictOp_choice_encoder(const VerdictOp_choice& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER VerdictOp_choice_decoder(OCTETSTRING& input_stream, VerdictOp_choice& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void VerdictOp_encoder(const VerdictOp& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER VerdictOp_decoder(OCTETSTRING& input_stream, VerdictOp& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void LogEventType_choice_verdictOp_encoder(const VerdictOp& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER LogEventType_choice_verdictOp_decoder(OCTETSTRING& input_stream, VerdictOp& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void LogEventType_choice_warningLog_encoder(const Categorized& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER LogEventType_choice_warningLog_decoder(OCTETSTRING& input_stream, Categorized& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void MatchingDoneType_reason_encoder(const MatchingDoneType_reason& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER MatchingDoneType_reason_decoder(OCTETSTRING& input_stream, MatchingDoneType_reason& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void MatchingDoneType_type___encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER MatchingDoneType_type___decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void MatchingDoneType_ptc_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER MatchingDoneType_ptc_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void MatchingDoneType_return__type_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER MatchingDoneType_return__type_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void MatchingDoneType_encoder(const MatchingDoneType& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER MatchingDoneType_decoder(OCTETSTRING& input_stream, MatchingDoneType& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void MatchingEvent_choice_matchingDone_encoder(const MatchingDoneType& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER MatchingEvent_choice_matchingDone_decoder(OCTETSTRING& input_stream, MatchingDoneType& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void PortType_encoder(const PortType& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER PortType_decoder(OCTETSTRING& input_stream, PortType& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void MatchingSuccessType_port__type_encoder(const PortType& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER MatchingSuccessType_port__type_decoder(OCTETSTRING& input_stream, PortType& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void MatchingSuccessType_port__name_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER MatchingSuccessType_port__name_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void MatchingSuccessType_info_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER MatchingSuccessType_info_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void MatchingSuccessType_encoder(const MatchingSuccessType& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER MatchingSuccessType_decoder(OCTETSTRING& input_stream, MatchingSuccessType& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void MatchingEvent_choice_matchingSuccess_encoder(const MatchingSuccessType& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER MatchingEvent_choice_matchingSuccess_decoder(OCTETSTRING& input_stream, MatchingSuccessType& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void MatchingFailureType_port__type_encoder(const PortType& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER MatchingFailureType_port__type_decoder(OCTETSTRING& input_stream, PortType& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void MatchingFailureType_port__name_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER MatchingFailureType_port__name_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void MatchingFailureType_choice_system___encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER MatchingFailureType_choice_system___decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void MatchingFailureType_choice_compref_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER MatchingFailureType_choice_compref_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void MatchingFailureType_choice_encoder(const MatchingFailureType_choice& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER MatchingFailureType_choice_decoder(OCTETSTRING& input_stream, MatchingFailureType_choice& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void MatchingFailureType_reason_encoder(const MatchingFailureType_reason& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER MatchingFailureType_reason_decoder(OCTETSTRING& input_stream, MatchingFailureType_reason& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void MatchingFailureType_info_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER MatchingFailureType_info_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void MatchingFailureType_encoder(const MatchingFailureType& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER MatchingFailureType_decoder(OCTETSTRING& input_stream, MatchingFailureType& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void MatchingEvent_choice_matchingFailure_encoder(const MatchingFailureType& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER MatchingEvent_choice_matchingFailure_decoder(OCTETSTRING& input_stream, MatchingFailureType& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void MatchingProblemType_port__name_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER MatchingProblemType_port__name_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void MatchingProblemType_reason_encoder(const MatchingProblemType_reason& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER MatchingProblemType_reason_decoder(OCTETSTRING& input_stream, MatchingProblemType_reason& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void MatchingProblemType_operation_encoder(const MatchingProblemType_operation& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER MatchingProblemType_operation_decoder(OCTETSTRING& input_stream, MatchingProblemType_operation& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void MatchingProblemType_check___encoder(const BOOLEAN& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER MatchingProblemType_check___decoder(OCTETSTRING& input_stream, BOOLEAN& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void MatchingProblemType_any__port_encoder(const BOOLEAN& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER MatchingProblemType_any__port_decoder(OCTETSTRING& input_stream, BOOLEAN& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void MatchingProblemType_encoder(const MatchingProblemType& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER MatchingProblemType_decoder(OCTETSTRING& input_stream, MatchingProblemType& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void MatchingEvent_choice_matchingProblem_encoder(const MatchingProblemType& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER MatchingEvent_choice_matchingProblem_decoder(OCTETSTRING& input_stream, MatchingProblemType& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void MatchingTimeout_timer__name_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER MatchingTimeout_timer__name_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void MatchingTimeout_encoder(const MatchingTimeout& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER MatchingTimeout_decoder(OCTETSTRING& input_stream, MatchingTimeout& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void MatchingEvent_choice_matchingTimeout_encoder(const MatchingTimeout& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER MatchingEvent_choice_matchingTimeout_decoder(OCTETSTRING& input_stream, MatchingTimeout& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void MatchingEvent_choice_encoder(const MatchingEvent_choice& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER MatchingEvent_choice_decoder(OCTETSTRING& input_stream, MatchingEvent_choice& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void MatchingEvent_encoder(const MatchingEvent& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER MatchingEvent_decoder(OCTETSTRING& input_stream, MatchingEvent& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void LogEventType_choice_matchingEvent_encoder(const MatchingEvent& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER LogEventType_choice_matchingEvent_decoder(OCTETSTRING& input_stream, MatchingEvent& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void LogEventType_choice_debugLog_encoder(const Categorized& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER LogEventType_choice_debugLog_decoder(OCTETSTRING& input_stream, Categorized& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void ExecutionSummaryType_numberOfTestcases_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ExecutionSummaryType_numberOfTestcases_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void ExecutionSummaryType_overallStatistics_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ExecutionSummaryType_overallStatistics_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void ExecutionSummaryType_encoder(const ExecutionSummaryType& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ExecutionSummaryType_decoder(OCTETSTRING& input_stream, ExecutionSummaryType& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void LogEventType_choice_executionSummary_encoder(const ExecutionSummaryType& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER LogEventType_choice_executionSummary_decoder(OCTETSTRING& input_stream, ExecutionSummaryType& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void LogEventType_choice_unhandledEvent_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER LogEventType_choice_unhandledEvent_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void LogEventType_choice_encoder(const LogEventType_choice& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER LogEventType_choice_decoder(OCTETSTRING& input_stream, LogEventType_choice& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void LogEventType_encoder(const LogEventType& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER LogEventType_decoder(OCTETSTRING& input_stream, LogEventType& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void TitanLogEvent_logEvent_encoder(const LogEventType& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER TitanLogEvent_logEvent_decoder(OCTETSTRING& input_stream, LogEventType& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void TitanLogEvent_encoder(const TitanLogEvent& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER TitanLogEvent_decoder(OCTETSTRING& input_stream, TitanLogEvent& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void TitanLog_sequence__list_0_event__list_0_encoder(const TitanLogEvent& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER TitanLog_sequence__list_0_event__list_0_decoder(OCTETSTRING& input_stream, TitanLogEvent& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void TitanLog_sequence__list_0_event__list_encoder(const TitanLog_sequence__list_0_event__list& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER TitanLog_sequence__list_0_event__list_decoder(OCTETSTRING& input_stream, TitanLog_sequence__list_0_event__list& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void TitanLog_sequence__list_0_encoder(const TitanLog_sequence__list_0& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER TitanLog_sequence__list_0_decoder(OCTETSTRING& input_stream, TitanLog_sequence__list_0& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void TitanLog_sequence__list_encoder(const TitanLog_sequence__list& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER TitanLog_sequence__list_decoder(OCTETSTRING& input_stream, TitanLog_sequence__list& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void TitanLog_encoder(const TitanLog& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER TitanLog_decoder(OCTETSTRING& input_stream, TitanLog& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void TitanSingleLogEvent_entityId_encoder(const ComponentIDType& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER TitanSingleLogEvent_entityId_decoder(OCTETSTRING& input_stream, ComponentIDType& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void TitanSingleLogEvent_event_encoder(const TitanLogEvent& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER TitanSingleLogEvent_event_decoder(OCTETSTRING& input_stream, TitanLogEvent& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void TitanSingleLogEvent_encoder(const TitanSingleLogEvent& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER TitanSingleLogEvent_decoder(OCTETSTRING& input_stream, TitanSingleLogEvent& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void ErrorEvent_text_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ErrorEvent_text_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void ErrorEvent_encoder(const ErrorEvent& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER ErrorEvent_decoder(OCTETSTRING& input_stream, ErrorEvent& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void WarningEvent_text_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER WarningEvent_text_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void WarningEvent_encoder(const WarningEvent& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER WarningEvent_decoder(OCTETSTRING& input_stream, WarningEvent& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void VerdictType_fromVerdict_encoder(const Verdict& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER VerdictType_fromVerdict_decoder(OCTETSTRING& input_stream, Verdict& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void VerdictType_toVerdict_encoder(const Verdict& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER VerdictType_toVerdict_decoder(OCTETSTRING& input_stream, Verdict& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void VerdictType_verdictReason_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER VerdictType_verdictReason_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void VerdictType_encoder(const VerdictType& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER VerdictType_decoder(OCTETSTRING& input_stream, VerdictType& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Parallel_reason_encoder(const Parallel_reason& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Parallel_reason_decoder(OCTETSTRING& input_stream, Parallel_reason& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Parallel_alive___encoder(const BOOLEAN& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Parallel_alive___decoder(OCTETSTRING& input_stream, BOOLEAN& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Parallel_function__name_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Parallel_function__name_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Parallel_src__compref_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Parallel_src__compref_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Parallel_src__port_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Parallel_src__port_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Parallel_dst__compref_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Parallel_dst__compref_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Parallel_dst__port_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Parallel_dst__port_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void Parallel_encoder(const Parallel& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER Parallel_decoder(OCTETSTRING& input_stream, Parallel& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void StartFunction_function__name_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER StartFunction_function__name_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void StartFunction_compref_encoder(const INTEGER& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER StartFunction_compref_decoder(OCTETSTRING& input_stream, INTEGER& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void StartFunction_parameter__list_0_encoder(const CHARSTRING& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER StartFunction_parameter__list_0_decoder(OCTETSTRING& input_stream, CHARSTRING& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void StartFunction_parameter__list_encoder(const StartFunction_parameter__list& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER StartFunction_parameter__list_decoder(OCTETSTRING& input_stream, StartFunction_parameter__list& output_value, const UNIVERSAL_CHARSTRING& coding_name);
extern void StartFunction_encoder(const StartFunction& input_value, OCTETSTRING& output_stream, const UNIVERSAL_CHARSTRING& coding_name);
extern INTEGER StartFunction_decoder(OCTETSTRING& input_stream, StartFunction& output_value, const UNIVERSAL_CHARSTRING& coding_name);

/* Global variable declarations */

extern const XERdescriptor_t TitanLog_sequence__list_xer_;
extern const TTCN_Typedescriptor_t TitanLog_sequence__list_descr_;
extern const XERdescriptor_t ComponentIDType_id_xer_;
extern const TTCN_Typedescriptor_t ComponentIDType_id_descr_;
extern UNIVERSAL_CHARSTRING ComponentIDType_id_default_coding;
extern const XERdescriptor_t ComponentIDType_name_xer_;
extern const TTCN_Typedescriptor_t ComponentIDType_name_descr_;
extern UNIVERSAL_CHARSTRING ComponentIDType_name_default_coding;
extern const XERdescriptor_t ComponentIDType_xer_;
extern const TTCN_Typedescriptor_t ComponentIDType_descr_;
extern UNIVERSAL_CHARSTRING ComponentIDType_default_coding;
extern const XERdescriptor_t TitanLog_sequence__list_0_entityId_xer_;
extern const TTCN_Typedescriptor_t TitanLog_sequence__list_0_entityId_descr_;
extern UNIVERSAL_CHARSTRING TitanLog_sequence__list_0_entityId_default_coding;
extern const XERdescriptor_t TitanLog_sequence__list_0_event__list_xer_;
extern const TTCN_Typedescriptor_t TitanLog_sequence__list_0_event__list_descr_;
extern const XERdescriptor_t TimestampType_seconds_xer_;
extern const TTCN_Typedescriptor_t TimestampType_seconds_descr_;
extern UNIVERSAL_CHARSTRING TimestampType_seconds_default_coding;
extern const XERdescriptor_t TimestampType_microSeconds_xer_;
extern const TTCN_Typedescriptor_t TimestampType_microSeconds_descr_;
extern UNIVERSAL_CHARSTRING TimestampType_microSeconds_default_coding;
extern const XERdescriptor_t TimestampType_xer_;
extern const TTCN_Typedescriptor_t TimestampType_descr_;
extern UNIVERSAL_CHARSTRING TimestampType_default_coding;
extern const XERdescriptor_t TitanLogEvent_timestamp___xer_;
extern const TTCN_Typedescriptor_t TitanLogEvent_timestamp___descr_;
extern UNIVERSAL_CHARSTRING TitanLogEvent_timestamp___default_coding;
extern const XERdescriptor_t TitanLogEvent_sourceInfo__list_xer_;
extern const TTCN_Typedescriptor_t TitanLogEvent_sourceInfo__list_descr_;
extern const XERdescriptor_t LocationInfo_filename_xer_;
extern const TTCN_Typedescriptor_t LocationInfo_filename_descr_;
extern UNIVERSAL_CHARSTRING LocationInfo_filename_default_coding;
extern const XERdescriptor_t LocationInfo_line_xer_;
extern const TTCN_Typedescriptor_t LocationInfo_line_descr_;
extern UNIVERSAL_CHARSTRING LocationInfo_line_default_coding;
extern const XERdescriptor_t LocationInfo_ent__name_xer_;
extern const TTCN_Typedescriptor_t LocationInfo_ent__name_descr_;
extern UNIVERSAL_CHARSTRING LocationInfo_ent__name_default_coding;
extern const XERdescriptor_t LocationInfo_ent__type_xer_;
extern const TTCN_Typedescriptor_t LocationInfo_ent__type_descr_;
extern UNIVERSAL_CHARSTRING LocationInfo_ent__type_default_coding;
extern const XERdescriptor_t LocationInfo_xer_;
extern const TTCN_Typedescriptor_t LocationInfo_descr_;
extern UNIVERSAL_CHARSTRING LocationInfo_default_coding;
extern const XERdescriptor_t TitanLogEvent_sourceInfo__list_0_xer_;
extern const TTCN_Typedescriptor_t TitanLogEvent_sourceInfo__list_0_descr_;
extern UNIVERSAL_CHARSTRING TitanLogEvent_sourceInfo__list_0_default_coding;
extern UNIVERSAL_CHARSTRING TitanLogEvent_sourceInfo__list_default_coding;
extern const XERdescriptor_t TitanLogEvent_severity_xer_;
extern const TTCN_Typedescriptor_t TitanLogEvent_severity_descr_;
extern UNIVERSAL_CHARSTRING TitanLogEvent_severity_default_coding;
extern const XERdescriptor_t LogEventType_choice_xer_;
extern const TTCN_Typedescriptor_t LogEventType_choice_descr_;
extern const XERdescriptor_t Strings_str__list_xer_;
extern const TTCN_Typedescriptor_t Strings_str__list_descr_;
extern const XERdescriptor_t Strings_str__list_0_xer_;
extern const TTCN_Typedescriptor_t Strings_str__list_0_descr_;
extern UNIVERSAL_CHARSTRING Strings_str__list_0_default_coding;
extern UNIVERSAL_CHARSTRING Strings_str__list_default_coding;
extern const XERdescriptor_t Strings_xer_;
extern const TTCN_Typedescriptor_t Strings_descr_;
extern UNIVERSAL_CHARSTRING Strings_default_coding;
extern const XERdescriptor_t LogEventType_choice_actionEvent_xer_;
extern const TTCN_Typedescriptor_t LogEventType_choice_actionEvent_descr_;
extern UNIVERSAL_CHARSTRING LogEventType_choice_actionEvent_default_coding;
extern const XERdescriptor_t DefaultEvent_choice_xer_;
extern const TTCN_Typedescriptor_t DefaultEvent_choice_descr_;
extern const XERdescriptor_t DefaultOp_name_xer_;
extern const TTCN_Typedescriptor_t DefaultOp_name_descr_;
extern UNIVERSAL_CHARSTRING DefaultOp_name_default_coding;
extern const XERdescriptor_t DefaultOp_id_xer_;
extern const TTCN_Typedescriptor_t DefaultOp_id_descr_;
extern UNIVERSAL_CHARSTRING DefaultOp_id_default_coding;
extern const XERdescriptor_t DefaultEnd_xer_;
extern const TTCN_Typedescriptor_t DefaultEnd_descr_;
extern UNIVERSAL_CHARSTRING DefaultEnd_default_coding;
extern const XERdescriptor_t DefaultOp_end_xer_;
extern const TTCN_Typedescriptor_t DefaultOp_end_descr_;
extern UNIVERSAL_CHARSTRING DefaultOp_end_default_coding;
extern const XERdescriptor_t DefaultOp_xer_;
extern const TTCN_Typedescriptor_t DefaultOp_descr_;
extern UNIVERSAL_CHARSTRING DefaultOp_default_coding;
extern const XERdescriptor_t DefaultEvent_choice_defaultopActivate_xer_;
extern const TTCN_Typedescriptor_t DefaultEvent_choice_defaultopActivate_descr_;
extern UNIVERSAL_CHARSTRING DefaultEvent_choice_defaultopActivate_default_coding;
extern const XERdescriptor_t DefaultEvent_choice_defaultopDeactivate_xer_;
extern const TTCN_Typedescriptor_t DefaultEvent_choice_defaultopDeactivate_descr_;
extern UNIVERSAL_CHARSTRING DefaultEvent_choice_defaultopDeactivate_default_coding;
extern const XERdescriptor_t DefaultEvent_choice_defaultopExit_xer_;
extern const TTCN_Typedescriptor_t DefaultEvent_choice_defaultopExit_descr_;
extern UNIVERSAL_CHARSTRING DefaultEvent_choice_defaultopExit_default_coding;
extern UNIVERSAL_CHARSTRING DefaultEvent_choice_default_coding;
extern const XERdescriptor_t DefaultEvent_xer_;
extern const TTCN_Typedescriptor_t DefaultEvent_descr_;
extern UNIVERSAL_CHARSTRING DefaultEvent_default_coding;
extern const XERdescriptor_t LogEventType_choice_defaultEvent_xer_;
extern const TTCN_Typedescriptor_t LogEventType_choice_defaultEvent_descr_;
extern UNIVERSAL_CHARSTRING LogEventType_choice_defaultEvent_default_coding;
extern const XERdescriptor_t Categorized_category_xer_;
extern const TTCN_Typedescriptor_t Categorized_category_descr_;
extern UNIVERSAL_CHARSTRING Categorized_category_default_coding;
extern const XERdescriptor_t Categorized_text_xer_;
extern const TTCN_Typedescriptor_t Categorized_text_descr_;
extern UNIVERSAL_CHARSTRING Categorized_text_default_coding;
extern const XERdescriptor_t Categorized_xer_;
extern const TTCN_Typedescriptor_t Categorized_descr_;
extern UNIVERSAL_CHARSTRING Categorized_default_coding;
extern const XERdescriptor_t LogEventType_choice_errorLog_xer_;
extern const TTCN_Typedescriptor_t LogEventType_choice_errorLog_descr_;
extern UNIVERSAL_CHARSTRING LogEventType_choice_errorLog_default_coding;
extern const XERdescriptor_t ExecutorEvent_choice_xer_;
extern const TTCN_Typedescriptor_t ExecutorEvent_choice_descr_;
extern const XERdescriptor_t ExecutorRuntime_reason_xer_;
extern const TTCN_Typedescriptor_t ExecutorRuntime_reason_descr_;
extern UNIVERSAL_CHARSTRING ExecutorRuntime_reason_default_coding;
extern const XERdescriptor_t ExecutorRuntime_xer_;
extern const TTCN_Typedescriptor_t ExecutorRuntime_descr_;
extern const XERdescriptor_t ExecutorRuntime_module__name_xer_;
extern const TTCN_Typedescriptor_t ExecutorRuntime_module__name_descr_;
extern UNIVERSAL_CHARSTRING ExecutorRuntime_module__name_default_coding;
extern const XERdescriptor_t ExecutorRuntime_testcase__name_xer_;
extern const TTCN_Typedescriptor_t ExecutorRuntime_testcase__name_descr_;
extern UNIVERSAL_CHARSTRING ExecutorRuntime_testcase__name_default_coding;
extern const XERdescriptor_t ExecutorRuntime_pid_xer_;
extern const TTCN_Typedescriptor_t ExecutorRuntime_pid_descr_;
extern UNIVERSAL_CHARSTRING ExecutorRuntime_pid_default_coding;
extern const XERdescriptor_t ExecutorRuntime_fd__setsize_xer_;
extern const TTCN_Typedescriptor_t ExecutorRuntime_fd__setsize_descr_;
extern UNIVERSAL_CHARSTRING ExecutorRuntime_fd__setsize_default_coding;
extern UNIVERSAL_CHARSTRING ExecutorRuntime_default_coding;
extern const XERdescriptor_t ExecutorEvent_choice_executorRuntime_xer_;
extern const TTCN_Typedescriptor_t ExecutorEvent_choice_executorRuntime_descr_;
extern UNIVERSAL_CHARSTRING ExecutorEvent_choice_executorRuntime_default_coding;
extern const XERdescriptor_t ExecutorConfigdata_reason_xer_;
extern const TTCN_Typedescriptor_t ExecutorConfigdata_reason_descr_;
extern UNIVERSAL_CHARSTRING ExecutorConfigdata_reason_default_coding;
extern const XERdescriptor_t ExecutorConfigdata_xer_;
extern const TTCN_Typedescriptor_t ExecutorConfigdata_descr_;
extern const XERdescriptor_t ExecutorConfigdata_param___xer_;
extern const TTCN_Typedescriptor_t ExecutorConfigdata_param___descr_;
extern UNIVERSAL_CHARSTRING ExecutorConfigdata_param___default_coding;
extern UNIVERSAL_CHARSTRING ExecutorConfigdata_default_coding;
extern const XERdescriptor_t ExecutorEvent_choice_executorConfigdata_xer_;
extern const TTCN_Typedescriptor_t ExecutorEvent_choice_executorConfigdata_descr_;
extern UNIVERSAL_CHARSTRING ExecutorEvent_choice_executorConfigdata_default_coding;
extern const XERdescriptor_t ExecutorEvent_choice_extcommandStart_xer_;
extern const TTCN_Typedescriptor_t ExecutorEvent_choice_extcommandStart_descr_;
extern UNIVERSAL_CHARSTRING ExecutorEvent_choice_extcommandStart_default_coding;
extern const XERdescriptor_t ExecutorEvent_choice_extcommandSuccess_xer_;
extern const TTCN_Typedescriptor_t ExecutorEvent_choice_extcommandSuccess_descr_;
extern UNIVERSAL_CHARSTRING ExecutorEvent_choice_extcommandSuccess_default_coding;
extern const XERdescriptor_t ExecutorComponent_reason_xer_;
extern const TTCN_Typedescriptor_t ExecutorComponent_reason_descr_;
extern UNIVERSAL_CHARSTRING ExecutorComponent_reason_default_coding;
extern const XERdescriptor_t ExecutorComponent_xer_;
extern const TTCN_Typedescriptor_t ExecutorComponent_descr_;
extern const XERdescriptor_t ExecutorComponent_compref_xer_;
extern const TTCN_Typedescriptor_t ExecutorComponent_compref_descr_;
extern UNIVERSAL_CHARSTRING ExecutorComponent_compref_default_coding;
extern UNIVERSAL_CHARSTRING ExecutorComponent_default_coding;
extern const XERdescriptor_t ExecutorEvent_choice_executorComponent_xer_;
extern const TTCN_Typedescriptor_t ExecutorEvent_choice_executorComponent_descr_;
extern UNIVERSAL_CHARSTRING ExecutorEvent_choice_executorComponent_default_coding;
extern const XERdescriptor_t ExecutorEvent_choice_logOptions_xer_;
extern const TTCN_Typedescriptor_t ExecutorEvent_choice_logOptions_descr_;
extern UNIVERSAL_CHARSTRING ExecutorEvent_choice_logOptions_default_coding;
extern const XERdescriptor_t ExecutorUnqualified_reason_xer_;
extern const TTCN_Typedescriptor_t ExecutorUnqualified_reason_descr_;
extern UNIVERSAL_CHARSTRING ExecutorUnqualified_reason_default_coding;
extern const XERdescriptor_t ExecutorUnqualified_name_xer_;
extern const TTCN_Typedescriptor_t ExecutorUnqualified_name_descr_;
extern UNIVERSAL_CHARSTRING ExecutorUnqualified_name_default_coding;
extern const XERdescriptor_t ExecutorUnqualified_addr_xer_;
extern const TTCN_Typedescriptor_t ExecutorUnqualified_addr_descr_;
extern UNIVERSAL_CHARSTRING ExecutorUnqualified_addr_default_coding;
extern const XERdescriptor_t ExecutorUnqualified_port___xer_;
extern const TTCN_Typedescriptor_t ExecutorUnqualified_port___descr_;
extern UNIVERSAL_CHARSTRING ExecutorUnqualified_port___default_coding;
extern const XERdescriptor_t ExecutorUnqualified_xer_;
extern const TTCN_Typedescriptor_t ExecutorUnqualified_descr_;
extern UNIVERSAL_CHARSTRING ExecutorUnqualified_default_coding;
extern const XERdescriptor_t ExecutorEvent_choice_executorMisc_xer_;
extern const TTCN_Typedescriptor_t ExecutorEvent_choice_executorMisc_descr_;
extern UNIVERSAL_CHARSTRING ExecutorEvent_choice_executorMisc_default_coding;
extern UNIVERSAL_CHARSTRING ExecutorEvent_choice_default_coding;
extern const XERdescriptor_t ExecutorEvent_xer_;
extern const TTCN_Typedescriptor_t ExecutorEvent_descr_;
extern UNIVERSAL_CHARSTRING ExecutorEvent_default_coding;
extern const XERdescriptor_t LogEventType_choice_executorEvent_xer_;
extern const TTCN_Typedescriptor_t LogEventType_choice_executorEvent_descr_;
extern UNIVERSAL_CHARSTRING LogEventType_choice_executorEvent_default_coding;
extern const XERdescriptor_t FunctionEvent_choice_xer_;
extern const TTCN_Typedescriptor_t FunctionEvent_choice_descr_;
extern const XERdescriptor_t FunctionEvent_choice_unqualified_xer_;
extern const TTCN_Typedescriptor_t FunctionEvent_choice_unqualified_descr_;
extern UNIVERSAL_CHARSTRING FunctionEvent_choice_unqualified_default_coding;
extern const XERdescriptor_t RandomAction_xer_;
extern const TTCN_Typedescriptor_t RandomAction_descr_;
extern UNIVERSAL_CHARSTRING RandomAction_default_coding;
extern const XERdescriptor_t FunctionEvent_choice_random_operation_xer_;
extern const TTCN_Typedescriptor_t FunctionEvent_choice_random_operation_descr_;
extern UNIVERSAL_CHARSTRING FunctionEvent_choice_random_operation_default_coding;
extern const XERdescriptor_t FunctionEvent_choice_random_retval_xer_;
extern const TTCN_OERdescriptor_t FunctionEvent_choice_random_retval_oer_;
extern const TTCN_Typedescriptor_t FunctionEvent_choice_random_retval_descr_;
extern UNIVERSAL_CHARSTRING FunctionEvent_choice_random_retval_default_coding;
extern const XERdescriptor_t FunctionEvent_choice_random_intseed_xer_;
extern const TTCN_Typedescriptor_t FunctionEvent_choice_random_intseed_descr_;
extern UNIVERSAL_CHARSTRING FunctionEvent_choice_random_intseed_default_coding;
extern const XERdescriptor_t FunctionEvent_choice_random_xer_;
extern const TTCN_Typedescriptor_t FunctionEvent_choice_random_descr_;
extern UNIVERSAL_CHARSTRING FunctionEvent_choice_random_default_coding;
extern UNIVERSAL_CHARSTRING FunctionEvent_choice_default_coding;
extern const XERdescriptor_t FunctionEvent_xer_;
extern const TTCN_Typedescriptor_t FunctionEvent_descr_;
extern UNIVERSAL_CHARSTRING FunctionEvent_default_coding;
extern const XERdescriptor_t LogEventType_choice_functionEvent_xer_;
extern const TTCN_Typedescriptor_t LogEventType_choice_functionEvent_descr_;
extern UNIVERSAL_CHARSTRING LogEventType_choice_functionEvent_default_coding;
extern const XERdescriptor_t ParallelEvent_choice_xer_;
extern const TTCN_Typedescriptor_t ParallelEvent_choice_descr_;
extern const XERdescriptor_t ParallelPTC_reason_xer_;
extern const TTCN_Typedescriptor_t ParallelPTC_reason_descr_;
extern UNIVERSAL_CHARSTRING ParallelPTC_reason_default_coding;
extern const XERdescriptor_t ParallelPTC_module___xer_;
extern const TTCN_Typedescriptor_t ParallelPTC_module___descr_;
extern UNIVERSAL_CHARSTRING ParallelPTC_module___default_coding;
extern const XERdescriptor_t ParallelPTC_name_xer_;
extern const TTCN_Typedescriptor_t ParallelPTC_name_descr_;
extern UNIVERSAL_CHARSTRING ParallelPTC_name_default_coding;
extern const XERdescriptor_t ParallelPTC_compref_xer_;
extern const TTCN_Typedescriptor_t ParallelPTC_compref_descr_;
extern UNIVERSAL_CHARSTRING ParallelPTC_compref_default_coding;
extern const XERdescriptor_t ParallelPTC_compname_xer_;
extern const TTCN_Typedescriptor_t ParallelPTC_compname_descr_;
extern UNIVERSAL_CHARSTRING ParallelPTC_compname_default_coding;
extern const XERdescriptor_t ParallelPTC_tc__loc_xer_;
extern const TTCN_Typedescriptor_t ParallelPTC_tc__loc_descr_;
extern UNIVERSAL_CHARSTRING ParallelPTC_tc__loc_default_coding;
extern const XERdescriptor_t ParallelPTC_alive__pid_xer_;
extern const TTCN_Typedescriptor_t ParallelPTC_alive__pid_descr_;
extern UNIVERSAL_CHARSTRING ParallelPTC_alive__pid_default_coding;
extern const XERdescriptor_t ParallelPTC_status_xer_;
extern const TTCN_Typedescriptor_t ParallelPTC_status_descr_;
extern UNIVERSAL_CHARSTRING ParallelPTC_status_default_coding;
extern const XERdescriptor_t ParallelPTC_xer_;
extern const TTCN_Typedescriptor_t ParallelPTC_descr_;
extern UNIVERSAL_CHARSTRING ParallelPTC_default_coding;
extern const XERdescriptor_t ParallelEvent_choice_parallelPTC_xer_;
extern const TTCN_Typedescriptor_t ParallelEvent_choice_parallelPTC_descr_;
extern UNIVERSAL_CHARSTRING ParallelEvent_choice_parallelPTC_default_coding;
extern const XERdescriptor_t PTC__exit_compref_xer_;
extern const TTCN_Typedescriptor_t PTC__exit_compref_descr_;
extern UNIVERSAL_CHARSTRING PTC__exit_compref_default_coding;
extern const XERdescriptor_t PTC__exit_pid_xer_;
extern const TTCN_Typedescriptor_t PTC__exit_pid_descr_;
extern UNIVERSAL_CHARSTRING PTC__exit_pid_default_coding;
extern const XERdescriptor_t PTC__exit_statuscode_xer_;
extern const TTCN_Typedescriptor_t PTC__exit_statuscode_descr_;
extern UNIVERSAL_CHARSTRING PTC__exit_statuscode_default_coding;
extern const XERdescriptor_t PTC__exit_xer_;
extern const TTCN_Typedescriptor_t PTC__exit_descr_;
extern UNIVERSAL_CHARSTRING PTC__exit_default_coding;
extern const XERdescriptor_t ParallelEvent_choice_parallelPTC__exit_xer_;
extern const TTCN_Typedescriptor_t ParallelEvent_choice_parallelPTC__exit_descr_;
extern UNIVERSAL_CHARSTRING ParallelEvent_choice_parallelPTC__exit_default_coding;
extern const XERdescriptor_t ParPort_operation_xer_;
extern const TTCN_Typedescriptor_t ParPort_operation_descr_;
extern UNIVERSAL_CHARSTRING ParPort_operation_default_coding;
extern const XERdescriptor_t ParPort_srcCompref_xer_;
extern const TTCN_Typedescriptor_t ParPort_srcCompref_descr_;
extern UNIVERSAL_CHARSTRING ParPort_srcCompref_default_coding;
extern const XERdescriptor_t ParPort_dstCompref_xer_;
extern const TTCN_Typedescriptor_t ParPort_dstCompref_descr_;
extern UNIVERSAL_CHARSTRING ParPort_dstCompref_default_coding;
extern const XERdescriptor_t ParPort_srcPort_xer_;
extern const TTCN_Typedescriptor_t ParPort_srcPort_descr_;
extern UNIVERSAL_CHARSTRING ParPort_srcPort_default_coding;
extern const XERdescriptor_t ParPort_dstPort_xer_;
extern const TTCN_Typedescriptor_t ParPort_dstPort_descr_;
extern UNIVERSAL_CHARSTRING ParPort_dstPort_default_coding;
extern const XERdescriptor_t ParPort_xer_;
extern const TTCN_Typedescriptor_t ParPort_descr_;
extern UNIVERSAL_CHARSTRING ParPort_default_coding;
extern const XERdescriptor_t ParallelEvent_choice_parallelPort_xer_;
extern const TTCN_Typedescriptor_t ParallelEvent_choice_parallelPort_descr_;
extern UNIVERSAL_CHARSTRING ParallelEvent_choice_parallelPort_default_coding;
extern UNIVERSAL_CHARSTRING ParallelEvent_choice_default_coding;
extern const XERdescriptor_t ParallelEvent_xer_;
extern const TTCN_Typedescriptor_t ParallelEvent_descr_;
extern UNIVERSAL_CHARSTRING ParallelEvent_default_coding;
extern const XERdescriptor_t LogEventType_choice_parallelEvent_xer_;
extern const TTCN_Typedescriptor_t LogEventType_choice_parallelEvent_descr_;
extern UNIVERSAL_CHARSTRING LogEventType_choice_parallelEvent_default_coding;
extern const XERdescriptor_t TestcaseEvent_choice_xer_;
extern const TTCN_Typedescriptor_t TestcaseEvent_choice_descr_;
extern const XERdescriptor_t QualifiedName_module__name_xer_;
extern const TTCN_Typedescriptor_t QualifiedName_module__name_descr_;
extern UNIVERSAL_CHARSTRING QualifiedName_module__name_default_coding;
extern const XERdescriptor_t QualifiedName_testcase__name_xer_;
extern const TTCN_Typedescriptor_t QualifiedName_testcase__name_descr_;
extern UNIVERSAL_CHARSTRING QualifiedName_testcase__name_default_coding;
extern const XERdescriptor_t QualifiedName_xer_;
extern const TTCN_Typedescriptor_t QualifiedName_descr_;
extern UNIVERSAL_CHARSTRING QualifiedName_default_coding;
extern const XERdescriptor_t TestcaseEvent_choice_testcaseStarted_xer_;
extern const TTCN_Typedescriptor_t TestcaseEvent_choice_testcaseStarted_descr_;
extern UNIVERSAL_CHARSTRING TestcaseEvent_choice_testcaseStarted_default_coding;
extern const XERdescriptor_t TestcaseType_name_xer_;
extern const TTCN_Typedescriptor_t TestcaseType_name_descr_;
extern UNIVERSAL_CHARSTRING TestcaseType_name_default_coding;
extern const XERdescriptor_t Verdict_xer_;
extern const TTCN_Typedescriptor_t Verdict_descr_;
extern UNIVERSAL_CHARSTRING Verdict_default_coding;
extern const XERdescriptor_t TestcaseType_verdict_xer_;
extern const TTCN_Typedescriptor_t TestcaseType_verdict_descr_;
extern UNIVERSAL_CHARSTRING TestcaseType_verdict_default_coding;
extern const XERdescriptor_t TestcaseType_reason_xer_;
extern const TTCN_Typedescriptor_t TestcaseType_reason_descr_;
extern UNIVERSAL_CHARSTRING TestcaseType_reason_default_coding;
extern const XERdescriptor_t TestcaseType_xer_;
extern const TTCN_Typedescriptor_t TestcaseType_descr_;
extern UNIVERSAL_CHARSTRING TestcaseType_default_coding;
extern const XERdescriptor_t TestcaseEvent_choice_testcaseFinished_xer_;
extern const TTCN_Typedescriptor_t TestcaseEvent_choice_testcaseFinished_descr_;
extern UNIVERSAL_CHARSTRING TestcaseEvent_choice_testcaseFinished_default_coding;
extern UNIVERSAL_CHARSTRING TestcaseEvent_choice_default_coding;
extern const XERdescriptor_t TestcaseEvent_xer_;
extern const TTCN_Typedescriptor_t TestcaseEvent_descr_;
extern UNIVERSAL_CHARSTRING TestcaseEvent_default_coding;
extern const XERdescriptor_t LogEventType_choice_testcaseOp_xer_;
extern const TTCN_Typedescriptor_t LogEventType_choice_testcaseOp_descr_;
extern UNIVERSAL_CHARSTRING LogEventType_choice_testcaseOp_default_coding;
extern const XERdescriptor_t PortEvent_choice_xer_;
extern const TTCN_Typedescriptor_t PortEvent_choice_descr_;
extern const XERdescriptor_t Port__Queue_operation_xer_;
extern const TTCN_Typedescriptor_t Port__Queue_operation_descr_;
extern UNIVERSAL_CHARSTRING Port__Queue_operation_default_coding;
extern const XERdescriptor_t Port__Queue_port__name_xer_;
extern const TTCN_Typedescriptor_t Port__Queue_port__name_descr_;
extern UNIVERSAL_CHARSTRING Port__Queue_port__name_default_coding;
extern const XERdescriptor_t Port__Queue_compref_xer_;
extern const TTCN_Typedescriptor_t Port__Queue_compref_descr_;
extern UNIVERSAL_CHARSTRING Port__Queue_compref_default_coding;
extern const XERdescriptor_t Port__Queue_msgid_xer_;
extern const TTCN_Typedescriptor_t Port__Queue_msgid_descr_;
extern UNIVERSAL_CHARSTRING Port__Queue_msgid_default_coding;
extern const XERdescriptor_t Port__Queue_address___xer_;
extern const TTCN_Typedescriptor_t Port__Queue_address___descr_;
extern UNIVERSAL_CHARSTRING Port__Queue_address___default_coding;
extern const XERdescriptor_t Port__Queue_param___xer_;
extern const TTCN_Typedescriptor_t Port__Queue_param___descr_;
extern UNIVERSAL_CHARSTRING Port__Queue_param___default_coding;
extern const XERdescriptor_t Port__Queue_xer_;
extern const TTCN_Typedescriptor_t Port__Queue_descr_;
extern UNIVERSAL_CHARSTRING Port__Queue_default_coding;
extern const XERdescriptor_t PortEvent_choice_portQueue_xer_;
extern const TTCN_Typedescriptor_t PortEvent_choice_portQueue_descr_;
extern UNIVERSAL_CHARSTRING PortEvent_choice_portQueue_default_coding;
extern const XERdescriptor_t Port__State_operation_xer_;
extern const TTCN_Typedescriptor_t Port__State_operation_descr_;
extern UNIVERSAL_CHARSTRING Port__State_operation_default_coding;
extern const XERdescriptor_t Port__State_port__name_xer_;
extern const TTCN_Typedescriptor_t Port__State_port__name_descr_;
extern UNIVERSAL_CHARSTRING Port__State_port__name_default_coding;
extern const XERdescriptor_t Port__State_xer_;
extern const TTCN_Typedescriptor_t Port__State_descr_;
extern UNIVERSAL_CHARSTRING Port__State_default_coding;
extern const XERdescriptor_t PortEvent_choice_portState_xer_;
extern const TTCN_Typedescriptor_t PortEvent_choice_portState_descr_;
extern UNIVERSAL_CHARSTRING PortEvent_choice_portState_default_coding;
extern const XERdescriptor_t Proc__port__out_port__name_xer_;
extern const TTCN_Typedescriptor_t Proc__port__out_port__name_descr_;
extern UNIVERSAL_CHARSTRING Proc__port__out_port__name_default_coding;
extern const XERdescriptor_t Port__oper_xer_;
extern const TTCN_Typedescriptor_t Port__oper_descr_;
extern UNIVERSAL_CHARSTRING Port__oper_default_coding;
extern const XERdescriptor_t Proc__port__out_operation_xer_;
extern const TTCN_Typedescriptor_t Proc__port__out_operation_descr_;
extern UNIVERSAL_CHARSTRING Proc__port__out_operation_default_coding;
extern const XERdescriptor_t Proc__port__out_compref_xer_;
extern const TTCN_Typedescriptor_t Proc__port__out_compref_descr_;
extern UNIVERSAL_CHARSTRING Proc__port__out_compref_default_coding;
extern const XERdescriptor_t Proc__port__out_sys__name_xer_;
extern const TTCN_Typedescriptor_t Proc__port__out_sys__name_descr_;
extern UNIVERSAL_CHARSTRING Proc__port__out_sys__name_default_coding;
extern const XERdescriptor_t Proc__port__out_parameter_xer_;
extern const TTCN_Typedescriptor_t Proc__port__out_parameter_descr_;
extern UNIVERSAL_CHARSTRING Proc__port__out_parameter_default_coding;
extern const XERdescriptor_t Proc__port__out_xer_;
extern const TTCN_Typedescriptor_t Proc__port__out_descr_;
extern UNIVERSAL_CHARSTRING Proc__port__out_default_coding;
extern const XERdescriptor_t PortEvent_choice_procPortSend_xer_;
extern const TTCN_Typedescriptor_t PortEvent_choice_procPortSend_descr_;
extern UNIVERSAL_CHARSTRING PortEvent_choice_procPortSend_default_coding;
extern const XERdescriptor_t Proc__port__in_port__name_xer_;
extern const TTCN_Typedescriptor_t Proc__port__in_port__name_descr_;
extern UNIVERSAL_CHARSTRING Proc__port__in_port__name_default_coding;
extern const XERdescriptor_t Proc__port__in_operation_xer_;
extern const TTCN_Typedescriptor_t Proc__port__in_operation_descr_;
extern UNIVERSAL_CHARSTRING Proc__port__in_operation_default_coding;
extern const XERdescriptor_t Proc__port__in_compref_xer_;
extern const TTCN_Typedescriptor_t Proc__port__in_compref_descr_;
extern UNIVERSAL_CHARSTRING Proc__port__in_compref_default_coding;
extern const XERdescriptor_t Proc__port__in_check___xer_;
extern const TTCN_OERdescriptor_t Proc__port__in_check___oer_;
extern const TTCN_Typedescriptor_t Proc__port__in_check___descr_;
extern UNIVERSAL_CHARSTRING Proc__port__in_check___default_coding;
extern const XERdescriptor_t Proc__port__in_parameter_xer_;
extern const TTCN_Typedescriptor_t Proc__port__in_parameter_descr_;
extern UNIVERSAL_CHARSTRING Proc__port__in_parameter_default_coding;
extern const XERdescriptor_t Proc__port__in_msgid_xer_;
extern const TTCN_Typedescriptor_t Proc__port__in_msgid_descr_;
extern UNIVERSAL_CHARSTRING Proc__port__in_msgid_default_coding;
extern const XERdescriptor_t Proc__port__in_xer_;
extern const TTCN_Typedescriptor_t Proc__port__in_descr_;
extern UNIVERSAL_CHARSTRING Proc__port__in_default_coding;
extern const XERdescriptor_t PortEvent_choice_procPortRecv_xer_;
extern const TTCN_Typedescriptor_t PortEvent_choice_procPortRecv_descr_;
extern UNIVERSAL_CHARSTRING PortEvent_choice_procPortRecv_default_coding;
extern const XERdescriptor_t Msg__port__send_port__name_xer_;
extern const TTCN_Typedescriptor_t Msg__port__send_port__name_descr_;
extern UNIVERSAL_CHARSTRING Msg__port__send_port__name_default_coding;
extern const XERdescriptor_t Msg__port__send_compref_xer_;
extern const TTCN_Typedescriptor_t Msg__port__send_compref_descr_;
extern UNIVERSAL_CHARSTRING Msg__port__send_compref_default_coding;
extern const XERdescriptor_t Msg__port__send_parameter_xer_;
extern const TTCN_Typedescriptor_t Msg__port__send_parameter_descr_;
extern UNIVERSAL_CHARSTRING Msg__port__send_parameter_default_coding;
extern const XERdescriptor_t Msg__port__send_xer_;
extern const TTCN_Typedescriptor_t Msg__port__send_descr_;
extern UNIVERSAL_CHARSTRING Msg__port__send_default_coding;
extern const XERdescriptor_t PortEvent_choice_msgPortSend_xer_;
extern const TTCN_Typedescriptor_t PortEvent_choice_msgPortSend_descr_;
extern UNIVERSAL_CHARSTRING PortEvent_choice_msgPortSend_default_coding;
extern const XERdescriptor_t Msg__port__recv_port__name_xer_;
extern const TTCN_Typedescriptor_t Msg__port__recv_port__name_descr_;
extern UNIVERSAL_CHARSTRING Msg__port__recv_port__name_default_coding;
extern const XERdescriptor_t Msg__port__recv_operation_xer_;
extern const TTCN_Typedescriptor_t Msg__port__recv_operation_descr_;
extern UNIVERSAL_CHARSTRING Msg__port__recv_operation_default_coding;
extern const XERdescriptor_t Msg__port__recv_compref_xer_;
extern const TTCN_Typedescriptor_t Msg__port__recv_compref_descr_;
extern UNIVERSAL_CHARSTRING Msg__port__recv_compref_default_coding;
extern const XERdescriptor_t Msg__port__recv_sys__name_xer_;
extern const TTCN_Typedescriptor_t Msg__port__recv_sys__name_descr_;
extern UNIVERSAL_CHARSTRING Msg__port__recv_sys__name_default_coding;
extern const XERdescriptor_t Msg__port__recv_parameter_xer_;
extern const TTCN_Typedescriptor_t Msg__port__recv_parameter_descr_;
extern UNIVERSAL_CHARSTRING Msg__port__recv_parameter_default_coding;
extern const XERdescriptor_t Msg__port__recv_msgid_xer_;
extern const TTCN_Typedescriptor_t Msg__port__recv_msgid_descr_;
extern UNIVERSAL_CHARSTRING Msg__port__recv_msgid_default_coding;
extern const XERdescriptor_t Msg__port__recv_xer_;
extern const TTCN_Typedescriptor_t Msg__port__recv_descr_;
extern UNIVERSAL_CHARSTRING Msg__port__recv_default_coding;
extern const XERdescriptor_t PortEvent_choice_msgPortRecv_xer_;
extern const TTCN_Typedescriptor_t PortEvent_choice_msgPortRecv_descr_;
extern UNIVERSAL_CHARSTRING PortEvent_choice_msgPortRecv_default_coding;
extern const XERdescriptor_t Dualface__mapped_incoming_xer_;
extern const TTCN_OERdescriptor_t Dualface__mapped_incoming_oer_;
extern const TTCN_Typedescriptor_t Dualface__mapped_incoming_descr_;
extern UNIVERSAL_CHARSTRING Dualface__mapped_incoming_default_coding;
extern const XERdescriptor_t Dualface__mapped_target__type_xer_;
extern const TTCN_Typedescriptor_t Dualface__mapped_target__type_descr_;
extern UNIVERSAL_CHARSTRING Dualface__mapped_target__type_default_coding;
extern const XERdescriptor_t Dualface__mapped_value___xer_;
extern const TTCN_Typedescriptor_t Dualface__mapped_value___descr_;
extern UNIVERSAL_CHARSTRING Dualface__mapped_value___default_coding;
extern const XERdescriptor_t Dualface__mapped_msgid_xer_;
extern const TTCN_Typedescriptor_t Dualface__mapped_msgid_descr_;
extern UNIVERSAL_CHARSTRING Dualface__mapped_msgid_default_coding;
extern const XERdescriptor_t Dualface__mapped_xer_;
extern const TTCN_Typedescriptor_t Dualface__mapped_descr_;
extern UNIVERSAL_CHARSTRING Dualface__mapped_default_coding;
extern const XERdescriptor_t PortEvent_choice_dualMapped_xer_;
extern const TTCN_Typedescriptor_t PortEvent_choice_dualMapped_descr_;
extern UNIVERSAL_CHARSTRING PortEvent_choice_dualMapped_default_coding;
extern const XERdescriptor_t Dualface__discard_incoming_xer_;
extern const TTCN_OERdescriptor_t Dualface__discard_incoming_oer_;
extern const TTCN_Typedescriptor_t Dualface__discard_incoming_descr_;
extern UNIVERSAL_CHARSTRING Dualface__discard_incoming_default_coding;
extern const XERdescriptor_t Dualface__discard_target__type_xer_;
extern const TTCN_Typedescriptor_t Dualface__discard_target__type_descr_;
extern UNIVERSAL_CHARSTRING Dualface__discard_target__type_default_coding;
extern const XERdescriptor_t Dualface__discard_port__name_xer_;
extern const TTCN_Typedescriptor_t Dualface__discard_port__name_descr_;
extern UNIVERSAL_CHARSTRING Dualface__discard_port__name_default_coding;
extern const XERdescriptor_t Dualface__discard_unhandled_xer_;
extern const TTCN_OERdescriptor_t Dualface__discard_unhandled_oer_;
extern const TTCN_Typedescriptor_t Dualface__discard_unhandled_descr_;
extern UNIVERSAL_CHARSTRING Dualface__discard_unhandled_default_coding;
extern const XERdescriptor_t Dualface__discard_xer_;
extern const TTCN_Typedescriptor_t Dualface__discard_descr_;
extern UNIVERSAL_CHARSTRING Dualface__discard_default_coding;
extern const XERdescriptor_t PortEvent_choice_dualDiscard_xer_;
extern const TTCN_Typedescriptor_t PortEvent_choice_dualDiscard_descr_;
extern UNIVERSAL_CHARSTRING PortEvent_choice_dualDiscard_default_coding;
extern const XERdescriptor_t Setstate_port__name_xer_;
extern const TTCN_Typedescriptor_t Setstate_port__name_descr_;
extern UNIVERSAL_CHARSTRING Setstate_port__name_default_coding;
extern const XERdescriptor_t Setstate_state_xer_;
extern const TTCN_Typedescriptor_t Setstate_state_descr_;
extern UNIVERSAL_CHARSTRING Setstate_state_default_coding;
extern const XERdescriptor_t Setstate_info_xer_;
extern const TTCN_Typedescriptor_t Setstate_info_descr_;
extern UNIVERSAL_CHARSTRING Setstate_info_default_coding;
extern const XERdescriptor_t Setstate_xer_;
extern const TTCN_Typedescriptor_t Setstate_descr_;
extern UNIVERSAL_CHARSTRING Setstate_default_coding;
extern const XERdescriptor_t PortEvent_choice_setState_xer_;
extern const TTCN_Typedescriptor_t PortEvent_choice_setState_descr_;
extern UNIVERSAL_CHARSTRING PortEvent_choice_setState_default_coding;
extern const XERdescriptor_t Port__Misc_reason_xer_;
extern const TTCN_Typedescriptor_t Port__Misc_reason_descr_;
extern UNIVERSAL_CHARSTRING Port__Misc_reason_default_coding;
extern const XERdescriptor_t Port__Misc_port__name_xer_;
extern const TTCN_Typedescriptor_t Port__Misc_port__name_descr_;
extern UNIVERSAL_CHARSTRING Port__Misc_port__name_default_coding;
extern const XERdescriptor_t Port__Misc_remote__component_xer_;
extern const TTCN_Typedescriptor_t Port__Misc_remote__component_descr_;
extern UNIVERSAL_CHARSTRING Port__Misc_remote__component_default_coding;
extern const XERdescriptor_t Port__Misc_remote__port_xer_;
extern const TTCN_Typedescriptor_t Port__Misc_remote__port_descr_;
extern UNIVERSAL_CHARSTRING Port__Misc_remote__port_default_coding;
extern const XERdescriptor_t Port__Misc_ip__address_xer_;
extern const TTCN_Typedescriptor_t Port__Misc_ip__address_descr_;
extern UNIVERSAL_CHARSTRING Port__Misc_ip__address_default_coding;
extern const XERdescriptor_t Port__Misc_tcp__port_xer_;
extern const TTCN_Typedescriptor_t Port__Misc_tcp__port_descr_;
extern UNIVERSAL_CHARSTRING Port__Misc_tcp__port_default_coding;
extern const XERdescriptor_t Port__Misc_new__size_xer_;
extern const TTCN_Typedescriptor_t Port__Misc_new__size_descr_;
extern UNIVERSAL_CHARSTRING Port__Misc_new__size_default_coding;
extern const XERdescriptor_t Port__Misc_xer_;
extern const TTCN_Typedescriptor_t Port__Misc_descr_;
extern UNIVERSAL_CHARSTRING Port__Misc_default_coding;
extern const XERdescriptor_t PortEvent_choice_portMisc_xer_;
extern const TTCN_Typedescriptor_t PortEvent_choice_portMisc_descr_;
extern UNIVERSAL_CHARSTRING PortEvent_choice_portMisc_default_coding;
extern UNIVERSAL_CHARSTRING PortEvent_choice_default_coding;
extern const XERdescriptor_t PortEvent_xer_;
extern const TTCN_Typedescriptor_t PortEvent_descr_;
extern UNIVERSAL_CHARSTRING PortEvent_default_coding;
extern const XERdescriptor_t LogEventType_choice_portEvent_xer_;
extern const TTCN_Typedescriptor_t LogEventType_choice_portEvent_descr_;
extern UNIVERSAL_CHARSTRING LogEventType_choice_portEvent_default_coding;
extern const XERdescriptor_t StatisticsType_choice_xer_;
extern const TTCN_Typedescriptor_t StatisticsType_choice_descr_;
extern const XERdescriptor_t StatisticsType_choice_verdictStatistics_none___xer_;
extern const TTCN_Typedescriptor_t StatisticsType_choice_verdictStatistics_none___descr_;
extern UNIVERSAL_CHARSTRING StatisticsType_choice_verdictStatistics_none___default_coding;
extern const XERdescriptor_t StatisticsType_choice_verdictStatistics_nonePercent_xer_;
extern const TTCN_OERdescriptor_t StatisticsType_choice_verdictStatistics_nonePercent_oer_;
extern const TTCN_Typedescriptor_t StatisticsType_choice_verdictStatistics_nonePercent_descr_;
extern UNIVERSAL_CHARSTRING StatisticsType_choice_verdictStatistics_nonePercent_default_coding;
extern const XERdescriptor_t StatisticsType_choice_verdictStatistics_pass___xer_;
extern const TTCN_Typedescriptor_t StatisticsType_choice_verdictStatistics_pass___descr_;
extern UNIVERSAL_CHARSTRING StatisticsType_choice_verdictStatistics_pass___default_coding;
extern const XERdescriptor_t StatisticsType_choice_verdictStatistics_passPercent_xer_;
extern const TTCN_OERdescriptor_t StatisticsType_choice_verdictStatistics_passPercent_oer_;
extern const TTCN_Typedescriptor_t StatisticsType_choice_verdictStatistics_passPercent_descr_;
extern UNIVERSAL_CHARSTRING StatisticsType_choice_verdictStatistics_passPercent_default_coding;
extern const XERdescriptor_t StatisticsType_choice_verdictStatistics_inconc___xer_;
extern const TTCN_Typedescriptor_t StatisticsType_choice_verdictStatistics_inconc___descr_;
extern UNIVERSAL_CHARSTRING StatisticsType_choice_verdictStatistics_inconc___default_coding;
extern const XERdescriptor_t StatisticsType_choice_verdictStatistics_inconcPercent_xer_;
extern const TTCN_OERdescriptor_t StatisticsType_choice_verdictStatistics_inconcPercent_oer_;
extern const TTCN_Typedescriptor_t StatisticsType_choice_verdictStatistics_inconcPercent_descr_;
extern UNIVERSAL_CHARSTRING StatisticsType_choice_verdictStatistics_inconcPercent_default_coding;
extern const XERdescriptor_t StatisticsType_choice_verdictStatistics_fail___xer_;
extern const TTCN_Typedescriptor_t StatisticsType_choice_verdictStatistics_fail___descr_;
extern UNIVERSAL_CHARSTRING StatisticsType_choice_verdictStatistics_fail___default_coding;
extern const XERdescriptor_t StatisticsType_choice_verdictStatistics_failPercent_xer_;
extern const TTCN_OERdescriptor_t StatisticsType_choice_verdictStatistics_failPercent_oer_;
extern const TTCN_Typedescriptor_t StatisticsType_choice_verdictStatistics_failPercent_descr_;
extern UNIVERSAL_CHARSTRING StatisticsType_choice_verdictStatistics_failPercent_default_coding;
extern const XERdescriptor_t StatisticsType_choice_verdictStatistics_error___xer_;
extern const TTCN_Typedescriptor_t StatisticsType_choice_verdictStatistics_error___descr_;
extern UNIVERSAL_CHARSTRING StatisticsType_choice_verdictStatistics_error___default_coding;
extern const XERdescriptor_t StatisticsType_choice_verdictStatistics_errorPercent_xer_;
extern const TTCN_OERdescriptor_t StatisticsType_choice_verdictStatistics_errorPercent_oer_;
extern const TTCN_Typedescriptor_t StatisticsType_choice_verdictStatistics_errorPercent_descr_;
extern UNIVERSAL_CHARSTRING StatisticsType_choice_verdictStatistics_errorPercent_default_coding;
extern const XERdescriptor_t StatisticsType_choice_verdictStatistics_xer_;
extern const TTCN_Typedescriptor_t StatisticsType_choice_verdictStatistics_descr_;
extern UNIVERSAL_CHARSTRING StatisticsType_choice_verdictStatistics_default_coding;
extern const XERdescriptor_t StatisticsType_choice_controlpartStart_xer_;
extern const TTCN_Typedescriptor_t StatisticsType_choice_controlpartStart_descr_;
extern UNIVERSAL_CHARSTRING StatisticsType_choice_controlpartStart_default_coding;
extern const XERdescriptor_t StatisticsType_choice_controlpartFinish_xer_;
extern const TTCN_Typedescriptor_t StatisticsType_choice_controlpartFinish_descr_;
extern UNIVERSAL_CHARSTRING StatisticsType_choice_controlpartFinish_default_coding;
extern const XERdescriptor_t StatisticsType_choice_controlpartErrors_xer_;
extern const TTCN_Typedescriptor_t StatisticsType_choice_controlpartErrors_descr_;
extern UNIVERSAL_CHARSTRING StatisticsType_choice_controlpartErrors_default_coding;
extern UNIVERSAL_CHARSTRING StatisticsType_choice_default_coding;
extern const XERdescriptor_t StatisticsType_xer_;
extern const TTCN_Typedescriptor_t StatisticsType_descr_;
extern UNIVERSAL_CHARSTRING StatisticsType_default_coding;
extern const XERdescriptor_t LogEventType_choice_statistics_xer_;
extern const TTCN_Typedescriptor_t LogEventType_choice_statistics_descr_;
extern UNIVERSAL_CHARSTRING LogEventType_choice_statistics_default_coding;
extern const XERdescriptor_t TimerEvent_choice_xer_;
extern const TTCN_Typedescriptor_t TimerEvent_choice_descr_;
extern const XERdescriptor_t TimerType_name_xer_;
extern const TTCN_Typedescriptor_t TimerType_name_descr_;
extern UNIVERSAL_CHARSTRING TimerType_name_default_coding;
extern const XERdescriptor_t TimerType_value___xer_;
extern const TTCN_OERdescriptor_t TimerType_value___oer_;
extern const TTCN_Typedescriptor_t TimerType_value___descr_;
extern UNIVERSAL_CHARSTRING TimerType_value___default_coding;
extern const XERdescriptor_t TimerType_xer_;
extern const TTCN_Typedescriptor_t TimerType_descr_;
extern UNIVERSAL_CHARSTRING TimerType_default_coding;
extern const XERdescriptor_t TimerEvent_choice_readTimer_xer_;
extern const TTCN_Typedescriptor_t TimerEvent_choice_readTimer_descr_;
extern UNIVERSAL_CHARSTRING TimerEvent_choice_readTimer_default_coding;
extern const XERdescriptor_t TimerEvent_choice_startTimer_xer_;
extern const TTCN_Typedescriptor_t TimerEvent_choice_startTimer_descr_;
extern UNIVERSAL_CHARSTRING TimerEvent_choice_startTimer_default_coding;
extern const XERdescriptor_t TimerGuardType_value___xer_;
extern const TTCN_OERdescriptor_t TimerGuardType_value___oer_;
extern const TTCN_Typedescriptor_t TimerGuardType_value___descr_;
extern UNIVERSAL_CHARSTRING TimerGuardType_value___default_coding;
extern const XERdescriptor_t TimerGuardType_xer_;
extern const TTCN_Typedescriptor_t TimerGuardType_descr_;
extern UNIVERSAL_CHARSTRING TimerGuardType_default_coding;
extern const XERdescriptor_t TimerEvent_choice_guardTimer_xer_;
extern const TTCN_Typedescriptor_t TimerEvent_choice_guardTimer_descr_;
extern UNIVERSAL_CHARSTRING TimerEvent_choice_guardTimer_default_coding;
extern const XERdescriptor_t TimerEvent_choice_stopTimer_xer_;
extern const TTCN_Typedescriptor_t TimerEvent_choice_stopTimer_descr_;
extern UNIVERSAL_CHARSTRING TimerEvent_choice_stopTimer_default_coding;
extern const XERdescriptor_t TimerEvent_choice_timeoutTimer_xer_;
extern const TTCN_Typedescriptor_t TimerEvent_choice_timeoutTimer_descr_;
extern UNIVERSAL_CHARSTRING TimerEvent_choice_timeoutTimer_default_coding;
extern const XERdescriptor_t TimerAnyTimeoutType_xer_;
extern const TTCN_Typedescriptor_t TimerAnyTimeoutType_descr_;
extern UNIVERSAL_CHARSTRING TimerAnyTimeoutType_default_coding;
extern const XERdescriptor_t TimerEvent_choice_timeoutAnyTimer_xer_;
extern const TTCN_Typedescriptor_t TimerEvent_choice_timeoutAnyTimer_descr_;
extern UNIVERSAL_CHARSTRING TimerEvent_choice_timeoutAnyTimer_default_coding;
extern const XERdescriptor_t TimerEvent_choice_unqualifiedTimer_xer_;
extern const TTCN_Typedescriptor_t TimerEvent_choice_unqualifiedTimer_descr_;
extern UNIVERSAL_CHARSTRING TimerEvent_choice_unqualifiedTimer_default_coding;
extern UNIVERSAL_CHARSTRING TimerEvent_choice_default_coding;
extern const XERdescriptor_t TimerEvent_xer_;
extern const TTCN_Typedescriptor_t TimerEvent_descr_;
extern UNIVERSAL_CHARSTRING TimerEvent_default_coding;
extern const XERdescriptor_t LogEventType_choice_timerEvent_xer_;
extern const TTCN_Typedescriptor_t LogEventType_choice_timerEvent_descr_;
extern UNIVERSAL_CHARSTRING LogEventType_choice_timerEvent_default_coding;
extern const XERdescriptor_t LogEventType_choice_userLog_xer_;
extern const TTCN_Typedescriptor_t LogEventType_choice_userLog_descr_;
extern UNIVERSAL_CHARSTRING LogEventType_choice_userLog_default_coding;
extern const XERdescriptor_t VerdictOp_choice_xer_;
extern const TTCN_Typedescriptor_t VerdictOp_choice_descr_;
extern const XERdescriptor_t SetVerdictType_newVerdict_xer_;
extern const TTCN_Typedescriptor_t SetVerdictType_newVerdict_descr_;
extern UNIVERSAL_CHARSTRING SetVerdictType_newVerdict_default_coding;
extern const XERdescriptor_t SetVerdictType_oldVerdict_xer_;
extern const TTCN_Typedescriptor_t SetVerdictType_oldVerdict_descr_;
extern UNIVERSAL_CHARSTRING SetVerdictType_oldVerdict_default_coding;
extern const XERdescriptor_t SetVerdictType_localVerdict_xer_;
extern const TTCN_Typedescriptor_t SetVerdictType_localVerdict_descr_;
extern UNIVERSAL_CHARSTRING SetVerdictType_localVerdict_default_coding;
extern const XERdescriptor_t SetVerdictType_xer_;
extern const TTCN_Typedescriptor_t SetVerdictType_descr_;
extern const XERdescriptor_t SetVerdictType_oldReason_xer_;
extern const TTCN_Typedescriptor_t SetVerdictType_oldReason_descr_;
extern UNIVERSAL_CHARSTRING SetVerdictType_oldReason_default_coding;
extern const XERdescriptor_t SetVerdictType_newReason_xer_;
extern const TTCN_Typedescriptor_t SetVerdictType_newReason_descr_;
extern UNIVERSAL_CHARSTRING SetVerdictType_newReason_default_coding;
extern UNIVERSAL_CHARSTRING SetVerdictType_default_coding;
extern const XERdescriptor_t VerdictOp_choice_setVerdict_xer_;
extern const TTCN_Typedescriptor_t VerdictOp_choice_setVerdict_descr_;
extern UNIVERSAL_CHARSTRING VerdictOp_choice_setVerdict_default_coding;
extern const XERdescriptor_t VerdictOp_choice_getVerdict_xer_;
extern const TTCN_Typedescriptor_t VerdictOp_choice_getVerdict_descr_;
extern UNIVERSAL_CHARSTRING VerdictOp_choice_getVerdict_default_coding;
extern const XERdescriptor_t FinalVerdictType_choice_xer_;
extern const TTCN_Typedescriptor_t FinalVerdictType_choice_descr_;
extern const XERdescriptor_t FinalVerdictInfo_is__ptc_xer_;
extern const TTCN_OERdescriptor_t FinalVerdictInfo_is__ptc_oer_;
extern const TTCN_Typedescriptor_t FinalVerdictInfo_is__ptc_descr_;
extern UNIVERSAL_CHARSTRING FinalVerdictInfo_is__ptc_default_coding;
extern const XERdescriptor_t FinalVerdictInfo_ptc__verdict_xer_;
extern const TTCN_Typedescriptor_t FinalVerdictInfo_ptc__verdict_descr_;
extern UNIVERSAL_CHARSTRING FinalVerdictInfo_ptc__verdict_default_coding;
extern const XERdescriptor_t FinalVerdictInfo_local__verdict_xer_;
extern const TTCN_Typedescriptor_t FinalVerdictInfo_local__verdict_descr_;
extern UNIVERSAL_CHARSTRING FinalVerdictInfo_local__verdict_default_coding;
extern const XERdescriptor_t FinalVerdictInfo_new__verdict_xer_;
extern const TTCN_Typedescriptor_t FinalVerdictInfo_new__verdict_descr_;
extern UNIVERSAL_CHARSTRING FinalVerdictInfo_new__verdict_default_coding;
extern const XERdescriptor_t FinalVerdictInfo_xer_;
extern const TTCN_Typedescriptor_t FinalVerdictInfo_descr_;
extern const XERdescriptor_t FinalVerdictInfo_verdict__reason_xer_;
extern const TTCN_Typedescriptor_t FinalVerdictInfo_verdict__reason_descr_;
extern UNIVERSAL_CHARSTRING FinalVerdictInfo_verdict__reason_default_coding;
extern const XERdescriptor_t FinalVerdictInfo_ptc__compref_xer_;
extern const TTCN_Typedescriptor_t FinalVerdictInfo_ptc__compref_descr_;
extern UNIVERSAL_CHARSTRING FinalVerdictInfo_ptc__compref_default_coding;
extern const XERdescriptor_t FinalVerdictInfo_ptc__name_xer_;
extern const TTCN_Typedescriptor_t FinalVerdictInfo_ptc__name_descr_;
extern UNIVERSAL_CHARSTRING FinalVerdictInfo_ptc__name_default_coding;
extern UNIVERSAL_CHARSTRING FinalVerdictInfo_default_coding;
extern const XERdescriptor_t FinalVerdictType_choice_info_xer_;
extern const TTCN_Typedescriptor_t FinalVerdictType_choice_info_descr_;
extern UNIVERSAL_CHARSTRING FinalVerdictType_choice_info_default_coding;
extern const XERdescriptor_t FinalVerdictType_choice_notification_xer_;
extern const TTCN_Typedescriptor_t FinalVerdictType_choice_notification_descr_;
extern UNIVERSAL_CHARSTRING FinalVerdictType_choice_notification_default_coding;
extern UNIVERSAL_CHARSTRING FinalVerdictType_choice_default_coding;
extern const XERdescriptor_t FinalVerdictType_xer_;
extern const TTCN_Typedescriptor_t FinalVerdictType_descr_;
extern UNIVERSAL_CHARSTRING FinalVerdictType_default_coding;
extern const XERdescriptor_t VerdictOp_choice_finalVerdict_xer_;
extern const TTCN_Typedescriptor_t VerdictOp_choice_finalVerdict_descr_;
extern UNIVERSAL_CHARSTRING VerdictOp_choice_finalVerdict_default_coding;
extern UNIVERSAL_CHARSTRING VerdictOp_choice_default_coding;
extern const XERdescriptor_t VerdictOp_xer_;
extern const TTCN_Typedescriptor_t VerdictOp_descr_;
extern UNIVERSAL_CHARSTRING VerdictOp_default_coding;
extern const XERdescriptor_t LogEventType_choice_verdictOp_xer_;
extern const TTCN_Typedescriptor_t LogEventType_choice_verdictOp_descr_;
extern UNIVERSAL_CHARSTRING LogEventType_choice_verdictOp_default_coding;
extern const XERdescriptor_t LogEventType_choice_warningLog_xer_;
extern const TTCN_Typedescriptor_t LogEventType_choice_warningLog_descr_;
extern UNIVERSAL_CHARSTRING LogEventType_choice_warningLog_default_coding;
extern const XERdescriptor_t MatchingEvent_choice_xer_;
extern const TTCN_Typedescriptor_t MatchingEvent_choice_descr_;
extern const XERdescriptor_t MatchingDoneType_reason_xer_;
extern const TTCN_Typedescriptor_t MatchingDoneType_reason_descr_;
extern UNIVERSAL_CHARSTRING MatchingDoneType_reason_default_coding;
extern const XERdescriptor_t MatchingDoneType_type___xer_;
extern const TTCN_Typedescriptor_t MatchingDoneType_type___descr_;
extern UNIVERSAL_CHARSTRING MatchingDoneType_type___default_coding;
extern const XERdescriptor_t MatchingDoneType_ptc_xer_;
extern const TTCN_Typedescriptor_t MatchingDoneType_ptc_descr_;
extern UNIVERSAL_CHARSTRING MatchingDoneType_ptc_default_coding;
extern const XERdescriptor_t MatchingDoneType_return__type_xer_;
extern const TTCN_Typedescriptor_t MatchingDoneType_return__type_descr_;
extern UNIVERSAL_CHARSTRING MatchingDoneType_return__type_default_coding;
extern const XERdescriptor_t MatchingDoneType_xer_;
extern const TTCN_Typedescriptor_t MatchingDoneType_descr_;
extern UNIVERSAL_CHARSTRING MatchingDoneType_default_coding;
extern const XERdescriptor_t MatchingEvent_choice_matchingDone_xer_;
extern const TTCN_Typedescriptor_t MatchingEvent_choice_matchingDone_descr_;
extern UNIVERSAL_CHARSTRING MatchingEvent_choice_matchingDone_default_coding;
extern const XERdescriptor_t PortType_xer_;
extern const TTCN_Typedescriptor_t PortType_descr_;
extern UNIVERSAL_CHARSTRING PortType_default_coding;
extern const XERdescriptor_t MatchingSuccessType_port__type_xer_;
extern const TTCN_Typedescriptor_t MatchingSuccessType_port__type_descr_;
extern UNIVERSAL_CHARSTRING MatchingSuccessType_port__type_default_coding;
extern const XERdescriptor_t MatchingSuccessType_port__name_xer_;
extern const TTCN_Typedescriptor_t MatchingSuccessType_port__name_descr_;
extern UNIVERSAL_CHARSTRING MatchingSuccessType_port__name_default_coding;
extern const XERdescriptor_t MatchingSuccessType_info_xer_;
extern const TTCN_Typedescriptor_t MatchingSuccessType_info_descr_;
extern UNIVERSAL_CHARSTRING MatchingSuccessType_info_default_coding;
extern const XERdescriptor_t MatchingSuccessType_xer_;
extern const TTCN_Typedescriptor_t MatchingSuccessType_descr_;
extern UNIVERSAL_CHARSTRING MatchingSuccessType_default_coding;
extern const XERdescriptor_t MatchingEvent_choice_matchingSuccess_xer_;
extern const TTCN_Typedescriptor_t MatchingEvent_choice_matchingSuccess_descr_;
extern UNIVERSAL_CHARSTRING MatchingEvent_choice_matchingSuccess_default_coding;
extern const XERdescriptor_t MatchingFailureType_port__type_xer_;
extern const TTCN_Typedescriptor_t MatchingFailureType_port__type_descr_;
extern UNIVERSAL_CHARSTRING MatchingFailureType_port__type_default_coding;
extern const XERdescriptor_t MatchingFailureType_port__name_xer_;
extern const TTCN_Typedescriptor_t MatchingFailureType_port__name_descr_;
extern UNIVERSAL_CHARSTRING MatchingFailureType_port__name_default_coding;
extern const XERdescriptor_t MatchingFailureType_choice_xer_;
extern const TTCN_Typedescriptor_t MatchingFailureType_choice_descr_;
extern const XERdescriptor_t MatchingFailureType_choice_system___xer_;
extern const TTCN_Typedescriptor_t MatchingFailureType_choice_system___descr_;
extern UNIVERSAL_CHARSTRING MatchingFailureType_choice_system___default_coding;
extern const XERdescriptor_t MatchingFailureType_choice_compref_xer_;
extern const TTCN_Typedescriptor_t MatchingFailureType_choice_compref_descr_;
extern UNIVERSAL_CHARSTRING MatchingFailureType_choice_compref_default_coding;
extern UNIVERSAL_CHARSTRING MatchingFailureType_choice_default_coding;
extern const XERdescriptor_t MatchingFailureType_reason_xer_;
extern const TTCN_Typedescriptor_t MatchingFailureType_reason_descr_;
extern UNIVERSAL_CHARSTRING MatchingFailureType_reason_default_coding;
extern const XERdescriptor_t MatchingFailureType_info_xer_;
extern const TTCN_Typedescriptor_t MatchingFailureType_info_descr_;
extern UNIVERSAL_CHARSTRING MatchingFailureType_info_default_coding;
extern const XERdescriptor_t MatchingFailureType_xer_;
extern const TTCN_Typedescriptor_t MatchingFailureType_descr_;
extern UNIVERSAL_CHARSTRING MatchingFailureType_default_coding;
extern const XERdescriptor_t MatchingEvent_choice_matchingFailure_xer_;
extern const TTCN_Typedescriptor_t MatchingEvent_choice_matchingFailure_descr_;
extern UNIVERSAL_CHARSTRING MatchingEvent_choice_matchingFailure_default_coding;
extern const XERdescriptor_t MatchingProblemType_port__name_xer_;
extern const TTCN_Typedescriptor_t MatchingProblemType_port__name_descr_;
extern UNIVERSAL_CHARSTRING MatchingProblemType_port__name_default_coding;
extern const XERdescriptor_t MatchingProblemType_reason_xer_;
extern const TTCN_Typedescriptor_t MatchingProblemType_reason_descr_;
extern UNIVERSAL_CHARSTRING MatchingProblemType_reason_default_coding;
extern const XERdescriptor_t MatchingProblemType_operation_xer_;
extern const TTCN_Typedescriptor_t MatchingProblemType_operation_descr_;
extern UNIVERSAL_CHARSTRING MatchingProblemType_operation_default_coding;
extern const XERdescriptor_t MatchingProblemType_check___xer_;
extern const TTCN_OERdescriptor_t MatchingProblemType_check___oer_;
extern const TTCN_Typedescriptor_t MatchingProblemType_check___descr_;
extern UNIVERSAL_CHARSTRING MatchingProblemType_check___default_coding;
extern const XERdescriptor_t MatchingProblemType_any__port_xer_;
extern const TTCN_OERdescriptor_t MatchingProblemType_any__port_oer_;
extern const TTCN_Typedescriptor_t MatchingProblemType_any__port_descr_;
extern UNIVERSAL_CHARSTRING MatchingProblemType_any__port_default_coding;
extern const XERdescriptor_t MatchingProblemType_xer_;
extern const TTCN_Typedescriptor_t MatchingProblemType_descr_;
extern UNIVERSAL_CHARSTRING MatchingProblemType_default_coding;
extern const XERdescriptor_t MatchingEvent_choice_matchingProblem_xer_;
extern const TTCN_Typedescriptor_t MatchingEvent_choice_matchingProblem_descr_;
extern UNIVERSAL_CHARSTRING MatchingEvent_choice_matchingProblem_default_coding;
extern const XERdescriptor_t MatchingTimeout_xer_;
extern const TTCN_Typedescriptor_t MatchingTimeout_descr_;
extern const XERdescriptor_t MatchingTimeout_timer__name_xer_;
extern const TTCN_Typedescriptor_t MatchingTimeout_timer__name_descr_;
extern UNIVERSAL_CHARSTRING MatchingTimeout_timer__name_default_coding;
extern UNIVERSAL_CHARSTRING MatchingTimeout_default_coding;
extern const XERdescriptor_t MatchingEvent_choice_matchingTimeout_xer_;
extern const TTCN_Typedescriptor_t MatchingEvent_choice_matchingTimeout_descr_;
extern UNIVERSAL_CHARSTRING MatchingEvent_choice_matchingTimeout_default_coding;
extern UNIVERSAL_CHARSTRING MatchingEvent_choice_default_coding;
extern const XERdescriptor_t MatchingEvent_xer_;
extern const TTCN_Typedescriptor_t MatchingEvent_descr_;
extern UNIVERSAL_CHARSTRING MatchingEvent_default_coding;
extern const XERdescriptor_t LogEventType_choice_matchingEvent_xer_;
extern const TTCN_Typedescriptor_t LogEventType_choice_matchingEvent_descr_;
extern UNIVERSAL_CHARSTRING LogEventType_choice_matchingEvent_default_coding;
extern const XERdescriptor_t LogEventType_choice_debugLog_xer_;
extern const TTCN_Typedescriptor_t LogEventType_choice_debugLog_descr_;
extern UNIVERSAL_CHARSTRING LogEventType_choice_debugLog_default_coding;
extern const XERdescriptor_t ExecutionSummaryType_numberOfTestcases_xer_;
extern const TTCN_Typedescriptor_t ExecutionSummaryType_numberOfTestcases_descr_;
extern UNIVERSAL_CHARSTRING ExecutionSummaryType_numberOfTestcases_default_coding;
extern const XERdescriptor_t ExecutionSummaryType_overallStatistics_xer_;
extern const TTCN_Typedescriptor_t ExecutionSummaryType_overallStatistics_descr_;
extern UNIVERSAL_CHARSTRING ExecutionSummaryType_overallStatistics_default_coding;
extern const XERdescriptor_t ExecutionSummaryType_xer_;
extern const TTCN_Typedescriptor_t ExecutionSummaryType_descr_;
extern UNIVERSAL_CHARSTRING ExecutionSummaryType_default_coding;
extern const XERdescriptor_t LogEventType_choice_executionSummary_xer_;
extern const TTCN_Typedescriptor_t LogEventType_choice_executionSummary_descr_;
extern UNIVERSAL_CHARSTRING LogEventType_choice_executionSummary_default_coding;
extern const XERdescriptor_t LogEventType_choice_unhandledEvent_xer_;
extern const TTCN_Typedescriptor_t LogEventType_choice_unhandledEvent_descr_;
extern UNIVERSAL_CHARSTRING LogEventType_choice_unhandledEvent_default_coding;
extern UNIVERSAL_CHARSTRING LogEventType_choice_default_coding;
extern const XERdescriptor_t LogEventType_xer_;
extern const TTCN_Typedescriptor_t LogEventType_descr_;
extern UNIVERSAL_CHARSTRING LogEventType_default_coding;
extern const XERdescriptor_t TitanLogEvent_logEvent_xer_;
extern const TTCN_Typedescriptor_t TitanLogEvent_logEvent_descr_;
extern UNIVERSAL_CHARSTRING TitanLogEvent_logEvent_default_coding;
extern const XERdescriptor_t TitanLogEvent_xer_;
extern const TTCN_Typedescriptor_t TitanLogEvent_descr_;
extern UNIVERSAL_CHARSTRING TitanLogEvent_default_coding;
extern const XERdescriptor_t TitanLog_sequence__list_0_event__list_0_xer_;
extern const TTCN_Typedescriptor_t TitanLog_sequence__list_0_event__list_0_descr_;
extern UNIVERSAL_CHARSTRING TitanLog_sequence__list_0_event__list_0_default_coding;
extern UNIVERSAL_CHARSTRING TitanLog_sequence__list_0_event__list_default_coding;
extern const XERdescriptor_t TitanLog_sequence__list_0_xer_;
extern const TTCN_Typedescriptor_t TitanLog_sequence__list_0_descr_;
extern UNIVERSAL_CHARSTRING TitanLog_sequence__list_0_default_coding;
extern UNIVERSAL_CHARSTRING TitanLog_sequence__list_default_coding;
extern const XERdescriptor_t TitanLog_xer_;
extern const TTCN_Typedescriptor_t TitanLog_descr_;
extern UNIVERSAL_CHARSTRING TitanLog_default_coding;
extern const XERdescriptor_t TitanSingleLogEvent_entityId_xer_;
extern const TTCN_Typedescriptor_t TitanSingleLogEvent_entityId_descr_;
extern UNIVERSAL_CHARSTRING TitanSingleLogEvent_entityId_default_coding;
extern const XERdescriptor_t TitanSingleLogEvent_event_xer_;
extern const TTCN_Typedescriptor_t TitanSingleLogEvent_event_descr_;
extern UNIVERSAL_CHARSTRING TitanSingleLogEvent_event_default_coding;
extern const XERdescriptor_t TitanSingleLogEvent_xer_;
extern const TTCN_Typedescriptor_t TitanSingleLogEvent_descr_;
extern UNIVERSAL_CHARSTRING TitanSingleLogEvent_default_coding;
extern const XERdescriptor_t ErrorEvent_text_xer_;
extern const TTCN_Typedescriptor_t ErrorEvent_text_descr_;
extern UNIVERSAL_CHARSTRING ErrorEvent_text_default_coding;
extern const XERdescriptor_t ErrorEvent_xer_;
extern const TTCN_Typedescriptor_t ErrorEvent_descr_;
extern UNIVERSAL_CHARSTRING ErrorEvent_default_coding;
extern const XERdescriptor_t WarningEvent_text_xer_;
extern const TTCN_Typedescriptor_t WarningEvent_text_descr_;
extern UNIVERSAL_CHARSTRING WarningEvent_text_default_coding;
extern const XERdescriptor_t WarningEvent_xer_;
extern const TTCN_Typedescriptor_t WarningEvent_descr_;
extern UNIVERSAL_CHARSTRING WarningEvent_default_coding;
extern const XERdescriptor_t VerdictType_fromVerdict_xer_;
extern const TTCN_Typedescriptor_t VerdictType_fromVerdict_descr_;
extern UNIVERSAL_CHARSTRING VerdictType_fromVerdict_default_coding;
extern const XERdescriptor_t VerdictType_toVerdict_xer_;
extern const TTCN_Typedescriptor_t VerdictType_toVerdict_descr_;
extern UNIVERSAL_CHARSTRING VerdictType_toVerdict_default_coding;
extern const XERdescriptor_t VerdictType_xer_;
extern const TTCN_Typedescriptor_t VerdictType_descr_;
extern const XERdescriptor_t VerdictType_verdictReason_xer_;
extern const TTCN_Typedescriptor_t VerdictType_verdictReason_descr_;
extern UNIVERSAL_CHARSTRING VerdictType_verdictReason_default_coding;
extern UNIVERSAL_CHARSTRING VerdictType_default_coding;
extern const XERdescriptor_t Parallel_reason_xer_;
extern const TTCN_Typedescriptor_t Parallel_reason_descr_;
extern UNIVERSAL_CHARSTRING Parallel_reason_default_coding;
extern const XERdescriptor_t Parallel_alive___xer_;
extern const TTCN_OERdescriptor_t Parallel_alive___oer_;
extern const TTCN_Typedescriptor_t Parallel_alive___descr_;
extern UNIVERSAL_CHARSTRING Parallel_alive___default_coding;
extern const XERdescriptor_t Parallel_function__name_xer_;
extern const TTCN_Typedescriptor_t Parallel_function__name_descr_;
extern UNIVERSAL_CHARSTRING Parallel_function__name_default_coding;
extern const XERdescriptor_t Parallel_src__compref_xer_;
extern const TTCN_Typedescriptor_t Parallel_src__compref_descr_;
extern UNIVERSAL_CHARSTRING Parallel_src__compref_default_coding;
extern const XERdescriptor_t Parallel_src__port_xer_;
extern const TTCN_Typedescriptor_t Parallel_src__port_descr_;
extern UNIVERSAL_CHARSTRING Parallel_src__port_default_coding;
extern const XERdescriptor_t Parallel_dst__compref_xer_;
extern const TTCN_Typedescriptor_t Parallel_dst__compref_descr_;
extern UNIVERSAL_CHARSTRING Parallel_dst__compref_default_coding;
extern const XERdescriptor_t Parallel_dst__port_xer_;
extern const TTCN_Typedescriptor_t Parallel_dst__port_descr_;
extern UNIVERSAL_CHARSTRING Parallel_dst__port_default_coding;
extern const XERdescriptor_t Parallel_xer_;
extern const TTCN_Typedescriptor_t Parallel_descr_;
extern UNIVERSAL_CHARSTRING Parallel_default_coding;
extern const XERdescriptor_t StartFunction_function__name_xer_;
extern const TTCN_Typedescriptor_t StartFunction_function__name_descr_;
extern UNIVERSAL_CHARSTRING StartFunction_function__name_default_coding;
extern const XERdescriptor_t StartFunction_compref_xer_;
extern const TTCN_Typedescriptor_t StartFunction_compref_descr_;
extern UNIVERSAL_CHARSTRING StartFunction_compref_default_coding;
extern const XERdescriptor_t StartFunction_parameter__list_xer_;
extern const TTCN_Typedescriptor_t StartFunction_parameter__list_descr_;
extern const XERdescriptor_t StartFunction_parameter__list_0_xer_;
extern const TTCN_Typedescriptor_t StartFunction_parameter__list_0_descr_;
extern UNIVERSAL_CHARSTRING StartFunction_parameter__list_0_default_coding;
extern UNIVERSAL_CHARSTRING StartFunction_parameter__list_default_coding;
extern const XERdescriptor_t StartFunction_xer_;
extern const TTCN_Typedescriptor_t StartFunction_descr_;
extern UNIVERSAL_CHARSTRING StartFunction_default_coding;
extern TTCN_Module module_object;

} /* end of namespace */

#endif
