src/common/mtag.h
changeset 3041 a624276a897b
parent 3040 e11e106c7c19
child 3042 d0a9677d5452
equal deleted inserted replaced
3040:e11e106c7c19 3041:a624276a897b
     1 #ifndef MTAG_H
       
     2 #define MTAG_H
       
     3 
       
     4 #include "ns3/object-base.h"
       
     5 #include "mtag-buffer.h"
       
     6 #include <stdint.h>
       
     7 
       
     8 namespace ns3 {
       
     9 
       
    10 class Tag : public ObjectBase
       
    11 {
       
    12 public:
       
    13   static TypeId GetTypeId (void);
       
    14 
       
    15   virtual uint32_t GetSerializedSize (void) const = 0;
       
    16   virtual void Serialize (TagBuffer i) const = 0;
       
    17   virtual void Deserialize (TagBuffer i) = 0;
       
    18 };
       
    19 
       
    20 } // namespace ns3
       
    21 
       
    22 #endif /* MTAG_H */