Commit 1560c32b authored by Lenard Nagy's avatar Lenard Nagy
Browse files

Added demo directory


Signed-off-by: Lenard Nagy's avatarLenard Nagy <lenard.nagy@ericsson.com>
parent b683b507
This source diff could not be displayed because it is too large. You can view the blob instead.
Bcm.o Bcm.d : Bcm.cc Bcm.hh \
/home/elnrnag/Ericsson/git/titan.core/Install/include/TTCN3.hh \
/home/elnrnag/Ericsson/git/titan.core/Install/include/version.h \
/home/elnrnag/Ericsson/git/titan.core/Install/include/cversion.h \
/home/elnrnag/Ericsson/git/titan.core/Install/include/JSON.hh \
/home/elnrnag/Ericsson/git/titan.core/Install/include/Types.h \
/home/elnrnag/Ericsson/git/titan.core/Install/include/Vector.hh \
/home/elnrnag/Ericsson/git/titan.core/Install/include/Error.hh \
/home/elnrnag/Ericsson/git/titan.core/Install/include/Basetype.hh \
/home/elnrnag/Ericsson/git/titan.core/Install/include/Encdec.hh \
/home/elnrnag/Ericsson/git/titan.core/Install/include/RInt.hh \
/home/elnrnag/Ericsson/git/titan.core/Install/include/JSON_Tokenizer.hh \
/home/elnrnag/Ericsson/git/titan.core/Install/include/Logger.hh \
/home/elnrnag/Ericsson/git/titan.core/Install/include/Template.hh \
/home/elnrnag/Ericsson/git/titan.core/Install/include/Integer.hh \
/home/elnrnag/Ericsson/git/titan.core/Install/include/Float.hh \
/home/elnrnag/Ericsson/git/titan.core/Install/include/ttcn3float.hh \
/home/elnrnag/Ericsson/git/titan.core/Install/include/Boolean.hh \
/home/elnrnag/Ericsson/git/titan.core/Install/include/ASN_Null.hh \
/home/elnrnag/Ericsson/git/titan.core/Install/include/Optional.hh \
/home/elnrnag/Ericsson/git/titan.core/Install/include/Param_Types.hh \
/home/elnrnag/Ericsson/git/titan.core/Install/include/memory.h \
/home/elnrnag/Ericsson/git/titan.core/Install/include/BER.hh \
/home/elnrnag/Ericsson/git/titan.core/Install/include/Textbuf.hh \
/home/elnrnag/Ericsson/git/titan.core/Install/include/Parameters.h \
/home/elnrnag/Ericsson/git/titan.core/Install/include/XER.hh \
/home/elnrnag/Ericsson/git/titan.core/Install/include/XmlReader.hh \
/home/elnrnag/Ericsson/git/titan.core/Install/include/Objid.hh \
/home/elnrnag/Ericsson/git/titan.core/Install/include/Verdicttype.hh \
/home/elnrnag/Ericsson/git/titan.core/Install/include/Component.hh \
/home/elnrnag/Ericsson/git/titan.core/Install/include/Bitstring.hh \
/home/elnrnag/Ericsson/git/titan.core/Install/include/RAW.hh \
/home/elnrnag/Ericsson/git/titan.core/Install/include/CharCoding.hh \
/home/elnrnag/Ericsson/git/titan.core/Install/include/Hexstring.hh \
/home/elnrnag/Ericsson/git/titan.core/Install/include/Octetstring.hh \
/home/elnrnag/Ericsson/git/titan.core/Install/include/ASN_Any.hh \
/home/elnrnag/Ericsson/git/titan.core/Install/include/Charstring.hh \
/home/elnrnag/Ericsson/git/titan.core/Install/include/Universal_charstring.hh \
/home/elnrnag/Ericsson/git/titan.core/Install/include/Struct_of.hh \
/home/elnrnag/Ericsson/git/titan.core/Install/include/Array.hh \
/home/elnrnag/Ericsson/git/titan.core/Install/include/ASN_CharacterString.hh \
/home/elnrnag/Ericsson/git/titan.core/Install/include/ASN_External.hh \
/home/elnrnag/Ericsson/git/titan.core/Install/include/TEXT.hh \
/home/elnrnag/Ericsson/git/titan.core/Install/include/ASN_EmbeddedPDV.hh \
/home/elnrnag/Ericsson/git/titan.core/Install/include/Addfunc.hh \
/home/elnrnag/Ericsson/git/titan.core/Install/include/Timer.hh \
/home/elnrnag/Ericsson/git/titan.core/Install/include/Port.hh \
/home/elnrnag/Ericsson/git/titan.core/Install/include/Event_Handler.hh \
/home/elnrnag/Ericsson/git/titan.core/Install/include/RT1/TitanLoggerApiSimple.hh \
/home/elnrnag/Ericsson/git/titan.core/Install/include/RT1/PreGenRecordOf.hh \
/home/elnrnag/Ericsson/git/titan.core/Install/include/Module_list.hh \
/home/elnrnag/Ericsson/git/titan.core/Install/include/Snapshot.hh \
/home/elnrnag/Ericsson/git/titan.core/Install/include/Default.hh \
/home/elnrnag/Ericsson/git/titan.core/Install/include/Runtime.hh \
/home/elnrnag/Ericsson/git/titan.core/Install/include/OER.hh \
/home/elnrnag/Ericsson/git/titan.core/Install/include/Profiler.hh \
/home/elnrnag/Ericsson/git/titan.core/Install/include/ProfilerTools.hh \
/home/elnrnag/Ericsson/git/titan.core/Install/include/Debugger.hh Can.hh \
General_Types.hh
// 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 Bcm_HH
#define Bcm_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 "Can.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 Bcm_HH
#endif
namespace Bcm {
/* Forward declarations of classes */
class BcmFlagsBitIndex__enum;
class BcmFlagsBitIndex__enum_template;
class BcmFlags__enum;
class BcmFlags__enum_template;
class BcmOpcode__enum;
class BcmOpcode__enum_template;
class Bcm__timeval;
class Bcm__timeval_template;
class SocketCAN__bcm__frame_frames;
class SocketCAN__bcm__frame_frames_template;
class SocketCAN__bcm__frame_frames_can__frame;
class SocketCAN__bcm__frame_frames_can__frame_template;
class SocketCAN__bcm__frame_frames_canfd__frame;
class SocketCAN__bcm__frame_frames_canfd__frame_template;
class SocketCAN__bcm__frame;
class SocketCAN__bcm__frame_template;
} /* end of namespace */
#ifndef Bcm_HH
#define Bcm_HH
namespace Bcm {
/* Type definitions */
typedef INTEGER Bcm__long;
typedef INTEGER_template Bcm__long_template;
/* Class definitions */
class BcmFlagsBitIndex__enum : public Base_Type { // enum
friend class BcmFlagsBitIndex__enum_template;
public:
enum enum_type { e__CAN__BCM__SETTIMER__BITINDEX = 0, e__CAN__BCM__STARTTIMER__BITINDEX = 1, e__CAN__BCM__TX__COUNTEVT__BITINDEX = 2, e__CAN__BCM__TX__ANNOUNCE__BITINDEX = 3, e__CAN__BCM__TX__CP__CAN__ID__BITINDEX = 4, e__CAN__BCM__RX__FILTER__ID__BITINDEX = 5, e__CAN__BCM__RX__CHECK__DLC__BITINDEX = 6, e__CAN__BCM__RX__NO__AUTOTIMER__BITINDEX = 7, e__CAN__BCM__RX__ANNOUNCE__RESUME__BITINDEX = 8, e__CAN__BCM__TX__RESET__MULTI__IDX__BITINDEX = 9, e__CAN__BCM__RX__RTR__FRAME__BITINDEX = 10, UNKNOWN_VALUE = 11, UNBOUND_VALUE = 12 };
private:
enum_type enum_value;
public:
BcmFlagsBitIndex__enum();
BcmFlagsBitIndex__enum(int other_value);
BcmFlagsBitIndex__enum(enum_type other_value);
BcmFlagsBitIndex__enum(const BcmFlagsBitIndex__enum& other_value);
BcmFlagsBitIndex__enum& operator=(int other_value);
BcmFlagsBitIndex__enum& operator=(enum_type other_value);
BcmFlagsBitIndex__enum& operator=(const BcmFlagsBitIndex__enum& other_value);
boolean operator==(enum_type other_value) const;
boolean operator==(const BcmFlagsBitIndex__enum& other_value) const;
inline boolean operator!=(enum_type other_value) const { return !(*this == other_value); }
inline boolean operator!=(const BcmFlagsBitIndex__enum& other_value) const { return !(*this == other_value); }
boolean operator<(enum_type other_value) const;
boolean operator<(const BcmFlagsBitIndex__enum& other_value) const;
boolean operator>(enum_type other_value) const;
boolean operator>(const BcmFlagsBitIndex__enum& other_value) const;
inline boolean operator<=(enum_type other_value) const { return !(*this > other_value); }
inline boolean operator<=(const BcmFlagsBitIndex__enum& other_value) const { return !(*this > other_value); }
inline boolean operator>=(enum_type other_value) const { return !(*this < other_value); }
inline boolean operator>=(const BcmFlagsBitIndex__enum& 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 BcmFlagsBitIndex__enum& 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 BcmFlagsBitIndex__enum_template : public Base_Template {
union {
BcmFlagsBitIndex__enum::enum_type single_value;
struct {
unsigned int n_values;
BcmFlagsBitIndex__enum_template *list_value;
} value_list;
};
void copy_template(const BcmFlagsBitIndex__enum_template& other_value);
public:
BcmFlagsBitIndex__enum_template();
BcmFlagsBitIndex__enum_template(template_sel other_value);
BcmFlagsBitIndex__enum_template(int other_value);
BcmFlagsBitIndex__enum_template(BcmFlagsBitIndex__enum::enum_type other_value);
BcmFlagsBitIndex__enum_template(const BcmFlagsBitIndex__enum& other_value);
BcmFlagsBitIndex__enum_template(const OPTIONAL<BcmFlagsBitIndex__enum>& other_value);
BcmFlagsBitIndex__enum_template(const BcmFlagsBitIndex__enum_template& other_value);
~BcmFlagsBitIndex__enum_template();
boolean is_bound() const;
boolean is_value() const;
void clean_up();
BcmFlagsBitIndex__enum_template& operator=(template_sel other_value);
BcmFlagsBitIndex__enum_template& operator=(int other_value);
BcmFlagsBitIndex__enum_template& operator=(BcmFlagsBitIndex__enum::enum_type other_value);
BcmFlagsBitIndex__enum_template& operator=(const BcmFlagsBitIndex__enum& other_value);
BcmFlagsBitIndex__enum_template& operator=(const OPTIONAL<BcmFlagsBitIndex__enum>& other_value);
BcmFlagsBitIndex__enum_template& operator=(const BcmFlagsBitIndex__enum_template& other_value);
boolean match(BcmFlagsBitIndex__enum::enum_type other_value, boolean legacy = FALSE) const;
boolean match(const BcmFlagsBitIndex__enum& other_value, boolean legacy = FALSE) const;
BcmFlagsBitIndex__enum::enum_type valueof() const;
void set_type(template_sel template_type, unsigned int list_length);
BcmFlagsBitIndex__enum_template& list_item(unsigned int list_index);
void log() const;
void log_match(const BcmFlagsBitIndex__enum& 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 BcmFlags__enum : public Base_Type { // enum
friend class BcmFlags__enum_template;
public:
enum enum_type { e__CAN__BCM__SETTIMER = 1, e__CAN__BCM__STARTTIMER = 2, e__CAN__BCM__TX__COUNTEVT = 4, e__CAN__BCM__TX__ANNOUNCE = 8, e__CAN__BCM__TX__CP__CAN__ID = 16, e__CAN__BCM__RX__FILTER__ID = 32, e__CAN__BCM__RX__CHECK__DLC = 64, e__CAN__BCM__RX__NO__AUTOTIMER = 128, e__CAN__BCM__RX__ANNOUNCE__RESUME = 256, e__CAN__BCM__TX__RESET__MULTI__IDX = 512, e__CAN__BCM__RX__RTR__FRAME = 1024, UNKNOWN_VALUE = 0, UNBOUND_VALUE = 3 };
private:
enum_type enum_value;
public:
BcmFlags__enum();
BcmFlags__enum(int other_value);
BcmFlags__enum(enum_type other_value);
BcmFlags__enum(const BcmFlags__enum& other_value);
BcmFlags__enum& operator=(int other_value);
BcmFlags__enum& operator=(enum_type other_value);
BcmFlags__enum& operator=(const BcmFlags__enum& other_value);
boolean operator==(enum_type other_value) const;
boolean operator==(const BcmFlags__enum& other_value) const;
inline boolean operator!=(enum_type other_value) const { return !(*this == other_value); }
inline boolean operator!=(const BcmFlags__enum& other_value) const { return !(*this == other_value); }
boolean operator<(enum_type other_value) const;
boolean operator<(const BcmFlags__enum& other_value) const;
boolean operator>(enum_type other_value) const;
boolean operator>(const BcmFlags__enum& other_value) const;
inline boolean operator<=(enum_type other_value) const { return !(*this > other_value); }
inline boolean operator<=(const BcmFlags__enum& other_value) const { return !(*this > other_value); }
inline boolean operator>=(enum_type other_value) const { return !(*this < other_value); }
inline boolean operator>=(const BcmFlags__enum& 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 BcmFlags__enum& 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 BcmFlags__enum_template : public Base_Template {
union {
BcmFlags__enum::enum_type single_value;
struct {
unsigned int n_values;
BcmFlags__enum_template *list_value;
} value_list;
};
void copy_template(const BcmFlags__enum_template& other_value);
public:
BcmFlags__enum_template();
BcmFlags__enum_template(template_sel other_value);
BcmFlags__enum_template(int other_value);
BcmFlags__enum_template(BcmFlags__enum::enum_type other_value);
BcmFlags__enum_template(const BcmFlags__enum& other_value);
BcmFlags__enum_template(const OPTIONAL<BcmFlags__enum>& other_value);
BcmFlags__enum_template(const BcmFlags__enum_template& other_value);
~BcmFlags__enum_template();
boolean is_bound() const;
boolean is_value() const;
void clean_up();
BcmFlags__enum_template& operator=(template_sel other_value);
BcmFlags__enum_template& operator=(int other_value);
BcmFlags__enum_template& operator=(BcmFlags__enum::enum_type other_value);
BcmFlags__enum_template& operator=(const BcmFlags__enum& other_value);
BcmFlags__enum_template& operator=(const OPTIONAL<BcmFlags__enum>& other_value);
BcmFlags__enum_template& operator=(const BcmFlags__enum_template& other_value);
boolean match(BcmFlags__enum::enum_type other_value, boolean legacy = FALSE) const;
boolean match(const BcmFlags__enum& other_value, boolean legacy = FALSE) const;
BcmFlags__enum::enum_type valueof() const;
void set_type(template_sel template_type, unsigned int list_length);
BcmFlags__enum_template& list_item(unsigned int list_index);
void log() const;
void log_match(const BcmFlags__enum& 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 BcmOpcode__enum : public Base_Type { // enum
friend class BcmOpcode__enum_template;
public:
enum enum_type { e__CAN__BCM__TX__SETUP = 1, e__CAN__BCM__TX__DELETE = 2, e__CAN__BCM__TX__READ = 3, e__CAN__BCM__TX__SEND = 4, e__CAN__BCM__RX__SETUP = 5, e__CAN__BCM__RX__DELETE = 6, e__CAN__BCM__RX__READ = 7, e__CAN__BCM__TX__STATUS = 8, e__CAN__BCM__TX__EXPIRED = 9, e__CAN__BCM__RX__STATUS = 10, e__CAN__BCM__RX__TIMEOUT = 11, e__CAN__BCM__RX__CHANGED = 12, UNKNOWN_VALUE = 0, UNBOUND_VALUE = 13 };
private:
enum_type enum_value;
public:
BcmOpcode__enum();
BcmOpcode__enum(int other_value);
BcmOpcode__enum(enum_type other_value);
BcmOpcode__enum(const BcmOpcode__enum& other_value);
BcmOpcode__enum& operator=(int other_value);
BcmOpcode__enum& operator=(enum_type other_value);
BcmOpcode__enum& operator=(const BcmOpcode__enum& other_value);
boolean operator==(enum_type other_value) const;
boolean operator==(const BcmOpcode__enum& other_value) const;
inline boolean operator!=(enum_type other_value) const { return !(*this == other_value); }
inline boolean operator!=(const BcmOpcode__enum& other_value) const { return !(*this == other_value); }
boolean operator<(enum_type other_value) const;
boolean operator<(const BcmOpcode__enum& other_value) const;
boolean operator>(enum_type other_value) const;
boolean operator>(const BcmOpcode__enum& other_value) const;
inline boolean operator<=(enum_type other_value) const { return !(*this > other_value); }
inline boolean operator<=(const BcmOpcode__enum& other_value) const { return !(*this > other_value); }
inline boolean operator>=(enum_type other_value) const { return !(*this < other_value); }
inline boolean operator>=(const BcmOpcode__enum& 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 BcmOpcode__enum& 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 BcmOpcode__enum_template : public Base_Template {
union {
BcmOpcode__enum::enum_type single_value;
struct {
unsigned int n_values;
BcmOpcode__enum_template *list_value;
} value_list;
};
void copy_template(const BcmOpcode__enum_template& other_value);
public:
BcmOpcode__enum_template();
BcmOpcode__enum_template(template_sel other_value);
BcmOpcode__enum_template(int other_value);
BcmOpcode__enum_template(BcmOpcode__enum::enum_type other_value);
BcmOpcode__enum_template(const BcmOpcode__enum& other_value);
BcmOpcode__enum_template(const OPTIONAL<BcmOpcode__enum>& other_value);
BcmOpcode__enum_template(const BcmOpcode__enum_template& other_value);
~BcmOpcode__enum_template();
boolean is_bound() const;
boolean is_value() const;
void clean_up();
BcmOpcode__enum_template& operator=(template_sel other_value);
BcmOpcode__enum_template& operator=(int other_value);
BcmOpcode__enum_template& operator=(BcmOpcode__enum::enum_type other_value);
BcmOpcode__enum_template& operator=(const BcmOpcode__enum& other_value);
BcmOpcode__enum_template& operator=(const OPTIONAL<BcmOpcode__enum>& other_value);
BcmOpcode__enum_template& operator=(const BcmOpcode__enum_template& other_value);
boolean match(BcmOpcode__enum::enum_type other_value, boolean legacy = FALSE) const;
boolean match(const BcmOpcode__enum& other_value, boolean legacy = FALSE) const;
BcmOpcode__enum::enum_type valueof() const;
void set_type(template_sel template_type, unsigned int list_length);
BcmOpcode__enum_template& list_item(unsigned int list_index);
void log() const;
void log_match(const BcmOpcode__enum& 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 Bcm__timeval {
INTEGER field_tv__sec;
INTEGER field_tv__usec;
public:
Bcm__timeval();
Bcm__timeval(const INTEGER& par_tv__sec,
const INTEGER& par_tv__usec);
Bcm__timeval(const Bcm__timeval& other_value);
inline boolean is_component() { return FALSE; }
void clean_up();
const TTCN_Typedescriptor_t* get_descriptor() const;
Bcm__timeval& operator=(const Bcm__timeval& other_value);
boolean operator==(const Bcm__timeval& other_value) const;
inline boolean operator!=(const Bcm__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 Bcm__timeval_template : public Base_Template {
struct single_value_struct;
union {
single_value_struct *single_value;
struct {
unsigned int n_values;
Bcm__timeval_template *list_value;
} value_list;
};
void set_specific();
void copy_value(const Bcm__timeval& other_value);
void copy_template(const Bcm__timeval_template& other_value);
public:
Bcm__timeval_template();
Bcm__timeval_template(template_sel other_value);
Bcm__timeval_template(const Bcm__timeval& other_value);
Bcm__timeval_template(const OPTIONAL<Bcm__timeval>& other_value);
Bcm__timeval_template(const Bcm__timeval_template& other_value);
~Bcm__timeval_template();
Bcm__timeval_template& operator=(template_sel other_value);
Bcm__timeval_template& operator=(const Bcm__timeval& other_value);
Bcm__timeval_template& operator=(const OPTIONAL<Bcm__timeval>& other_value);
Bcm__timeval_template& operator=(const Bcm__timeval_template& other_value);
boolean match(const Bcm__timeval& other_value, boolean legacy = FALSE) const;
boolean is_bound() const;
boolean is_value() const;
void clean_up();
Bcm__timeval valueof() const;
void set_type(template_sel template_type, unsigned int list_length);
Bcm__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 Bcm__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__bcm__frame_frames : 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 {
SocketCAN__bcm__frame_frames_can__frame *field_can__frame;
SocketCAN__bcm__frame_frames_canfd__frame *field_canfd__frame;
};
void copy_value(const SocketCAN__bcm__frame_frames& other_value);
public:
SocketCAN__bcm__frame_frames();
SocketCAN__bcm__frame_frames(const SocketCAN__bcm__frame_frames& other_value);
~SocketCAN__bcm__frame_frames();
SocketCAN__bcm__frame_frames& operator=(const SocketCAN__bcm__frame_frames& other_value);
boolean operator==(const SocketCAN__bcm__frame_frames& other_value) const;
inline boolean operator!=(const SocketCAN__bcm__frame_frames& other_value) const { return !(*this == other_value); }
SocketCAN__bcm__frame_frames_can__frame& can__frame();
const SocketCAN__bcm__frame_frames_can__frame& can__frame() const;
SocketCAN__bcm__frame_frames_canfd__frame& canfd__frame();
const SocketCAN__bcm__frame_frames_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__bcm__frame_frames_template : public Base_Template {
union {
struct {
SocketCAN__bcm__frame_frames::union_selection_type union_selection;
union {
SocketCAN__bcm__frame_frames_can__frame_template *field_can__frame;
SocketCAN__bcm__frame_frames_canfd__frame_template *field_canfd__frame;
};
} single_value;
struct {
unsigned int n_values;
SocketCAN__bcm__frame_frames_template *list_value;
} value_list;
};
void copy_value(const SocketCAN__bcm__frame_frames& other_value);
void copy_template(const SocketCAN__bcm__frame_frames_template& other_value);
public:
SocketCAN__bcm__frame_frames_template();
SocketCAN__bcm__frame_frames_template(template_sel other_value);
SocketCAN__bcm__frame_frames_template(const SocketCAN__bcm__frame_frames& other_value);
SocketCAN__bcm__frame_frames_template(const OPTIONAL<SocketCAN__bcm__frame_frames>& other_value);
SocketCAN__bcm__frame_frames_template(const SocketCAN__bcm__frame_frames_template& other_value);
~SocketCAN__bcm__frame_frames_template();
void clean_up();
SocketCAN__bcm__frame_frames_template& operator=(template_sel other_value);
SocketCAN__bcm__frame_frames_template& operator=(const SocketCAN__bcm__frame_frames& other_value);
SocketCAN__bcm__frame_frames_template& operator=(const OPTIONAL<SocketCAN__bcm__frame_frames>& other_value);
SocketCAN__bcm__frame_frames_template& operator=(const SocketCAN__bcm__frame_frames_template& other_value);
boolean match(const SocketCAN__bcm__frame_frames& other_value, boolean legacy = FALSE) const;
boolean is_value() const;SocketCAN__bcm__frame_frames valueof() const;
SocketCAN__bcm__frame_frames_template& list_item(unsigned int list_index) const;
void set_type(template_sel template_type, unsigned int list_length);
SocketCAN__bcm__frame_frames_can__frame_template& can__frame();
const SocketCAN__bcm__frame_frames_can__frame_template& can__frame() const;
SocketCAN__bcm__frame_frames_canfd__frame_template& canfd__frame();
const SocketCAN__bcm__frame_frames_canfd__frame_template& canfd__frame() const;
boolean ischosen(SocketCAN__bcm__frame_frames::union_selection_type checked_selection) const;
void log() const;
void log_match(const SocketCAN__bcm__frame_frames& 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;
};