src/common/tag.h
author Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
Thu, 24 Apr 2008 16:06:33 -0700
changeset 3041 a624276a897b
parent 3040 src/common/mtag.h@e11e106c7c19
child 3045 895cb1b6a903
permissions -rw-r--r--
mtag -> tag

#ifndef MTAG_H
#define MTAG_H

#include "ns3/object-base.h"
#include "tag-buffer.h"
#include <stdint.h>

namespace ns3 {

class Tag : public ObjectBase
{
public:
  static TypeId GetTypeId (void);

  virtual uint32_t GetSerializedSize (void) const = 0;
  virtual void Serialize (TagBuffer i) const = 0;
  virtual void Deserialize (TagBuffer i) = 0;
};

} // namespace ns3

#endif /* MTAG_H */