blob: bdaa9051b122444f6f30179601729b1f0abe0c1c [file] [log] [blame]
// This C++ header file was generated by the TTCN-3 compiler
// of the TTCN-3 Test Executor version CRL 113 200/6 R6A
// for Lénárd Nagy (elnrnag@elx78355y6x) on Thu Oct 24 10:29:40 2019
// Copyright (c) 2000-2019 Ericsson Telecom AB
// Do not edit this file unless you know what you are doing.
#ifndef SocketCAN__Types_HH
#define SocketCAN__Types_HH
#ifdef TITAN_RUNTIME_2
#error Generated code does not match with used runtime.\
Code was generated without -R option but -DTITAN_RUNTIME_2 was used.
#endif
/* Header file includes */
#include <TTCN3.hh>
#include "Bcm.hh"
#include "Raw.hh"
#if TTCN3_VERSION != 60600
#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 SocketCAN__Types_HH
#endif
namespace SocketCAN__Types {
/* Forward declarations of classes */
class SocketCAN__timeval;
class SocketCAN__timeval_template;
class SocketCAN__CAN__or__CAN__FD__frame;
class SocketCAN__CAN__or__CAN__FD__frame_template;
class SocketCAN__ifr;
class SocketCAN__ifr_template;
class SocketCAN__if__any;
class SocketCAN__if__any_template;
class SocketCAN__send__data__ifu;
class SocketCAN__send__data__ifu_template;
class SocketCAN__ioctl__ifu;
class SocketCAN__ioctl__ifu_template;
class SocketCAN__Result__code;
class SocketCAN__Result__code_template;
class SocketCAN__Result;
class SocketCAN__Result_template;
class SocketCAN__socket;
class SocketCAN__socket_template;
class SocketCAN__socket__result;
class SocketCAN__socket__result_template;
class SocketCAN__ioctl;
class SocketCAN__ioctl_template;
class SocketCAN__ioctl__result;
class SocketCAN__ioctl__result_template;
class SocketCAN__connectu;
class SocketCAN__connectu_template;
class SocketCAN__connect__bcm;
class SocketCAN__connect__bcm_template;
class SocketCAN__connect;
class SocketCAN__connect_template;
class SocketCAN__connect__result;
class SocketCAN__connect__result_template;
class SocketCAN__bind__raw;
class SocketCAN__bind__raw_template;
class SocketCAN__bind__isotp;
class SocketCAN__bind__isotp_template;
class SocketCAN__bindu;
class SocketCAN__bindu_template;
class SocketCAN__bind;
class SocketCAN__bind_template;
class SocketCAN__bind__result;
class SocketCAN__bind__result_template;
class SocketCAN__send__data;
class SocketCAN__send__data_template;
class SocketCAN__send__data__result;
class SocketCAN__send__data__result_template;
class SocketCAN__write__data;
class SocketCAN__write__data_template;
class SocketCAN__write__data__result;
class SocketCAN__write__data__result_template;
class SocketCAN__write__isotp;
class SocketCAN__write__isotp_template;
class SocketCAN__write__isotp__result;
class SocketCAN__write__isotp__result_template;
class SocketCAN__receive__CAN__or__CAN__FD__frame;
class SocketCAN__receive__CAN__or__CAN__FD__frame_template;
class SocketCAN__receive__BCM__message;
class SocketCAN__receive__BCM__message_template;
class SocketCAN__receive__isotp__pdu;
class SocketCAN__receive__isotp__pdu_template;
class CAN__RAW__filters;
class CAN__RAW__filters_template;
class SocketCAN__setsockopt__commandu;
class SocketCAN__setsockopt__commandu_template;
class SocketCAN__setsockopt;
class SocketCAN__setsockopt_template;
class SocketCAN__setsockopt__result;
class SocketCAN__setsockopt__result_template;
class SocketCAN__close;
class SocketCAN__close_template;
} /* end of namespace */
#ifndef SocketCAN__Types_HH
#define SocketCAN__Types_HH
namespace SocketCAN__Types {
/* Type definitions */
typedef INTEGER SocketCAN__socketid;
typedef INTEGER_template SocketCAN__socketid_template;
typedef CHARSTRING SocketCAN__if__name;
typedef CHARSTRING_template SocketCAN__if__name_template;
typedef INTEGER SocketCAN__if__index;
typedef INTEGER_template SocketCAN__if__index_template;
typedef OCTETSTRING SocketCAN__Isotp__PDU;
typedef OCTETSTRING_template SocketCAN__Isotp__PDU_template;
/* Class definitions */
class SocketCAN__timeval {
INTEGER field_tv__sec;
INTEGER field_tv__usec;
public:
SocketCAN__timeval();
SocketCAN__timeval(const INTEGER& par_tv__sec,
const INTEGER& par_tv__usec);
SocketCAN__timeval(const SocketCAN__timeval& other_value);
inline boolean is_component() { return FALSE; }
void clean_up();
const TTCN_Typedescriptor_t* get_descriptor() const;
SocketCAN__timeval& operator=(const SocketCAN__timeval& other_value);
boolean operator==(const SocketCAN__timeval& other_value) const;
inline boolean operator!=(const SocketCAN__timeval& other_value) const
{ return !(*this == other_value); }
boolean is_bound() const;
inline boolean is_present() const { return is_bound(); }
boolean is_value() const;
inline INTEGER& tv__sec()
{return field_tv__sec;}
inline const INTEGER& tv__sec() const
{return field_tv__sec;}
inline INTEGER& tv__usec()
{return field_tv__usec;}
inline const INTEGER& tv__usec() const
{return field_tv__usec;}
inline int size_of() const
{return 2;}
void log() const;
void set_param(Module_Param& param);
void set_implicit_omit();
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
};
class SocketCAN__timeval_template : public Base_Template {
struct single_value_struct;
union {
single_value_struct *single_value;
struct {
unsigned int n_values;
SocketCAN__timeval_template *list_value;
} value_list;
};
void set_specific();
void copy_value(const SocketCAN__timeval& other_value);
void copy_template(const SocketCAN__timeval_template& other_value);
public:
SocketCAN__timeval_template();
SocketCAN__timeval_template(template_sel other_value);
SocketCAN__timeval_template(const SocketCAN__timeval& other_value);
SocketCAN__timeval_template(const OPTIONAL<SocketCAN__timeval>& other_value);
SocketCAN__timeval_template(const SocketCAN__timeval_template& other_value);
~SocketCAN__timeval_template();
SocketCAN__timeval_template& operator=(template_sel other_value);
SocketCAN__timeval_template& operator=(const SocketCAN__timeval& other_value);
SocketCAN__timeval_template& operator=(const OPTIONAL<SocketCAN__timeval>& other_value);
SocketCAN__timeval_template& operator=(const SocketCAN__timeval_template& other_value);
boolean match(const SocketCAN__timeval& other_value, boolean legacy = FALSE) const;
boolean is_bound() const;
boolean is_value() const;
void clean_up();
SocketCAN__timeval valueof() const;
void set_type(template_sel template_type, unsigned int list_length);
SocketCAN__timeval_template& list_item(unsigned int list_index) const;
INTEGER_template& tv__sec();
const INTEGER_template& tv__sec() const;
INTEGER_template& tv__usec();
const INTEGER_template& tv__usec() const;
int size_of() const;
void log() const;
void log_match(const SocketCAN__timeval& match_value, boolean legacy = FALSE) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void set_param(Module_Param& param);
void check_restriction(template_res t_res, const char* t_name=NULL, boolean legacy = FALSE) const;
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
};
class SocketCAN__CAN__or__CAN__FD__frame : public Base_Type {
public:
enum union_selection_type { UNBOUND_VALUE = 0, ALT_can__frame = 1, ALT_canfd__frame = 2 };
private:
union_selection_type union_selection;
union {
Can::CAN__frame *field_can__frame;
Can::CANFD__frame *field_canfd__frame;
};
void copy_value(const SocketCAN__CAN__or__CAN__FD__frame& other_value);
public:
SocketCAN__CAN__or__CAN__FD__frame();
SocketCAN__CAN__or__CAN__FD__frame(const SocketCAN__CAN__or__CAN__FD__frame& other_value);
~SocketCAN__CAN__or__CAN__FD__frame();
SocketCAN__CAN__or__CAN__FD__frame& operator=(const SocketCAN__CAN__or__CAN__FD__frame& other_value);
boolean operator==(const SocketCAN__CAN__or__CAN__FD__frame& other_value) const;
inline boolean operator!=(const SocketCAN__CAN__or__CAN__FD__frame& other_value) const { return !(*this == other_value); }
Can::CAN__frame& can__frame();
const Can::CAN__frame& can__frame() const;
Can::CANFD__frame& canfd__frame();
const Can::CANFD__frame& canfd__frame() 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();
inline boolean is_present() const { return is_bound(); }
void log() const;
void set_param(Module_Param& param);
void set_implicit_omit();
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
};
class SocketCAN__CAN__or__CAN__FD__frame_template : public Base_Template {
union {
struct {
SocketCAN__CAN__or__CAN__FD__frame::union_selection_type union_selection;
union {
Can::CAN__frame_template *field_can__frame;
Can::CANFD__frame_template *field_canfd__frame;
};
} single_value;
struct {
unsigned int n_values;
SocketCAN__CAN__or__CAN__FD__frame_template *list_value;
} value_list;
};
void copy_value(const SocketCAN__CAN__or__CAN__FD__frame& other_value);
void copy_template(const SocketCAN__CAN__or__CAN__FD__frame_template& other_value);
public:
SocketCAN__CAN__or__CAN__FD__frame_template();
SocketCAN__CAN__or__CAN__FD__frame_template(template_sel other_value);
SocketCAN__CAN__or__CAN__FD__frame_template(const SocketCAN__CAN__or__CAN__FD__frame& other_value);
SocketCAN__CAN__or__CAN__FD__frame_template(const OPTIONAL<SocketCAN__CAN__or__CAN__FD__frame>& other_value);
SocketCAN__CAN__or__CAN__FD__frame_template(const SocketCAN__CAN__or__CAN__FD__frame_template& other_value);
~SocketCAN__CAN__or__CAN__FD__frame_template();
void clean_up();
SocketCAN__CAN__or__CAN__FD__frame_template& operator=(template_sel other_value);
SocketCAN__CAN__or__CAN__FD__frame_template& operator=(const SocketCAN__CAN__or__CAN__FD__frame& other_value);
SocketCAN__CAN__or__CAN__FD__frame_template& operator=(const OPTIONAL<SocketCAN__CAN__or__CAN__FD__frame>& other_value);
SocketCAN__CAN__or__CAN__FD__frame_template& operator=(const SocketCAN__CAN__or__CAN__FD__frame_template& other_value);
boolean match(const SocketCAN__CAN__or__CAN__FD__frame& other_value, boolean legacy = FALSE) const;
boolean is_value() const;SocketCAN__CAN__or__CAN__FD__frame valueof() const;
SocketCAN__CAN__or__CAN__FD__frame_template& list_item(unsigned int list_index) const;
void set_type(template_sel template_type, unsigned int list_length);
Can::CAN__frame_template& can__frame();
const Can::CAN__frame_template& can__frame() const;
Can::CANFD__frame_template& canfd__frame();
const Can::CANFD__frame_template& canfd__frame() const;
boolean ischosen(SocketCAN__CAN__or__CAN__FD__frame::union_selection_type checked_selection) const;
void log() const;
void log_match(const SocketCAN__CAN__or__CAN__FD__frame& 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);
void check_restriction(template_res t_res, const char* t_name=NULL, boolean legacy = FALSE) const;
};
class SocketCAN__ifr {
OPTIONAL<CHARSTRING> field_if__name;
OPTIONAL<INTEGER> field_if__index;
public:
SocketCAN__ifr();
SocketCAN__ifr(const OPTIONAL<CHARSTRING>& par_if__name,
const OPTIONAL<INTEGER>& par_if__index);
SocketCAN__ifr(const SocketCAN__ifr& other_value);
inline boolean is_component() { return FALSE; }
void clean_up();
const TTCN_Typedescriptor_t* get_descriptor() const;
SocketCAN__ifr& operator=(const SocketCAN__ifr& other_value);
boolean operator==(const SocketCAN__ifr& other_value) const;
inline boolean operator!=(const SocketCAN__ifr& other_value) const
{ return !(*this == other_value); }
boolean is_bound() const;
inline boolean is_present() const { return is_bound(); }
boolean is_value() const;
inline OPTIONAL<CHARSTRING>& if__name()
{return field_if__name;}
inline const OPTIONAL<CHARSTRING>& if__name() const
{return field_if__name;}
inline OPTIONAL<INTEGER>& if__index()
{return field_if__index;}
inline const OPTIONAL<INTEGER>& if__index() const
{return field_if__index;}
int size_of() const;
void log() const;
void set_param(Module_Param& param);
void set_implicit_omit();
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
};
class SocketCAN__ifr_template : public Base_Template {
struct single_value_struct;
union {
single_value_struct *single_value;
struct {
unsigned int n_values;
SocketCAN__ifr_template *list_value;
} value_list;
};
void set_specific();
void copy_value(const SocketCAN__ifr& other_value);
void copy_template(const SocketCAN__ifr_template& other_value);
public:
SocketCAN__ifr_template();
SocketCAN__ifr_template(template_sel other_value);
SocketCAN__ifr_template(const SocketCAN__ifr& other_value);
SocketCAN__ifr_template(const OPTIONAL<SocketCAN__ifr>& other_value);
SocketCAN__ifr_template(const SocketCAN__ifr_template& other_value);
~SocketCAN__ifr_template();
SocketCAN__ifr_template& operator=(template_sel other_value);
SocketCAN__ifr_template& operator=(const SocketCAN__ifr& other_value);
SocketCAN__ifr_template& operator=(const OPTIONAL<SocketCAN__ifr>& other_value);
SocketCAN__ifr_template& operator=(const SocketCAN__ifr_template& other_value);
boolean match(const SocketCAN__ifr& other_value, boolean legacy = FALSE) const;
boolean is_bound() const;
boolean is_value() const;
void clean_up();
SocketCAN__ifr valueof() const;
void set_type(template_sel template_type, unsigned int list_length);
SocketCAN__ifr_template& list_item(unsigned int list_index) const;
CHARSTRING_template& if__name();
const CHARSTRING_template& if__name() const;
INTEGER_template& if__index();
const INTEGER_template& if__index() const;
int size_of() const;
void log() const;
void log_match(const SocketCAN__ifr& match_value, boolean legacy = FALSE) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void set_param(Module_Param& param);
void check_restriction(template_res t_res, const char* t_name=NULL, boolean legacy = FALSE) const;
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
};
class SocketCAN__if__any : public Base_Type { // enum
friend class SocketCAN__if__any_template;
public:
enum enum_type { ANY__INTERFACE = 0, UNKNOWN_VALUE = 1, UNBOUND_VALUE = 2 };
private:
enum_type enum_value;
public:
SocketCAN__if__any();
SocketCAN__if__any(int other_value);
SocketCAN__if__any(enum_type other_value);
SocketCAN__if__any(const SocketCAN__if__any& other_value);
SocketCAN__if__any& operator=(int other_value);
SocketCAN__if__any& operator=(enum_type other_value);
SocketCAN__if__any& operator=(const SocketCAN__if__any& other_value);
boolean operator==(enum_type other_value) const;
boolean operator==(const SocketCAN__if__any& other_value) const;
inline boolean operator!=(enum_type other_value) const { return !(*this == other_value); }
inline boolean operator!=(const SocketCAN__if__any& other_value) const { return !(*this == other_value); }
boolean operator<(enum_type other_value) const;
boolean operator<(const SocketCAN__if__any& other_value) const;
boolean operator>(enum_type other_value) const;
boolean operator>(const SocketCAN__if__any& other_value) const;
inline boolean operator<=(enum_type other_value) const { return !(*this > other_value); }
inline boolean operator<=(const SocketCAN__if__any& other_value) const { return !(*this > other_value); }
inline boolean operator>=(enum_type other_value) const { return !(*this < other_value); }
inline boolean operator>=(const SocketCAN__if__any& 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);
static boolean is_valid_enum(int int_par);
static int enum2int(enum_type enum_par);
static int enum2int(const SocketCAN__if__any& 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; }
inline boolean is_present() const { return is_bound(); }
void log() const;
void set_param(Module_Param& param);
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
};
class SocketCAN__if__any_template : public Base_Template {
union {
SocketCAN__if__any::enum_type single_value;
struct {
unsigned int n_values;
SocketCAN__if__any_template *list_value;
} value_list;
};
void copy_template(const SocketCAN__if__any_template& other_value);
public:
SocketCAN__if__any_template();
SocketCAN__if__any_template(template_sel other_value);
SocketCAN__if__any_template(int other_value);
SocketCAN__if__any_template(SocketCAN__if__any::enum_type other_value);
SocketCAN__if__any_template(const SocketCAN__if__any& other_value);
SocketCAN__if__any_template(const OPTIONAL<SocketCAN__if__any>& other_value);
SocketCAN__if__any_template(const SocketCAN__if__any_template& other_value);
~SocketCAN__if__any_template();
boolean is_bound() const;
boolean is_value() const;
void clean_up();
SocketCAN__if__any_template& operator=(template_sel other_value);
SocketCAN__if__any_template& operator=(int other_value);
SocketCAN__if__any_template& operator=(SocketCAN__if__any::enum_type other_value);
SocketCAN__if__any_template& operator=(const SocketCAN__if__any& other_value);
SocketCAN__if__any_template& operator=(const OPTIONAL<SocketCAN__if__any>& other_value);
SocketCAN__if__any_template& operator=(const SocketCAN__if__any_template& other_value);
boolean match(SocketCAN__if__any::enum_type other_value, boolean legacy = FALSE) const;
boolean match(const SocketCAN__if__any& other_value, boolean legacy = FALSE) const;
SocketCAN__if__any::enum_type valueof() const;
void set_type(template_sel template_type, unsigned int list_length);
SocketCAN__if__any_template& list_item(unsigned int list_index);
void log() const;
void log_match(const SocketCAN__if__any& 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);
void check_restriction(template_res t_res, const char* t_name=NULL, boolean legacy = FALSE) const;
};
class SocketCAN__send__data__ifu : public Base_Type {
public:
enum union_selection_type { UNBOUND_VALUE = 0, ALT_if__name = 1, ALT_if__index = 2, ALT_if__any = 3 };
private:
union_selection_type union_selection;
union {
CHARSTRING *field_if__name;
INTEGER *field_if__index;
SocketCAN__if__any *field_if__any;
};
void copy_value(const SocketCAN__send__data__ifu& other_value);
public:
SocketCAN__send__data__ifu();
SocketCAN__send__data__ifu(const SocketCAN__send__data__ifu& other_value);
~SocketCAN__send__data__ifu();
SocketCAN__send__data__ifu& operator=(const SocketCAN__send__data__ifu& other_value);
boolean operator==(const SocketCAN__send__data__ifu& other_value) const;
inline boolean operator!=(const SocketCAN__send__data__ifu& other_value) const { return !(*this == other_value); }
CHARSTRING& if__name();
const CHARSTRING& if__name() const;
INTEGER& if__index();
const INTEGER& if__index() const;
SocketCAN__if__any& if__any();
const SocketCAN__if__any& if__any() 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();
inline boolean is_present() const { return is_bound(); }
void log() const;
void set_param(Module_Param& param);
void set_implicit_omit();
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
};
class SocketCAN__send__data__ifu_template : public Base_Template {
union {
struct {
SocketCAN__send__data__ifu::union_selection_type union_selection;
union {
CHARSTRING_template *field_if__name;
INTEGER_template *field_if__index;
SocketCAN__if__any_template *field_if__any;
};
} single_value;
struct {
unsigned int n_values;
SocketCAN__send__data__ifu_template *list_value;
} value_list;
};
void copy_value(const SocketCAN__send__data__ifu& other_value);
void copy_template(const SocketCAN__send__data__ifu_template& other_value);
public:
SocketCAN__send__data__ifu_template();
SocketCAN__send__data__ifu_template(template_sel other_value);
SocketCAN__send__data__ifu_template(const SocketCAN__send__data__ifu& other_value);
SocketCAN__send__data__ifu_template(const OPTIONAL<SocketCAN__send__data__ifu>& other_value);
SocketCAN__send__data__ifu_template(const SocketCAN__send__data__ifu_template& other_value);
~SocketCAN__send__data__ifu_template();
void clean_up();
SocketCAN__send__data__ifu_template& operator=(template_sel other_value);
SocketCAN__send__data__ifu_template& operator=(const SocketCAN__send__data__ifu& other_value);
SocketCAN__send__data__ifu_template& operator=(const OPTIONAL<SocketCAN__send__data__ifu>& other_value);
SocketCAN__send__data__ifu_template& operator=(const SocketCAN__send__data__ifu_template& other_value);
boolean match(const SocketCAN__send__data__ifu& other_value, boolean legacy = FALSE) const;
boolean is_value() const;SocketCAN__send__data__ifu valueof() const;
SocketCAN__send__data__ifu_template& list_item(unsigned int list_index) const;
void set_type(template_sel template_type, unsigned int list_length);
CHARSTRING_template& if__name();
const CHARSTRING_template& if__name() const;
INTEGER_template& if__index();
const INTEGER_template& if__index() const;
SocketCAN__if__any_template& if__any();
const SocketCAN__if__any_template& if__any() const;
boolean ischosen(SocketCAN__send__data__ifu::union_selection_type checked_selection) const;
void log() const;
void log_match(const SocketCAN__send__data__ifu& 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);
void check_restriction(template_res t_res, const char* t_name=NULL, boolean legacy = FALSE) const;
};
class SocketCAN__ioctl__ifu : public Base_Type {
public:
enum union_selection_type { UNBOUND_VALUE = 0, ALT_if__name = 1, ALT_if__index = 2, ALT_if__any = 3 };
private:
union_selection_type union_selection;
union {
CHARSTRING *field_if__name;
INTEGER *field_if__index;
SocketCAN__if__any *field_if__any;
};
void copy_value(const SocketCAN__ioctl__ifu& other_value);
public:
SocketCAN__ioctl__ifu();
SocketCAN__ioctl__ifu(const SocketCAN__ioctl__ifu& other_value);
~SocketCAN__ioctl__ifu();
SocketCAN__ioctl__ifu& operator=(const SocketCAN__ioctl__ifu& other_value);
boolean operator==(const SocketCAN__ioctl__ifu& other_value) const;
inline boolean operator!=(const SocketCAN__ioctl__ifu& other_value) const { return !(*this == other_value); }
CHARSTRING& if__name();
const CHARSTRING& if__name() const;
INTEGER& if__index();
const INTEGER& if__index() const;
SocketCAN__if__any& if__any();
const SocketCAN__if__any& if__any() 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();
inline boolean is_present() const { return is_bound(); }
void log() const;
void set_param(Module_Param& param);
void set_implicit_omit();
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
};
class SocketCAN__ioctl__ifu_template : public Base_Template {
union {
struct {
SocketCAN__ioctl__ifu::union_selection_type union_selection;
union {
CHARSTRING_template *field_if__name;
INTEGER_template *field_if__index;
SocketCAN__if__any_template *field_if__any;
};
} single_value;
struct {
unsigned int n_values;
SocketCAN__ioctl__ifu_template *list_value;
} value_list;
};
void copy_value(const SocketCAN__ioctl__ifu& other_value);
void copy_template(const SocketCAN__ioctl__ifu_template& other_value);
public:
SocketCAN__ioctl__ifu_template();
SocketCAN__ioctl__ifu_template(template_sel other_value);
SocketCAN__ioctl__ifu_template(const SocketCAN__ioctl__ifu& other_value);
SocketCAN__ioctl__ifu_template(const OPTIONAL<SocketCAN__ioctl__ifu>& other_value);
SocketCAN__ioctl__ifu_template(const SocketCAN__ioctl__ifu_template& other_value);
~SocketCAN__ioctl__ifu_template();
void clean_up();
SocketCAN__ioctl__ifu_template& operator=(template_sel other_value);
SocketCAN__ioctl__ifu_template& operator=(const SocketCAN__ioctl__ifu& other_value);
SocketCAN__ioctl__ifu_template& operator=(const OPTIONAL<SocketCAN__ioctl__ifu>& other_value);
SocketCAN__ioctl__ifu_template& operator=(const SocketCAN__ioctl__ifu_template& other_value);
boolean match(const SocketCAN__ioctl__ifu& other_value, boolean legacy = FALSE) const;
boolean is_value() const;SocketCAN__ioctl__ifu valueof() const;
SocketCAN__ioctl__ifu_template& list_item(unsigned int list_index) const;
void set_type(template_sel template_type, unsigned int list_length);
CHARSTRING_template& if__name();
const CHARSTRING_template& if__name() const;
INTEGER_template& if__index();
const INTEGER_template& if__index() const;
SocketCAN__if__any_template& if__any();
const SocketCAN__if__any_template& if__any() const;
boolean ischosen(SocketCAN__ioctl__ifu::union_selection_type checked_selection) const;
void log() const;
void log_match(const SocketCAN__ioctl__ifu& 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);
void check_restriction(template_res t_res, const char* t_name=NULL, boolean legacy = FALSE) const;
};
class SocketCAN__Result__code : public Base_Type { // enum
friend class SocketCAN__Result__code_template;
public:
enum enum_type { SocketCAN__ERROR = 0, SocketCAN__SUCCESS = 1, UNKNOWN_VALUE = 2, UNBOUND_VALUE = 3 };
private:
enum_type enum_value;
public:
SocketCAN__Result__code();
SocketCAN__Result__code(int other_value);
SocketCAN__Result__code(enum_type other_value);
SocketCAN__Result__code(const SocketCAN__Result__code& other_value);
SocketCAN__Result__code& operator=(int other_value);
SocketCAN__Result__code& operator=(enum_type other_value);
SocketCAN__Result__code& operator=(const SocketCAN__Result__code& other_value);
boolean operator==(enum_type other_value) const;
boolean operator==(const SocketCAN__Result__code& other_value) const;
inline boolean operator!=(enum_type other_value) const { return !(*this == other_value); }
inline boolean operator!=(const SocketCAN__Result__code& other_value) const { return !(*this == other_value); }
boolean operator<(enum_type other_value) const;
boolean operator<(const SocketCAN__Result__code& other_value) const;
boolean operator>(enum_type other_value) const;
boolean operator>(const SocketCAN__Result__code& other_value) const;
inline boolean operator<=(enum_type other_value) const { return !(*this > other_value); }
inline boolean operator<=(const SocketCAN__Result__code& other_value) const { return !(*this > other_value); }
inline boolean operator>=(enum_type other_value) const { return !(*this < other_value); }
inline boolean operator>=(const SocketCAN__Result__code& 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);
static boolean is_valid_enum(int int_par);
static int enum2int(enum_type enum_par);
static int enum2int(const SocketCAN__Result__code& 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; }
inline boolean is_present() const { return is_bound(); }
void log() const;
void set_param(Module_Param& param);
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
};
class SocketCAN__Result__code_template : public Base_Template {
union {
SocketCAN__Result__code::enum_type single_value;
struct {
unsigned int n_values;
SocketCAN__Result__code_template *list_value;
} value_list;
};
void copy_template(const SocketCAN__Result__code_template& other_value);
public:
SocketCAN__Result__code_template();
SocketCAN__Result__code_template(template_sel other_value);
SocketCAN__Result__code_template(int other_value);
SocketCAN__Result__code_template(SocketCAN__Result__code::enum_type other_value);
SocketCAN__Result__code_template(const SocketCAN__Result__code& other_value);
SocketCAN__Result__code_template(const OPTIONAL<SocketCAN__Result__code>& other_value);
SocketCAN__Result__code_template(const SocketCAN__Result__code_template& other_value);
~SocketCAN__Result__code_template();
boolean is_bound() const;
boolean is_value() const;
void clean_up();
SocketCAN__Result__code_template& operator=(template_sel other_value);
SocketCAN__Result__code_template& operator=(int other_value);
SocketCAN__Result__code_template& operator=(SocketCAN__Result__code::enum_type other_value);
SocketCAN__Result__code_template& operator=(const SocketCAN__Result__code& other_value);
SocketCAN__Result__code_template& operator=(const OPTIONAL<SocketCAN__Result__code>& other_value);
SocketCAN__Result__code_template& operator=(const SocketCAN__Result__code_template& other_value);
boolean match(SocketCAN__Result__code::enum_type other_value, boolean legacy = FALSE) const;
boolean match(const SocketCAN__Result__code& other_value, boolean legacy = FALSE) const;
SocketCAN__Result__code::enum_type valueof() const;
void set_type(template_sel template_type, unsigned int list_length);
SocketCAN__Result__code_template& list_item(unsigned int list_index);
void log() const;
void log_match(const SocketCAN__Result__code& 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);
void check_restriction(template_res t_res, const char* t_name=NULL, boolean legacy = FALSE) const;
};
class SocketCAN__Result {
SocketCAN__Result__code field_result__code;
OPTIONAL<INTEGER> field_err;
OPTIONAL<CHARSTRING> field_err__text;
public:
SocketCAN__Result();
SocketCAN__Result(const SocketCAN__Result__code& par_result__code,
const OPTIONAL<INTEGER>& par_err,
const OPTIONAL<CHARSTRING>& par_err__text);
SocketCAN__Result(const SocketCAN__Result& other_value);
inline boolean is_component() { return FALSE; }
void clean_up();
const TTCN_Typedescriptor_t* get_descriptor() const;
SocketCAN__Result& operator=(const SocketCAN__Result& other_value);
boolean operator==(const SocketCAN__Result& other_value) const;
inline boolean operator!=(const SocketCAN__Result& other_value) const
{ return !(*this == other_value); }
boolean is_bound() const;
inline boolean is_present() const { return is_bound(); }
boolean is_value() const;
inline SocketCAN__Result__code& result__code()
{return field_result__code;}
inline const SocketCAN__Result__code& result__code() const
{return field_result__code;}
inline OPTIONAL<INTEGER>& err()
{return field_err;}
inline const OPTIONAL<INTEGER>& err() const
{return field_err;}
inline OPTIONAL<CHARSTRING>& err__text()
{return field_err__text;}
inline const OPTIONAL<CHARSTRING>& err__text() const
{return field_err__text;}
int size_of() const;
void log() const;
void set_param(Module_Param& param);
void set_implicit_omit();
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
};
class SocketCAN__Result_template : public Base_Template {
struct single_value_struct;
union {
single_value_struct *single_value;
struct {
unsigned int n_values;
SocketCAN__Result_template *list_value;
} value_list;
};
void set_specific();
void copy_value(const SocketCAN__Result& other_value);
void copy_template(const SocketCAN__Result_template& other_value);
public:
SocketCAN__Result_template();
SocketCAN__Result_template(template_sel other_value);
SocketCAN__Result_template(const SocketCAN__Result& other_value);
SocketCAN__Result_template(const OPTIONAL<SocketCAN__Result>& other_value);
SocketCAN__Result_template(const SocketCAN__Result_template& other_value);
~SocketCAN__Result_template();
SocketCAN__Result_template& operator=(template_sel other_value);
SocketCAN__Result_template& operator=(const SocketCAN__Result& other_value);
SocketCAN__Result_template& operator=(const OPTIONAL<SocketCAN__Result>& other_value);
SocketCAN__Result_template& operator=(const SocketCAN__Result_template& other_value);
boolean match(const SocketCAN__Result& other_value, boolean legacy = FALSE) const;
boolean is_bound() const;
boolean is_value() const;
void clean_up();
SocketCAN__Result valueof() const;
void set_type(template_sel template_type, unsigned int list_length);
SocketCAN__Result_template& list_item(unsigned int list_index) const;
SocketCAN__Result__code_template& result__code();
const SocketCAN__Result__code_template& result__code() const;
INTEGER_template& err();
const INTEGER_template& err() const;
CHARSTRING_template& err__text();
const CHARSTRING_template& err__text() const;
int size_of() const;
void log() const;
void log_match(const SocketCAN__Result& match_value, boolean legacy = FALSE) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void set_param(Module_Param& param);
void check_restriction(template_res t_res, const char* t_name=NULL, boolean legacy = FALSE) const;
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
};
class SocketCAN__socket {
Can::AdresseFamily__enum field_domain;
Can::ProtocolFamily__enum field_ptype;
Can::PF__CAN__protocols__enum field_protocol;
public:
SocketCAN__socket();
SocketCAN__socket(const Can::AdresseFamily__enum& par_domain,
const Can::ProtocolFamily__enum& par_ptype,
const Can::PF__CAN__protocols__enum& par_protocol);
SocketCAN__socket(const SocketCAN__socket& other_value);
inline boolean is_component() { return FALSE; }
void clean_up();
const TTCN_Typedescriptor_t* get_descriptor() const;
SocketCAN__socket& operator=(const SocketCAN__socket& other_value);
boolean operator==(const SocketCAN__socket& other_value) const;
inline boolean operator!=(const SocketCAN__socket& other_value) const
{ return !(*this == other_value); }
boolean is_bound() const;
inline boolean is_present() const { return is_bound(); }
boolean is_value() const;
inline Can::AdresseFamily__enum& domain()
{return field_domain;}
inline const Can::AdresseFamily__enum& domain() const
{return field_domain;}
inline Can::ProtocolFamily__enum& ptype()
{return field_ptype;}
inline const Can::ProtocolFamily__enum& ptype() const
{return field_ptype;}
inline Can::PF__CAN__protocols__enum& protocol()
{return field_protocol;}
inline const Can::PF__CAN__protocols__enum& protocol() const
{return field_protocol;}
inline int size_of() const
{return 3;}
void log() const;
void set_param(Module_Param& param);
void set_implicit_omit();
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
};
class SocketCAN__socket_template : public Base_Template {
struct single_value_struct;
union {
single_value_struct *single_value;
struct {
unsigned int n_values;
SocketCAN__socket_template *list_value;
} value_list;
};
void set_specific();
void copy_value(const SocketCAN__socket& other_value);
void copy_template(const SocketCAN__socket_template& other_value);
public:
SocketCAN__socket_template();
SocketCAN__socket_template(template_sel other_value);
SocketCAN__socket_template(const SocketCAN__socket& other_value);
SocketCAN__socket_template(const OPTIONAL<SocketCAN__socket>& other_value);
SocketCAN__socket_template(const SocketCAN__socket_template& other_value);
~SocketCAN__socket_template();
SocketCAN__socket_template& operator=(template_sel other_value);
SocketCAN__socket_template& operator=(const SocketCAN__socket& other_value);
SocketCAN__socket_template& operator=(const OPTIONAL<SocketCAN__socket>& other_value);
SocketCAN__socket_template& operator=(const SocketCAN__socket_template& other_value);
boolean match(const SocketCAN__socket& other_value, boolean legacy = FALSE) const;
boolean is_bound() const;
boolean is_value() const;
void clean_up();
SocketCAN__socket valueof() const;
void set_type(template_sel template_type, unsigned int list_length);
SocketCAN__socket_template& list_item(unsigned int list_index) const;
Can::AdresseFamily__enum_template& domain();
const Can::AdresseFamily__enum_template& domain() const;
Can::ProtocolFamily__enum_template& ptype();
const Can::ProtocolFamily__enum_template& ptype() const;
Can::PF__CAN__protocols__enum_template& protocol();
const Can::PF__CAN__protocols__enum_template& protocol() const;
int size_of() const;
void log() const;
void log_match(const SocketCAN__socket& match_value, boolean legacy = FALSE) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void set_param(Module_Param& param);
void check_restriction(template_res t_res, const char* t_name=NULL, boolean legacy = FALSE) const;
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
};
class SocketCAN__socket__result {
INTEGER field_id;
SocketCAN__Result field_result;
public:
SocketCAN__socket__result();
SocketCAN__socket__result(const INTEGER& par_id,
const SocketCAN__Result& par_result);
SocketCAN__socket__result(const SocketCAN__socket__result& other_value);
inline boolean is_component() { return FALSE; }
void clean_up();
const TTCN_Typedescriptor_t* get_descriptor() const;
SocketCAN__socket__result& operator=(const SocketCAN__socket__result& other_value);
boolean operator==(const SocketCAN__socket__result& other_value) const;
inline boolean operator!=(const SocketCAN__socket__result& other_value) const
{ return !(*this == other_value); }
boolean is_bound() const;
inline boolean is_present() const { return is_bound(); }
boolean is_value() const;
inline INTEGER& id()
{return field_id;}
inline const INTEGER& id() const
{return field_id;}
inline SocketCAN__Result& result()
{return field_result;}
inline const SocketCAN__Result& result() const
{return field_result;}
inline int size_of() const
{return 2;}
void log() const;
void set_param(Module_Param& param);
void set_implicit_omit();
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
};
class SocketCAN__socket__result_template : public Base_Template {
struct single_value_struct;
union {
single_value_struct *single_value;
struct {
unsigned int n_values;
SocketCAN__socket__result_template *list_value;
} value_list;
};
void set_specific();
void copy_value(const SocketCAN__socket__result& other_value);
void copy_template(const SocketCAN__socket__result_template& other_value);
public:
SocketCAN__socket__result_template();
SocketCAN__socket__result_template(template_sel other_value);
SocketCAN__socket__result_template(const SocketCAN__socket__result& other_value);
SocketCAN__socket__result_template(const OPTIONAL<SocketCAN__socket__result>& other_value);
SocketCAN__socket__result_template(const SocketCAN__socket__result_template& other_value);
~SocketCAN__socket__result_template();
SocketCAN__socket__result_template& operator=(template_sel other_value);
SocketCAN__socket__result_template& operator=(const SocketCAN__socket__result& other_value);
SocketCAN__socket__result_template& operator=(const OPTIONAL<SocketCAN__socket__result>& other_value);
SocketCAN__socket__result_template& operator=(const SocketCAN__socket__result_template& other_value);
boolean match(const SocketCAN__socket__result& other_value, boolean legacy = FALSE) const;
boolean is_bound() const;
boolean is_value() const;
void clean_up();
SocketCAN__socket__result valueof() const;
void set_type(template_sel template_type, unsigned int list_length);
SocketCAN__socket__result_template& list_item(unsigned int list_index) const;
INTEGER_template& id();
const INTEGER_template& id() const;
SocketCAN__Result_template& result();
const SocketCAN__Result_template& result() const;
int size_of() const;
void log() const;
void log_match(const SocketCAN__socket__result& match_value, boolean legacy = FALSE) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void set_param(Module_Param& param);
void check_restriction(template_res t_res, const char* t_name=NULL, boolean legacy = FALSE) const;
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
};
class SocketCAN__ioctl {
INTEGER field_id;
OPTIONAL<SocketCAN__ioctl__ifu> field_ifu;
public:
SocketCAN__ioctl();
SocketCAN__ioctl(const INTEGER& par_id,
const OPTIONAL<SocketCAN__ioctl__ifu>& par_ifu);
SocketCAN__ioctl(const SocketCAN__ioctl& other_value);
inline boolean is_component() { return FALSE; }
void clean_up();
const TTCN_Typedescriptor_t* get_descriptor() const;
SocketCAN__ioctl& operator=(const SocketCAN__ioctl& other_value);
boolean operator==(const SocketCAN__ioctl& other_value) const;
inline boolean operator!=(const SocketCAN__ioctl& other_value) const
{ return !(*this == other_value); }
boolean is_bound() const;
inline boolean is_present() const { return is_bound(); }
boolean is_value() const;
inline INTEGER& id()
{return field_id;}
inline const INTEGER& id() const
{return field_id;}
inline OPTIONAL<SocketCAN__ioctl__ifu>& ifu()
{return field_ifu;}
inline const OPTIONAL<SocketCAN__ioctl__ifu>& ifu() const
{return field_ifu;}
int size_of() const;
void log() const;
void set_param(Module_Param& param);
void set_implicit_omit();
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
};
class SocketCAN__ioctl_template : public Base_Template {
struct single_value_struct;
union {
single_value_struct *single_value;
struct {
unsigned int n_values;
SocketCAN__ioctl_template *list_value;
} value_list;
};
void set_specific();
void copy_value(const SocketCAN__ioctl& other_value);
void copy_template(const SocketCAN__ioctl_template& other_value);
public:
SocketCAN__ioctl_template();
SocketCAN__ioctl_template(template_sel other_value);
SocketCAN__ioctl_template(const SocketCAN__ioctl& other_value);
SocketCAN__ioctl_template(const OPTIONAL<SocketCAN__ioctl>& other_value);
SocketCAN__ioctl_template(const SocketCAN__ioctl_template& other_value);
~SocketCAN__ioctl_template();
SocketCAN__ioctl_template& operator=(template_sel other_value);
SocketCAN__ioctl_template& operator=(const SocketCAN__ioctl& other_value);
SocketCAN__ioctl_template& operator=(const OPTIONAL<SocketCAN__ioctl>& other_value);
SocketCAN__ioctl_template& operator=(const SocketCAN__ioctl_template& other_value);
boolean match(const SocketCAN__ioctl& other_value, boolean legacy = FALSE) const;
boolean is_bound() const;
boolean is_value() const;
void clean_up();
SocketCAN__ioctl valueof() const;
void set_type(template_sel template_type, unsigned int list_length);
SocketCAN__ioctl_template& list_item(unsigned int list_index) const;
INTEGER_template& id();
const INTEGER_template& id() const;
SocketCAN__ioctl__ifu_template& ifu();
const SocketCAN__ioctl__ifu_template& ifu() const;
int size_of() const;
void log() const;
void log_match(const SocketCAN__ioctl& match_value, boolean legacy = FALSE) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void set_param(Module_Param& param);
void check_restriction(template_res t_res, const char* t_name=NULL, boolean legacy = FALSE) const;
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
};
class SocketCAN__ioctl__result {
SocketCAN__ifr field_ifr;
SocketCAN__Result field_result;
public:
SocketCAN__ioctl__result();
SocketCAN__ioctl__result(const SocketCAN__ifr& par_ifr,
const SocketCAN__Result& par_result);
SocketCAN__ioctl__result(const SocketCAN__ioctl__result& other_value);
inline boolean is_component() { return FALSE; }
void clean_up();
const TTCN_Typedescriptor_t* get_descriptor() const;
SocketCAN__ioctl__result& operator=(const SocketCAN__ioctl__result& other_value);
boolean operator==(const SocketCAN__ioctl__result& other_value) const;
inline boolean operator!=(const SocketCAN__ioctl__result& other_value) const
{ return !(*this == other_value); }
boolean is_bound() const;
inline boolean is_present() const { return is_bound(); }
boolean is_value() const;
inline SocketCAN__ifr& ifr()
{return field_ifr;}
inline const SocketCAN__ifr& ifr() const
{return field_ifr;}
inline SocketCAN__Result& result()
{return field_result;}
inline const SocketCAN__Result& result() const
{return field_result;}
inline int size_of() const
{return 2;}
void log() const;
void set_param(Module_Param& param);
void set_implicit_omit();
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
};
class SocketCAN__ioctl__result_template : public Base_Template {
struct single_value_struct;
union {
single_value_struct *single_value;
struct {
unsigned int n_values;
SocketCAN__ioctl__result_template *list_value;
} value_list;
};
void set_specific();
void copy_value(const SocketCAN__ioctl__result& other_value);
void copy_template(const SocketCAN__ioctl__result_template& other_value);
public:
SocketCAN__ioctl__result_template();
SocketCAN__ioctl__result_template(template_sel other_value);
SocketCAN__ioctl__result_template(const SocketCAN__ioctl__result& other_value);
SocketCAN__ioctl__result_template(const OPTIONAL<SocketCAN__ioctl__result>& other_value);
SocketCAN__ioctl__result_template(const SocketCAN__ioctl__result_template& other_value);
~SocketCAN__ioctl__result_template();
SocketCAN__ioctl__result_template& operator=(template_sel other_value);
SocketCAN__ioctl__result_template& operator=(const SocketCAN__ioctl__result& other_value);
SocketCAN__ioctl__result_template& operator=(const OPTIONAL<SocketCAN__ioctl__result>& other_value);
SocketCAN__ioctl__result_template& operator=(const SocketCAN__ioctl__result_template& other_value);
boolean match(const SocketCAN__ioctl__result& other_value, boolean legacy = FALSE) const;
boolean is_bound() const;
boolean is_value() const;
void clean_up();
SocketCAN__ioctl__result valueof() const;
void set_type(template_sel template_type, unsigned int list_length);
SocketCAN__ioctl__result_template& list_item(unsigned int list_index) const;
SocketCAN__ifr_template& ifr();
const SocketCAN__ifr_template& ifr() const;
SocketCAN__Result_template& result();
const SocketCAN__Result_template& result() const;
int size_of() const;
void log() const;
void log_match(const SocketCAN__ioctl__result& match_value, boolean legacy = FALSE) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void set_param(Module_Param& param);
void check_restriction(template_res t_res, const char* t_name=NULL, boolean legacy = FALSE) const;
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
};
class SocketCAN__connectu : public Base_Type {
public:
enum union_selection_type { UNBOUND_VALUE = 0, ALT_bcm = 1 };
private:
union_selection_type union_selection;
union {
SocketCAN__connect__bcm *field_bcm;
};
void copy_value(const SocketCAN__connectu& other_value);
public:
SocketCAN__connectu();
SocketCAN__connectu(const SocketCAN__connectu& other_value);
~SocketCAN__connectu();
SocketCAN__connectu& operator=(const SocketCAN__connectu& other_value);
boolean operator==(const SocketCAN__connectu& other_value) const;
inline boolean operator!=(const SocketCAN__connectu& other_value) const { return !(*this == other_value); }
SocketCAN__connect__bcm& bcm();
const SocketCAN__connect__bcm& bcm() 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();
inline boolean is_present() const { return is_bound(); }
void log() const;
void set_param(Module_Param& param);
void set_implicit_omit();
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
};
class SocketCAN__connectu_template : public Base_Template {
union {
struct {
SocketCAN__connectu::union_selection_type union_selection;
union {
SocketCAN__connect__bcm_template *field_bcm;
};
} single_value;
struct {
unsigned int n_values;
SocketCAN__connectu_template *list_value;
} value_list;
};
void copy_value(const SocketCAN__connectu& other_value);
void copy_template(const SocketCAN__connectu_template& other_value);
public:
SocketCAN__connectu_template();
SocketCAN__connectu_template(template_sel other_value);
SocketCAN__connectu_template(const SocketCAN__connectu& other_value);
SocketCAN__connectu_template(const OPTIONAL<SocketCAN__connectu>& other_value);
SocketCAN__connectu_template(const SocketCAN__connectu_template& other_value);
~SocketCAN__connectu_template();
void clean_up();
SocketCAN__connectu_template& operator=(template_sel other_value);
SocketCAN__connectu_template& operator=(const SocketCAN__connectu& other_value);
SocketCAN__connectu_template& operator=(const OPTIONAL<SocketCAN__connectu>& other_value);
SocketCAN__connectu_template& operator=(const SocketCAN__connectu_template& other_value);
boolean match(const SocketCAN__connectu& other_value, boolean legacy = FALSE) const;
boolean is_value() const;SocketCAN__connectu valueof() const;
SocketCAN__connectu_template& list_item(unsigned int list_index) const;
void set_type(template_sel template_type, unsigned int list_length);
SocketCAN__connect__bcm_template& bcm();
const SocketCAN__connect__bcm_template& bcm() const;
boolean ischosen(SocketCAN__connectu::union_selection_type checked_selection) const;
void log() const;
void log_match(const SocketCAN__connectu& 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);
void check_restriction(template_res t_res, const char* t_name=NULL, boolean legacy = FALSE) const;
};
class SocketCAN__connect__bcm {
INTEGER field_if__index;
public:
SocketCAN__connect__bcm();
SocketCAN__connect__bcm(const INTEGER& par_if__index);
SocketCAN__connect__bcm(const SocketCAN__connect__bcm& other_value);
inline boolean is_component() { return FALSE; }
void clean_up();
const TTCN_Typedescriptor_t* get_descriptor() const;
SocketCAN__connect__bcm& operator=(const SocketCAN__connect__bcm& other_value);
boolean operator==(const SocketCAN__connect__bcm& other_value) const;
inline boolean operator!=(const SocketCAN__connect__bcm& other_value) const
{ return !(*this == other_value); }
boolean is_bound() const;
inline boolean is_present() const { return is_bound(); }
boolean is_value() const;
inline INTEGER& if__index()
{return field_if__index;}
inline const INTEGER& if__index() const
{return field_if__index;}
inline int size_of() const
{return 1;}
void log() const;
void set_param(Module_Param& param);
void set_implicit_omit();
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
};
class SocketCAN__connect__bcm_template : public Base_Template {
struct single_value_struct;
union {
single_value_struct *single_value;
struct {
unsigned int n_values;
SocketCAN__connect__bcm_template *list_value;
} value_list;
};
void set_specific();
void copy_value(const SocketCAN__connect__bcm& other_value);
void copy_template(const SocketCAN__connect__bcm_template& other_value);
public:
SocketCAN__connect__bcm_template();
SocketCAN__connect__bcm_template(template_sel other_value);
SocketCAN__connect__bcm_template(const SocketCAN__connect__bcm& other_value);
SocketCAN__connect__bcm_template(const OPTIONAL<SocketCAN__connect__bcm>& other_value);
SocketCAN__connect__bcm_template(const SocketCAN__connect__bcm_template& other_value);
~SocketCAN__connect__bcm_template();
SocketCAN__connect__bcm_template& operator=(template_sel other_value);
SocketCAN__connect__bcm_template& operator=(const SocketCAN__connect__bcm& other_value);
SocketCAN__connect__bcm_template& operator=(const OPTIONAL<SocketCAN__connect__bcm>& other_value);
SocketCAN__connect__bcm_template& operator=(const SocketCAN__connect__bcm_template& other_value);
boolean match(const SocketCAN__connect__bcm& other_value, boolean legacy = FALSE) const;
boolean is_bound() const;
boolean is_value() const;
void clean_up();
SocketCAN__connect__bcm valueof() const;
void set_type(template_sel template_type, unsigned int list_length);
SocketCAN__connect__bcm_template& list_item(unsigned int list_index) const;
INTEGER_template& if__index();
const INTEGER_template& if__index() const;
int size_of() const;
void log() const;
void log_match(const SocketCAN__connect__bcm& match_value, boolean legacy = FALSE) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void set_param(Module_Param& param);
void check_restriction(template_res t_res, const char* t_name=NULL, boolean legacy = FALSE) const;
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
};
class SocketCAN__connect {
INTEGER field_id;
SocketCAN__connectu field_connectu;
public:
SocketCAN__connect();
SocketCAN__connect(const INTEGER& par_id,
const SocketCAN__connectu& par_connectu);
SocketCAN__connect(const SocketCAN__connect& other_value);
inline boolean is_component() { return FALSE; }
void clean_up();
const TTCN_Typedescriptor_t* get_descriptor() const;
SocketCAN__connect& operator=(const SocketCAN__connect& other_value);
boolean operator==(const SocketCAN__connect& other_value) const;
inline boolean operator!=(const SocketCAN__connect& other_value) const
{ return !(*this == other_value); }
boolean is_bound() const;
inline boolean is_present() const { return is_bound(); }
boolean is_value() const;
inline INTEGER& id()
{return field_id;}
inline const INTEGER& id() const
{return field_id;}
inline SocketCAN__connectu& connectu()
{return field_connectu;}
inline const SocketCAN__connectu& connectu() const
{return field_connectu;}
inline int size_of() const
{return 2;}
void log() const;
void set_param(Module_Param& param);
void set_implicit_omit();
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
};
class SocketCAN__connect_template : public Base_Template {
struct single_value_struct;
union {
single_value_struct *single_value;
struct {
unsigned int n_values;
SocketCAN__connect_template *list_value;
} value_list;
};
void set_specific();
void copy_value(const SocketCAN__connect& other_value);
void copy_template(const SocketCAN__connect_template& other_value);
public:
SocketCAN__connect_template();
SocketCAN__connect_template(template_sel other_value);
SocketCAN__connect_template(const SocketCAN__connect& other_value);
SocketCAN__connect_template(const OPTIONAL<SocketCAN__connect>& other_value);
SocketCAN__connect_template(const SocketCAN__connect_template& other_value);
~SocketCAN__connect_template();
SocketCAN__connect_template& operator=(template_sel other_value);
SocketCAN__connect_template& operator=(const SocketCAN__connect& other_value);
SocketCAN__connect_template& operator=(const OPTIONAL<SocketCAN__connect>& other_value);
SocketCAN__connect_template& operator=(const SocketCAN__connect_template& other_value);
boolean match(const SocketCAN__connect& other_value, boolean legacy = FALSE) const;
boolean is_bound() const;
boolean is_value() const;
void clean_up();
SocketCAN__connect valueof() const;
void set_type(template_sel template_type, unsigned int list_length);
SocketCAN__connect_template& list_item(unsigned int list_index) const;
INTEGER_template& id();
const INTEGER_template& id() const;
SocketCAN__connectu_template& connectu();
const SocketCAN__connectu_template& connectu() const;
int size_of() const;
void log() const;
void log_match(const SocketCAN__connect& match_value, boolean legacy = FALSE) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void set_param(Module_Param& param);
void check_restriction(template_res t_res, const char* t_name=NULL, boolean legacy = FALSE) const;
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
};
class SocketCAN__connect__result {
SocketCAN__Result field_result;
public:
SocketCAN__connect__result();
SocketCAN__connect__result(const SocketCAN__Result& par_result);
SocketCAN__connect__result(const SocketCAN__connect__result& other_value);
inline boolean is_component() { return FALSE; }
void clean_up();
const TTCN_Typedescriptor_t* get_descriptor() const;
SocketCAN__connect__result& operator=(const SocketCAN__connect__result& other_value);
boolean operator==(const SocketCAN__connect__result& other_value) const;
inline boolean operator!=(const SocketCAN__connect__result& other_value) const
{ return !(*this == other_value); }
boolean is_bound() const;
inline boolean is_present() const { return is_bound(); }
boolean is_value() const;
inline SocketCAN__Result& result()
{return field_result;}
inline const SocketCAN__Result& result() const
{return field_result;}
inline int size_of() const
{return 1;}
void log() const;
void set_param(Module_Param& param);
void set_implicit_omit();
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
};
class SocketCAN__connect__result_template : public Base_Template {
struct single_value_struct;
union {
single_value_struct *single_value;
struct {
unsigned int n_values;
SocketCAN__connect__result_template *list_value;
} value_list;
};
void set_specific();
void copy_value(const SocketCAN__connect__result& other_value);
void copy_template(const SocketCAN__connect__result_template& other_value);
public:
SocketCAN__connect__result_template();
SocketCAN__connect__result_template(template_sel other_value);
SocketCAN__connect__result_template(const SocketCAN__connect__result& other_value);
SocketCAN__connect__result_template(const OPTIONAL<SocketCAN__connect__result>& other_value);
SocketCAN__connect__result_template(const SocketCAN__connect__result_template& other_value);
~SocketCAN__connect__result_template();
SocketCAN__connect__result_template& operator=(template_sel other_value);
SocketCAN__connect__result_template& operator=(const SocketCAN__connect__result& other_value);
SocketCAN__connect__result_template& operator=(const OPTIONAL<SocketCAN__connect__result>& other_value);
SocketCAN__connect__result_template& operator=(const SocketCAN__connect__result_template& other_value);
boolean match(const SocketCAN__connect__result& other_value, boolean legacy = FALSE) const;
boolean is_bound() const;
boolean is_value() const;
void clean_up();
SocketCAN__connect__result valueof() const;
void set_type(template_sel template_type, unsigned int list_length);
SocketCAN__connect__result_template& list_item(unsigned int list_index) const;
SocketCAN__Result_template& result();
const SocketCAN__Result_template& result() const;
int size_of() const;
void log() const;
void log_match(const SocketCAN__connect__result& match_value, boolean legacy = FALSE) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void set_param(Module_Param& param);
void check_restriction(template_res t_res, const char* t_name=NULL, boolean legacy = FALSE) const;
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
};
class SocketCAN__bind__raw {
INTEGER field_if__index;
public:
SocketCAN__bind__raw();
SocketCAN__bind__raw(const INTEGER& par_if__index);
SocketCAN__bind__raw(const SocketCAN__bind__raw& other_value);
inline boolean is_component() { return FALSE; }
void clean_up();
const TTCN_Typedescriptor_t* get_descriptor() const;
SocketCAN__bind__raw& operator=(const SocketCAN__bind__raw& other_value);
boolean operator==(const SocketCAN__bind__raw& other_value) const;
inline boolean operator!=(const SocketCAN__bind__raw& other_value) const
{ return !(*this == other_value); }
boolean is_bound() const;
inline boolean is_present() const { return is_bound(); }
boolean is_value() const;
inline INTEGER& if__index()
{return field_if__index;}
inline const INTEGER& if__index() const
{return field_if__index;}
inline int size_of() const
{return 1;}
void log() const;
void set_param(Module_Param& param);
void set_implicit_omit();
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
};
class SocketCAN__bind__raw_template : public Base_Template {
struct single_value_struct;
union {
single_value_struct *single_value;
struct {
unsigned int n_values;
SocketCAN__bind__raw_template *list_value;
} value_list;
};
void set_specific();
void copy_value(const SocketCAN__bind__raw& other_value);
void copy_template(const SocketCAN__bind__raw_template& other_value);
public:
SocketCAN__bind__raw_template();
SocketCAN__bind__raw_template(template_sel other_value);
SocketCAN__bind__raw_template(const SocketCAN__bind__raw& other_value);
SocketCAN__bind__raw_template(const OPTIONAL<SocketCAN__bind__raw>& other_value);
SocketCAN__bind__raw_template(const SocketCAN__bind__raw_template& other_value);
~SocketCAN__bind__raw_template();
SocketCAN__bind__raw_template& operator=(template_sel other_value);
SocketCAN__bind__raw_template& operator=(const SocketCAN__bind__raw& other_value);
SocketCAN__bind__raw_template& operator=(const OPTIONAL<SocketCAN__bind__raw>& other_value);
SocketCAN__bind__raw_template& operator=(const SocketCAN__bind__raw_template& other_value);
boolean match(const SocketCAN__bind__raw& other_value, boolean legacy = FALSE) const;
boolean is_bound() const;
boolean is_value() const;
void clean_up();
SocketCAN__bind__raw valueof() const;
void set_type(template_sel template_type, unsigned int list_length);
SocketCAN__bind__raw_template& list_item(unsigned int list_index) const;
INTEGER_template& if__index();
const INTEGER_template& if__index() const;
int size_of() const;
void log() const;
void log_match(const SocketCAN__bind__raw& match_value, boolean legacy = FALSE) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void set_param(Module_Param& param);
void check_restriction(template_res t_res, const char* t_name=NULL, boolean legacy = FALSE) const;
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
};
class SocketCAN__bind__isotp {
INTEGER field_if__index;
OCTETSTRING field_rx__can__id;
OCTETSTRING field_tx__can__id;
public:
SocketCAN__bind__isotp();
SocketCAN__bind__isotp(const INTEGER& par_if__index,
const OCTETSTRING& par_rx__can__id,
const OCTETSTRING& par_tx__can__id);
SocketCAN__bind__isotp(const SocketCAN__bind__isotp& other_value);
inline boolean is_component() { return FALSE; }
void clean_up();
const TTCN_Typedescriptor_t* get_descriptor() const;
SocketCAN__bind__isotp& operator=(const SocketCAN__bind__isotp& other_value);
boolean operator==(const SocketCAN__bind__isotp& other_value) const;
inline boolean operator!=(const SocketCAN__bind__isotp& other_value) const
{ return !(*this == other_value); }
boolean is_bound() const;
inline boolean is_present() const { return is_bound(); }
boolean is_value() const;
inline INTEGER& if__index()
{return field_if__index;}
inline const INTEGER& if__index() const
{return field_if__index;}
inline OCTETSTRING& rx__can__id()
{return field_rx__can__id;}
inline const OCTETSTRING& rx__can__id() const
{return field_rx__can__id;}
inline OCTETSTRING& tx__can__id()
{return field_tx__can__id;}
inline const OCTETSTRING& tx__can__id() const
{return field_tx__can__id;}
inline int size_of() const
{return 3;}
void log() const;
void set_param(Module_Param& param);
void set_implicit_omit();
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
};
class SocketCAN__bind__isotp_template : public Base_Template {
struct single_value_struct;
union {
single_value_struct *single_value;
struct {
unsigned int n_values;
SocketCAN__bind__isotp_template *list_value;
} value_list;
};
void set_specific();
void copy_value(const SocketCAN__bind__isotp& other_value);
void copy_template(const SocketCAN__bind__isotp_template& other_value);
public:
SocketCAN__bind__isotp_template();
SocketCAN__bind__isotp_template(template_sel other_value);
SocketCAN__bind__isotp_template(const SocketCAN__bind__isotp& other_value);
SocketCAN__bind__isotp_template(const OPTIONAL<SocketCAN__bind__isotp>& other_value);
SocketCAN__bind__isotp_template(const SocketCAN__bind__isotp_template& other_value);
~SocketCAN__bind__isotp_template();
SocketCAN__bind__isotp_template& operator=(template_sel other_value);
SocketCAN__bind__isotp_template& operator=(const SocketCAN__bind__isotp& other_value);
SocketCAN__bind__isotp_template& operator=(const OPTIONAL<SocketCAN__bind__isotp>& other_value);
SocketCAN__bind__isotp_template& operator=(const SocketCAN__bind__isotp_template& other_value);
boolean match(const SocketCAN__bind__isotp& other_value, boolean legacy = FALSE) const;
boolean is_bound() const;
boolean is_value() const;
void clean_up();
SocketCAN__bind__isotp valueof() const;
void set_type(template_sel template_type, unsigned int list_length);
SocketCAN__bind__isotp_template& list_item(unsigned int list_index) const;
INTEGER_template& if__index();
const INTEGER_template& if__index() const;
OCTETSTRING_template& rx__can__id();
const OCTETSTRING_template& rx__can__id() const;
OCTETSTRING_template& tx__can__id();
const OCTETSTRING_template& tx__can__id() const;
int size_of() const;
void log() const;
void log_match(const SocketCAN__bind__isotp& match_value, boolean legacy = FALSE) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void set_param(Module_Param& param);
void check_restriction(template_res t_res, const char* t_name=NULL, boolean legacy = FALSE) const;
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
};
class SocketCAN__bindu : public Base_Type {
public:
enum union_selection_type { UNBOUND_VALUE = 0, ALT_raw = 1, ALT_isotp = 2 };
private:
union_selection_type union_selection;
union {
SocketCAN__bind__raw *field_raw;
SocketCAN__bind__isotp *field_isotp;
};
void copy_value(const SocketCAN__bindu& other_value);
public:
SocketCAN__bindu();
SocketCAN__bindu(const SocketCAN__bindu& other_value);
~SocketCAN__bindu();
SocketCAN__bindu& operator=(const SocketCAN__bindu& other_value);
boolean operator==(const SocketCAN__bindu& other_value) const;
inline boolean operator!=(const SocketCAN__bindu& other_value) const { return !(*this == other_value); }
SocketCAN__bind__raw& raw();
const SocketCAN__bind__raw& raw() const;
SocketCAN__bind__isotp& isotp();
const SocketCAN__bind__isotp& isotp() 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();
inline boolean is_present() const { return is_bound(); }
void log() const;
void set_param(Module_Param& param);
void set_implicit_omit();
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
};
class SocketCAN__bindu_template : public Base_Template {
union {
struct {
SocketCAN__bindu::union_selection_type union_selection;
union {
SocketCAN__bind__raw_template *field_raw;
SocketCAN__bind__isotp_template *field_isotp;
};
} single_value;
struct {
unsigned int n_values;
SocketCAN__bindu_template *list_value;
} value_list;
};
void copy_value(const SocketCAN__bindu& other_value);
void copy_template(const SocketCAN__bindu_template& other_value);
public:
SocketCAN__bindu_template();
SocketCAN__bindu_template(template_sel other_value);
SocketCAN__bindu_template(const SocketCAN__bindu& other_value);
SocketCAN__bindu_template(const OPTIONAL<SocketCAN__bindu>& other_value);
SocketCAN__bindu_template(const SocketCAN__bindu_template& other_value);
~SocketCAN__bindu_template();
void clean_up();
SocketCAN__bindu_template& operator=(template_sel other_value);
SocketCAN__bindu_template& operator=(const SocketCAN__bindu& other_value);
SocketCAN__bindu_template& operator=(const OPTIONAL<SocketCAN__bindu>& other_value);
SocketCAN__bindu_template& operator=(const SocketCAN__bindu_template& other_value);
boolean match(const SocketCAN__bindu& other_value, boolean legacy = FALSE) const;
boolean is_value() const;SocketCAN__bindu valueof() const;
SocketCAN__bindu_template& list_item(unsigned int list_index) const;
void set_type(template_sel template_type, unsigned int list_length);
SocketCAN__bind__raw_template& raw();
const SocketCAN__bind__raw_template& raw() const;
SocketCAN__bind__isotp_template& isotp();
const SocketCAN__bind__isotp_template& isotp() const;
boolean ischosen(SocketCAN__bindu::union_selection_type checked_selection) const;
void log() const;
void log_match(const SocketCAN__bindu& 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);
void check_restriction(template_res t_res, const char* t_name=NULL, boolean legacy = FALSE) const;
};
class SocketCAN__bind {
INTEGER field_id;
SocketCAN__bindu field_bindu;
public:
SocketCAN__bind();
SocketCAN__bind(const INTEGER& par_id,
const SocketCAN__bindu& par_bindu);
SocketCAN__bind(const SocketCAN__bind& other_value);
inline boolean is_component() { return FALSE; }
void clean_up();
const TTCN_Typedescriptor_t* get_descriptor() const;
SocketCAN__bind& operator=(const SocketCAN__bind& other_value);
boolean operator==(const SocketCAN__bind& other_value) const;
inline boolean operator!=(const SocketCAN__bind& other_value) const
{ return !(*this == other_value); }
boolean is_bound() const;
inline boolean is_present() const { return is_bound(); }
boolean is_value() const;
inline INTEGER& id()
{return field_id;}
inline const INTEGER& id() const
{return field_id;}
inline SocketCAN__bindu& bindu()
{return field_bindu;}
inline const SocketCAN__bindu& bindu() const
{return field_bindu;}
inline int size_of() const
{return 2;}
void log() const;
void set_param(Module_Param& param);
void set_implicit_omit();
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
};
class SocketCAN__bind_template : public Base_Template {
struct single_value_struct;
union {
single_value_struct *single_value;
struct {
unsigned int n_values;
SocketCAN__bind_template *list_value;
} value_list;
};
void set_specific();
void copy_value(const SocketCAN__bind& other_value);
void copy_template(const SocketCAN__bind_template& other_value);
public:
SocketCAN__bind_template();
SocketCAN__bind_template(template_sel other_value);
SocketCAN__bind_template(const SocketCAN__bind& other_value);
SocketCAN__bind_template(const OPTIONAL<SocketCAN__bind>& other_value);
SocketCAN__bind_template(const SocketCAN__bind_template& other_value);
~SocketCAN__bind_template();
SocketCAN__bind_template& operator=(template_sel other_value);
SocketCAN__bind_template& operator=(const SocketCAN__bind& other_value);
SocketCAN__bind_template& operator=(const OPTIONAL<SocketCAN__bind>& other_value);
SocketCAN__bind_template& operator=(const SocketCAN__bind_template& other_value);
boolean match(const SocketCAN__bind& other_value, boolean legacy = FALSE) const;
boolean is_bound() const;
boolean is_value() const;
void clean_up();
SocketCAN__bind valueof() const;
void set_type(template_sel template_type, unsigned int list_length);
SocketCAN__bind_template& list_item(unsigned int list_index) const;
INTEGER_template& id();
const INTEGER_template& id() const;
SocketCAN__bindu_template& bindu();
const SocketCAN__bindu_template& bindu() const;
int size_of() const;
void log() const;
void log_match(const SocketCAN__bind& match_value, boolean legacy = FALSE) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void set_param(Module_Param& param);
void check_restriction(template_res t_res, const char* t_name=NULL, boolean legacy = FALSE) const;
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
};
class SocketCAN__bind__result {
SocketCAN__Result field_result;
public:
SocketCAN__bind__result();
SocketCAN__bind__result(const SocketCAN__Result& par_result);
SocketCAN__bind__result(const SocketCAN__bind__result& other_value);
inline boolean is_component() { return FALSE; }
void clean_up();
const TTCN_Typedescriptor_t* get_descriptor() const;
SocketCAN__bind__result& operator=(const SocketCAN__bind__result& other_value);
boolean operator==(const SocketCAN__bind__result& other_value) const;
inline boolean operator!=(const SocketCAN__bind__result& other_value) const
{ return !(*this == other_value); }
boolean is_bound() const;
inline boolean is_present() const { return is_bound(); }
boolean is_value() const;
inline SocketCAN__Result& result()
{return field_result;}
inline const SocketCAN__Result& result() const
{return field_result;}
inline int size_of() const
{return 1;}
void log() const;
void set_param(Module_Param& param);
void set_implicit_omit();
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
};
class SocketCAN__bind__result_template : public Base_Template {
struct single_value_struct;
union {
single_value_struct *single_value;
struct {
unsigned int n_values;
SocketCAN__bind__result_template *list_value;
} value_list;
};
void set_specific();
void copy_value(const SocketCAN__bind__result& other_value);
void copy_template(const SocketCAN__bind__result_template& other_value);
public:
SocketCAN__bind__result_template();
SocketCAN__bind__result_template(template_sel other_value);
SocketCAN__bind__result_template(const SocketCAN__bind__result& other_value);
SocketCAN__bind__result_template(const OPTIONAL<SocketCAN__bind__result>& other_value);
SocketCAN__bind__result_template(const SocketCAN__bind__result_template& other_value);
~SocketCAN__bind__result_template();
SocketCAN__bind__result_template& operator=(template_sel other_value);
SocketCAN__bind__result_template& operator=(const SocketCAN__bind__result& other_value);
SocketCAN__bind__result_template& operator=(const OPTIONAL<SocketCAN__bind__result>& other_value);
SocketCAN__bind__result_template& operator=(const SocketCAN__bind__result_template& other_value);
boolean match(const SocketCAN__bind__result& other_value, boolean legacy = FALSE) const;
boolean is_bound() const;
boolean is_value() const;
void clean_up();
SocketCAN__bind__result valueof() const;
void set_type(template_sel template_type, unsigned int list_length);
SocketCAN__bind__result_template& list_item(unsigned int list_index) const;
SocketCAN__Result_template& result();
const SocketCAN__Result_template& result() const;
int size_of() const;
void log() const;
void log_match(const SocketCAN__bind__result& match_value, boolean legacy = FALSE) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void set_param(Module_Param& param);
void check_restriction(template_res t_res, const char* t_name=NULL, boolean legacy = FALSE) const;
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
};
class SocketCAN__send__data {
INTEGER field_id;
OPTIONAL<SocketCAN__send__data__ifu> field_ifu;
SocketCAN__CAN__or__CAN__FD__frame field_frame;
public:
SocketCAN__send__data();
SocketCAN__send__data(const INTEGER& par_id,
const OPTIONAL<SocketCAN__send__data__ifu>& par_ifu,
const SocketCAN__CAN__or__CAN__FD__frame& par_frame);
SocketCAN__send__data(const SocketCAN__send__data& other_value);
inline boolean is_component() { return FALSE; }
void clean_up();
const TTCN_Typedescriptor_t* get_descriptor() const;
SocketCAN__send__data& operator=(const SocketCAN__send__data& other_value);
boolean operator==(const SocketCAN__send__data& other_value) const;
inline boolean operator!=(const SocketCAN__send__data& other_value) const
{ return !(*this == other_value); }
boolean is_bound() const;
inline boolean is_present() const { return is_bound(); }
boolean is_value() const;
inline INTEGER& id()
{return field_id;}
inline const INTEGER& id() const
{return field_id;}
inline OPTIONAL<SocketCAN__send__data__ifu>& ifu()
{return field_ifu;}
inline const OPTIONAL<SocketCAN__send__data__ifu>& ifu() const
{return field_ifu;}
inline SocketCAN__CAN__or__CAN__FD__frame& frame()
{return field_frame;}
inline const SocketCAN__CAN__or__CAN__FD__frame& frame() const
{return field_frame;}
int size_of() const;
void log() const;
void set_param(Module_Param& param);
void set_implicit_omit();
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
};
class SocketCAN__send__data_template : public Base_Template {
struct single_value_struct;
union {
single_value_struct *single_value;
struct {
unsigned int n_values;
SocketCAN__send__data_template *list_value;
} value_list;
};
void set_specific();
void copy_value(const SocketCAN__send__data& other_value);
void copy_template(const SocketCAN__send__data_template& other_value);
public:
SocketCAN__send__data_template();
SocketCAN__send__data_template(template_sel other_value);
SocketCAN__send__data_template(const SocketCAN__send__data& other_value);
SocketCAN__send__data_template(const OPTIONAL<SocketCAN__send__data>& other_value);
SocketCAN__send__data_template(const SocketCAN__send__data_template& other_value);
~SocketCAN__send__data_template();
SocketCAN__send__data_template& operator=(template_sel other_value);
SocketCAN__send__data_template& operator=(const SocketCAN__send__data& other_value);
SocketCAN__send__data_template& operator=(const OPTIONAL<SocketCAN__send__data>& other_value);
SocketCAN__send__data_template& operator=(const SocketCAN__send__data_template& other_value);
boolean match(const SocketCAN__send__data& other_value, boolean legacy = FALSE) const;
boolean is_bound() const;
boolean is_value() const;
void clean_up();
SocketCAN__send__data valueof() const;
void set_type(template_sel template_type, unsigned int list_length);
SocketCAN__send__data_template& list_item(unsigned int list_index) const;
INTEGER_template& id();
const INTEGER_template& id() const;
SocketCAN__send__data__ifu_template& ifu();
const SocketCAN__send__data__ifu_template& ifu() const;
SocketCAN__CAN__or__CAN__FD__frame_template& frame();
const SocketCAN__CAN__or__CAN__FD__frame_template& frame() const;
int size_of() const;
void log() const;
void log_match(const SocketCAN__send__data& match_value, boolean legacy = FALSE) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void set_param(Module_Param& param);
void check_restriction(template_res t_res, const char* t_name=NULL, boolean legacy = FALSE) const;
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
};
class SocketCAN__send__data__result {
SocketCAN__Result field_result;
public:
SocketCAN__send__data__result();
SocketCAN__send__data__result(const SocketCAN__Result& par_result);
SocketCAN__send__data__result(const SocketCAN__send__data__result& other_value);
inline boolean is_component() { return FALSE; }
void clean_up();
const TTCN_Typedescriptor_t* get_descriptor() const;
SocketCAN__send__data__result& operator=(const SocketCAN__send__data__result& other_value);
boolean operator==(const SocketCAN__send__data__result& other_value) const;
inline boolean operator!=(const SocketCAN__send__data__result& other_value) const
{ return !(*this == other_value); }
boolean is_bound() const;
inline boolean is_present() const { return is_bound(); }
boolean is_value() const;
inline SocketCAN__Result& result()
{return field_result;}
inline const SocketCAN__Result& result() const
{return field_result;}
inline int size_of() const
{return 1;}
void log() const;
void set_param(Module_Param& param);
void set_implicit_omit();
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
};
class SocketCAN__send__data__result_template : public Base_Template {
struct single_value_struct;
union {
single_value_struct *single_value;
struct {
unsigned int n_values;
SocketCAN__send__data__result_template *list_value;
} value_list;
};
void set_specific();
void copy_value(const SocketCAN__send__data__result& other_value);
void copy_template(const SocketCAN__send__data__result_template& other_value);
public:
SocketCAN__send__data__result_template();
SocketCAN__send__data__result_template(template_sel other_value);
SocketCAN__send__data__result_template(const SocketCAN__send__data__result& other_value);
SocketCAN__send__data__result_template(const OPTIONAL<SocketCAN__send__data__result>& other_value);
SocketCAN__send__data__result_template(const SocketCAN__send__data__result_template& other_value);
~SocketCAN__send__data__result_template();
SocketCAN__send__data__result_template& operator=(template_sel other_value);
SocketCAN__send__data__result_template& operator=(const SocketCAN__send__data__result& other_value);
SocketCAN__send__data__result_template& operator=(const OPTIONAL<SocketCAN__send__data__result>& other_value);
SocketCAN__send__data__result_template& operator=(const SocketCAN__send__data__result_template& other_value);
boolean match(const SocketCAN__send__data__result& other_value, boolean legacy = FALSE) const;
boolean is_bound() const;
boolean is_value() const;
void clean_up();
SocketCAN__send__data__result valueof() const;
void set_type(template_sel template_type, unsigned int list_length);
SocketCAN__send__data__result_template& list_item(unsigned int list_index) const;
SocketCAN__Result_template& result();
const SocketCAN__Result_template& result() const;
int size_of() const;
void log() const;
void log_match(const SocketCAN__send__data__result& match_value, boolean legacy = FALSE) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void set_param(Module_Param& param);
void check_restriction(template_res t_res, const char* t_name=NULL, boolean legacy = FALSE) const;
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
};
class SocketCAN__write__data {
INTEGER field_id;
Bcm::SocketCAN__bcm__frame field_bcm__tx__msg;
public:
SocketCAN__write__data();
SocketCAN__write__data(const INTEGER& par_id,
const Bcm::SocketCAN__bcm__frame& par_bcm__tx__msg);
SocketCAN__write__data(const SocketCAN__write__data& other_value);
inline boolean is_component() { return FALSE; }
void clean_up();
const TTCN_Typedescriptor_t* get_descriptor() const;
SocketCAN__write__data& operator=(const SocketCAN__write__data& other_value);
boolean operator==(const SocketCAN__write__data& other_value) const;
inline boolean operator!=(const SocketCAN__write__data& other_value) const
{ return !(*this == other_value); }
boolean is_bound() const;
inline boolean is_present() const { return is_bound(); }
boolean is_value() const;
inline INTEGER& id()
{return field_id;}
inline const INTEGER& id() const
{return field_id;}
inline Bcm::SocketCAN__bcm__frame& bcm__tx__msg()
{return field_bcm__tx__msg;}
inline const Bcm::SocketCAN__bcm__frame& bcm__tx__msg() const
{return field_bcm__tx__msg;}
inline int size_of() const
{return 2;}
void log() const;
void set_param(Module_Param& param);
void set_implicit_omit();
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
};
class SocketCAN__write__data_template : public Base_Template {
struct single_value_struct;
union {
single_value_struct *single_value;
struct {
unsigned int n_values;
SocketCAN__write__data_template *list_value;
} value_list;
};
void set_specific();
void copy_value(const SocketCAN__write__data& other_value);
void copy_template(const SocketCAN__write__data_template& other_value);
public:
SocketCAN__write__data_template();
SocketCAN__write__data_template(template_sel other_value);
SocketCAN__write__data_template(const SocketCAN__write__data& other_value);
SocketCAN__write__data_template(const OPTIONAL<SocketCAN__write__data>& other_value);
SocketCAN__write__data_template(const SocketCAN__write__data_template& other_value);
~SocketCAN__write__data_template();
SocketCAN__write__data_template& operator=(template_sel other_value);
SocketCAN__write__data_template& operator=(const SocketCAN__write__data& other_value);
SocketCAN__write__data_template& operator=(const OPTIONAL<SocketCAN__write__data>& other_value);
SocketCAN__write__data_template& operator=(const SocketCAN__write__data_template& other_value);
boolean match(const SocketCAN__write__data& other_value, boolean legacy = FALSE) const;
boolean is_bound() const;
boolean is_value() const;
void clean_up();
SocketCAN__write__data valueof() const;
void set_type(template_sel template_type, unsigned int list_length);
SocketCAN__write__data_template& list_item(unsigned int list_index) const;
INTEGER_template& id();
const INTEGER_template& id() const;
Bcm::SocketCAN__bcm__frame_template& bcm__tx__msg();
const Bcm::SocketCAN__bcm__frame_template& bcm__tx__msg() const;
int size_of() const;
void log() const;
void log_match(const SocketCAN__write__data& match_value, boolean legacy = FALSE) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void set_param(Module_Param& param);
void check_restriction(template_res t_res, const char* t_name=NULL, boolean legacy = FALSE) const;
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
};
class SocketCAN__write__data__result {
SocketCAN__Result field_result;
public:
SocketCAN__write__data__result();
SocketCAN__write__data__result(const SocketCAN__Result& par_result);
SocketCAN__write__data__result(const SocketCAN__write__data__result& other_value);
inline boolean is_component() { return FALSE; }
void clean_up();
const TTCN_Typedescriptor_t* get_descriptor() const;
SocketCAN__write__data__result& operator=(const SocketCAN__write__data__result& other_value);
boolean operator==(const SocketCAN__write__data__result& other_value) const;
inline boolean operator!=(const SocketCAN__write__data__result& other_value) const
{ return !(*this == other_value); }
boolean is_bound() const;
inline boolean is_present() const { return is_bound(); }
boolean is_value() const;
inline SocketCAN__Result& result()
{return field_result;}
inline const SocketCAN__Result& result() const
{return field_result;}
inline int size_of() const
{return 1;}
void log() const;
void set_param(Module_Param& param);
void set_implicit_omit();
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
};
class SocketCAN__write__data__result_template : public Base_Template {
struct single_value_struct;
union {
single_value_struct *single_value;
struct {
unsigned int n_values;
SocketCAN__write__data__result_template *list_value;
} value_list;
};
void set_specific();
void copy_value(const SocketCAN__write__data__result& other_value);
void copy_template(const SocketCAN__write__data__result_template& other_value);
public:
SocketCAN__write__data__result_template();
SocketCAN__write__data__result_template(template_sel other_value);
SocketCAN__write__data__result_template(const SocketCAN__write__data__result& other_value);
SocketCAN__write__data__result_template(const OPTIONAL<SocketCAN__write__data__result>& other_value);
SocketCAN__write__data__result_template(const SocketCAN__write__data__result_template& other_value);
~SocketCAN__write__data__result_template();
SocketCAN__write__data__result_template& operator=(template_sel other_value);
SocketCAN__write__data__result_template& operator=(const SocketCAN__write__data__result& other_value);
SocketCAN__write__data__result_template& operator=(const OPTIONAL<SocketCAN__write__data__result>& other_value);
SocketCAN__write__data__result_template& operator=(const SocketCAN__write__data__result_template& other_value);
boolean match(const SocketCAN__write__data__result& other_value, boolean legacy = FALSE) const;
boolean is_bound() const;
boolean is_value() const;
void clean_up();
SocketCAN__write__data__result valueof() const;
void set_type(template_sel template_type, unsigned int list_length);
SocketCAN__write__data__result_template& list_item(unsigned int list_index) const;
SocketCAN__Result_template& result();
const SocketCAN__Result_template& result() const;
int size_of() const;
void log() const;
void log_match(const SocketCAN__write__data__result& match_value, boolean legacy = FALSE) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void set_param(Module_Param& param);
void check_restriction(template_res t_res, const char* t_name=NULL, boolean legacy = FALSE) const;
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
};
class SocketCAN__write__isotp {
INTEGER field_id;
OCTETSTRING field_pdu;
public:
SocketCAN__write__isotp();
SocketCAN__write__isotp(const INTEGER& par_id,
const OCTETSTRING& par_pdu);
SocketCAN__write__isotp(const SocketCAN__write__isotp& other_value);
inline boolean is_component() { return FALSE; }
void clean_up();
const TTCN_Typedescriptor_t* get_descriptor() const;
SocketCAN__write__isotp& operator=(const SocketCAN__write__isotp& other_value);
boolean operator==(const SocketCAN__write__isotp& other_value) const;
inline boolean operator!=(const SocketCAN__write__isotp& other_value) const
{ return !(*this == other_value); }
boolean is_bound() const;
inline boolean is_present() const { return is_bound(); }
boolean is_value() const;
inline INTEGER& id()
{return field_id;}
inline const INTEGER& id() const
{return field_id;}
inline OCTETSTRING& pdu()
{return field_pdu;}
inline const OCTETSTRING& pdu() const
{return field_pdu;}
inline int size_of() const
{return 2;}
void log() const;
void set_param(Module_Param& param);
void set_implicit_omit();
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
};
class SocketCAN__write__isotp_template : public Base_Template {
struct single_value_struct;
union {
single_value_struct *single_value;
struct {
unsigned int n_values;
SocketCAN__write__isotp_template *list_value;
} value_list;
};
void set_specific();
void copy_value(const SocketCAN__write__isotp& other_value);
void copy_template(const SocketCAN__write__isotp_template& other_value);
public:
SocketCAN__write__isotp_template();
SocketCAN__write__isotp_template(template_sel other_value);
SocketCAN__write__isotp_template(const SocketCAN__write__isotp& other_value);
SocketCAN__write__isotp_template(const OPTIONAL<SocketCAN__write__isotp>& other_value);
SocketCAN__write__isotp_template(const SocketCAN__write__isotp_template& other_value);
~SocketCAN__write__isotp_template();
SocketCAN__write__isotp_template& operator=(template_sel other_value);
SocketCAN__write__isotp_template& operator=(const SocketCAN__write__isotp& other_value);
SocketCAN__write__isotp_template& operator=(const OPTIONAL<SocketCAN__write__isotp>& other_value);
SocketCAN__write__isotp_template& operator=(const SocketCAN__write__isotp_template& other_value);
boolean match(const SocketCAN__write__isotp& other_value, boolean legacy = FALSE) const;
boolean is_bound() const;
boolean is_value() const;
void clean_up();
SocketCAN__write__isotp valueof() const;
void set_type(template_sel template_type, unsigned int list_length);
SocketCAN__write__isotp_template& list_item(unsigned int list_index) const;
INTEGER_template& id();
const INTEGER_template& id() const;
OCTETSTRING_template& pdu();
const OCTETSTRING_template& pdu() const;
int size_of() const;
void log() const;
void log_match(const SocketCAN__write__isotp& match_value, boolean legacy = FALSE) const;
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
void set_param(Module_Param& param);
void check_restriction(template_res t_res, const char* t_name=NULL, boolean legacy = FALSE) const;
boolean is_present(boolean legacy = FALSE) const;
boolean match_omit(boolean legacy = FALSE) const;
};
class SocketCAN__write__isotp__result {
SocketCAN__Result field_result;
public:
SocketCAN__write__isotp__result();
SocketCAN__write__isotp__result(const SocketCAN__Result& par_result);
SocketCAN__write__isotp__result(const SocketCAN__write__isotp__result& other_value);
inline boolean is_component() { return FALSE; }
void clean_up();
const TTCN_Typedescriptor_t* get_descriptor() const;
SocketCAN__write__isotp__result& operator=(const SocketCAN__write__isotp__result& other_value);
boolean operator==(const SocketCAN__write__isotp__result& other_value) const;
inline boolean operator!=(const SocketCAN__write__isotp__result& other_value) const
{ return !(*this == other_value); }
boolean is_bound() const;
inline boolean is_present() const { return is_bound(); }
boolean is_value() const;
inline SocketCAN__Result& result()
{return field_result;}
inline const SocketCAN__Result& result() const
{return field_result;}
inline int size_of() const
{return 1;}
void log() const;
void set_param(Module_Param& param);
void set_implicit_omit();
void encode_text(Text_Buf& text_buf) const;
void decode_text(Text_Buf& text_buf);
};
class SocketCAN__write__isotp__result_template : public Base_Template {
struct single_value_struct;
union {
single_value_struct *single_value;
struct {
unsigned int n_values;
SocketCAN__write__isotp__result_template *list_value;
} value_list;
};
void set_specific();
void copy_value(const SocketCAN__write__isotp__result& other_value);
void copy_template(const SocketCAN__write__isotp__result_template& other_value);
public:
SocketCAN__write__isotp__result_template();
SocketCAN__write__isotp__result_template(template_sel other_value);
SocketCAN__write__isotp__result_template(const SocketCAN__write__isotp__result& other_value);
SocketCAN__write__isotp__result_template(const OPTIONAL<SocketCAN__write__isotp__result>& other_value