0_RTT_Protected_m.h 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. //
  2. // Generated file, do not edit! Created by nedtool 5.2 from Packets/0_RTT_Protected.msg.
  3. //
  4. #if defined(__clang__)
  5. # pragma clang diagnostic ignored "-Wreserved-id-macro"
  6. #endif
  7. #ifndef __0_RTT_PROTECTED_M_H
  8. #define __0_RTT_PROTECTED_M_H
  9. #include <omnetpp.h>
  10. // nedtool version check
  11. #define MSGC_VERSION 0x0502
  12. #if (MSGC_VERSION!=OMNETPP_VERSION)
  13. # error Version mismatch! Probably this file was generated by an earlier version of nedtool: 'make clean' should help.
  14. #endif
  15. // cplusplus {{
  16. #include "Frames/stream_m.h"
  17. typedef Stream* Streamptr;
  18. // }}
  19. /**
  20. * Class generated from <tt>Packets/0_RTT_Protected.msg:25</tt> by nedtool.
  21. * <pre>
  22. * packet _0_RTT_Protected
  23. * {
  24. * Streamptr stream_0;
  25. * }
  26. * </pre>
  27. */
  28. class _0_RTT_Protected : public ::omnetpp::cPacket
  29. {
  30. protected:
  31. Streamptr stream_0;
  32. private:
  33. void copy(const _0_RTT_Protected& other);
  34. protected:
  35. // protected and unimplemented operator==(), to prevent accidental usage
  36. bool operator==(const _0_RTT_Protected&);
  37. public:
  38. _0_RTT_Protected(const char *name=nullptr, short kind=0);
  39. _0_RTT_Protected(const _0_RTT_Protected& other);
  40. virtual ~_0_RTT_Protected();
  41. _0_RTT_Protected& operator=(const _0_RTT_Protected& other);
  42. virtual _0_RTT_Protected *dup() const override {return new _0_RTT_Protected(*this);}
  43. virtual void parsimPack(omnetpp::cCommBuffer *b) const override;
  44. virtual void parsimUnpack(omnetpp::cCommBuffer *b) override;
  45. // field getter/setter methods
  46. virtual Streamptr& getStream_0();
  47. virtual const Streamptr& getStream_0() const {return const_cast<_0_RTT_Protected*>(this)->getStream_0();}
  48. virtual void setStream_0(const Streamptr& stream_0);
  49. };
  50. inline void doParsimPacking(omnetpp::cCommBuffer *b, const _0_RTT_Protected& obj) {obj.parsimPack(b);}
  51. inline void doParsimUnpacking(omnetpp::cCommBuffer *b, _0_RTT_Protected& obj) {obj.parsimUnpack(b);}
  52. #endif // ifndef __0_RTT_PROTECTED_M_H