GetName -> GetTypeName

This commit is contained in:
Mathieu Lacage committed 2007-08-30 14:35:44 +02:00
1 parent 0aa3a7bfb0
commit c0ac2a19c6
19 files changed
+246 -41

No files matched your search

+2 -2
View File
@@ -51,9 +51,9 @@ NodeListIndex::Get (void) const
return m_index;
}
std::string
NodeListIndex::GetName (void) const
NodeListIndex::GetTypeName (void) const
{
return "NodeListIndex";
return "ns3::NodeListIndex";
}
+1 -1
View File
@@ -40,7 +40,7 @@ public:
void Print (std::ostream &os);
static uint16_t GetUid (void);
uint32_t Get (void) const;
std::string GetName (void) const;
std::string GetTypeName (void) const;
private:
uint32_t m_index;
};
+2 -2
View File
@@ -53,9 +53,9 @@ NodeNetDeviceIndex::GetUid (void)
return uid;
}
std::string
NodeNetDeviceIndex::GetName (void) const
NodeNetDeviceIndex::GetTypeName (void) const
{
return "NodeNetDeviceIndex";
return "ns3::NodeNetDeviceIndex";
}
+1 -1
View File
@@ -44,7 +44,7 @@ public:
NodeNetDeviceIndex (uint32_t index);
uint32_t Get (void) const;
void Print (std::ostream &os) const;
std::string GetName (void) const;
std::string GetTypeName (void) const;
static uint16_t GetUid (void);
private:
uint32_t m_index;
+2 -2
View File
@@ -33,9 +33,9 @@ static ClassIdDefaultValue g_classIdDefaultValue ("Queue", "Packet Queue",
std::string
QueueTraceType::GetName (void) const
QueueTraceType::GetTypeName (void) const
{
return "QueueTraceType";
return "ns3::QueueTraceType";
}
uint16_t
QueueTraceType::GetUid (void)
+1 -1
View File
@@ -52,7 +52,7 @@ public:
bool IsDequeue (void) const;
bool IsDrop (void) const;
void Print (std::ostream &os) const;
std::string GetName (void) const;
std::string GetTypeName (void) const;
private:
enum Type m_type;
};