src/common/trace-context-element.cc
changeset 1742 cf76416ce75b
parent 1741 aa837ce15faf
parent 1426 30b9f2b59a1c
child 1743 0a84462bb582
--- a/src/common/trace-context-element.cc	Thu Sep 06 15:18:14 2007 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-#include "trace-context-element.h"
-
-namespace ns3 {
-
-uint32_t 
-ElementRegistry::GetSize (uint16_t uid)
-{
-  InfoVector *vec = GetInfoVector ();
-  struct Info info = (*vec)[uid - 1];
-  return info.size;
-}
-void 
-ElementRegistry::Print (uint16_t uid, uint8_t *instance, std::ostream &os)
-{
-  InfoVector *vec = GetInfoVector ();
-  struct Info info = (*vec)[uid - 1];
-  info.print (instance, os);
-}
-void 
-ElementRegistry::Destroy (uint16_t uid, uint8_t *instance)
-{
-  InfoVector *vec = GetInfoVector ();
-  struct Info info = (*vec)[uid - 1];
-  info.destroy (instance);
-}
-ElementRegistry::InfoVector *
-ElementRegistry::GetInfoVector (void)
-{
-  static InfoVector vector;
-  return &vector;
-}
-
-
-} // namespace ns3