src/common/mtag.h
changeset 3040 e11e106c7c19
parent 3035 644bfc099992
equal deleted inserted replaced
3039:722cf749a9e3 3040:e11e106c7c19
     5 #include "mtag-buffer.h"
     5 #include "mtag-buffer.h"
     6 #include <stdint.h>
     6 #include <stdint.h>
     7 
     7 
     8 namespace ns3 {
     8 namespace ns3 {
     9 
     9 
    10 class Mtag : public ObjectBase
    10 class Tag : public ObjectBase
    11 {
    11 {
    12 public:
    12 public:
    13   static TypeId GetTypeId (void);
    13   static TypeId GetTypeId (void);
    14 
    14 
    15   virtual uint32_t GetSerializedSize (void) const = 0;
    15   virtual uint32_t GetSerializedSize (void) const = 0;
    16   virtual void Serialize (MtagBuffer i) const = 0;
    16   virtual void Serialize (TagBuffer i) const = 0;
    17   virtual void Deserialize (MtagBuffer i) = 0;
    17   virtual void Deserialize (TagBuffer i) = 0;
    18 };
    18 };
    19 
    19 
    20 } // namespace ns3
    20 } // namespace ns3
    21 
    21 
    22 #endif /* MTAG_H */
    22 #endif /* MTAG_H */