#include <tag.h>
Public Member Functions | |
virtual uint32_t | GetSerializedSize (void) const =0 |
virtual void | Serialize (TagBuffer i) const =0 |
virtual void | Deserialize (TagBuffer i)=0 |
virtual void | Print (std::ostream &os) const =0 |
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
This method returns the TypeId associated to ns3::ObjectBase. |
New kinds of tags can be created by subclassing this base class.
virtual void ns3::Tag::Deserialize | ( | TagBuffer | i | ) | [pure virtual] |
i | the buffer to read data from. |
Implemented in ns3::SocketAddressTag, ns3::SocketIpTtlTag, and ns3::SocketSetDontFragmentTag.
virtual uint32_t ns3::Tag::GetSerializedSize | ( | void | ) | const [pure virtual] |
Implemented in ns3::SocketAddressTag, ns3::SocketIpTtlTag, and ns3::SocketSetDontFragmentTag.
static TypeId ns3::Tag::GetTypeId | ( | void | ) | [static] |
This method returns the TypeId associated to ns3::ObjectBase.
No Attributes defined for this type.
No TraceSources defined for this type.
Reimplemented from ns3::ObjectBase.
Reimplemented in ns3::SocketAddressTag, ns3::SocketIpTtlTag, and ns3::SocketSetDontFragmentTag.
virtual void ns3::Tag::Print | ( | std::ostream & | os | ) | const [pure virtual] |
os | the stream to print to |
Implemented in ns3::SocketAddressTag, ns3::SocketIpTtlTag, and ns3::SocketSetDontFragmentTag.
virtual void ns3::Tag::Serialize | ( | TagBuffer | i | ) | const [pure virtual] |
i | the buffer to write data into. |
Implemented in ns3::SocketAddressTag, ns3::SocketIpTtlTag, and ns3::SocketSetDontFragmentTag.