padding_m.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. //
  2. // Generated file, do not edit! Created by nedtool 5.2 from Frames/padding.msg.
  3. //
  4. #if defined(__clang__)
  5. # pragma clang diagnostic ignored "-Wreserved-id-macro"
  6. #endif
  7. #ifndef __PADDING_M_H
  8. #define __PADDING_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. /**
  16. * Class generated from <tt>Frames/padding.msg:21</tt> by nedtool.
  17. * <pre>
  18. * class Padding
  19. * {
  20. * string pad;
  21. * }
  22. * </pre>
  23. */
  24. class Padding : public ::omnetpp::cObject
  25. {
  26. protected:
  27. ::omnetpp::opp_string pad;
  28. private:
  29. void copy(const Padding& other);
  30. protected:
  31. // protected and unimplemented operator==(), to prevent accidental usage
  32. bool operator==(const Padding&);
  33. public:
  34. Padding();
  35. Padding(const Padding& other);
  36. virtual ~Padding();
  37. Padding& operator=(const Padding& other);
  38. virtual Padding *dup() const override {return new Padding(*this);}
  39. virtual void parsimPack(omnetpp::cCommBuffer *b) const override;
  40. virtual void parsimUnpack(omnetpp::cCommBuffer *b) override;
  41. // field getter/setter methods
  42. virtual const char * getPad() const;
  43. virtual void setPad(const char * pad);
  44. };
  45. inline void doParsimPacking(omnetpp::cCommBuffer *b, const Padding& obj) {obj.parsimPack(b);}
  46. inline void doParsimUnpacking(omnetpp::cCommBuffer *b, Padding& obj) {obj.parsimUnpack(b);}
  47. #endif // ifndef __PADDING_M_H