Files
unison/src/network/model/header.cc

31 lines
436 B
C++
Raw Normal View History

#include "header.h"
#include "ns3/log.h"
namespace ns3 {
NS_LOG_COMPONENT_DEFINE ("Header");
NS_OBJECT_ENSURE_REGISTERED (Header);
Header::~Header ()
2011-05-13 14:57:43 -04:00
{
NS_LOG_FUNCTION (this);
2011-05-13 14:57:43 -04:00
}
2011-05-13 14:57:43 -04:00
TypeId
Header::GetTypeId (void)
{
static TypeId tid = TypeId ("ns3::Header")
2008-03-17 17:37:25 -07:00
.SetParent<Chunk> ()
2011-05-13 14:57:43 -04:00
;
return tid;
}
2008-03-17 14:49:52 -07:00
std::ostream & operator << (std::ostream &os, const Header &header)
{
header.Print (os);
return os;
}
} // namespace ns3