GetName -> GetTypeName
This commit is contained in:
1 parent
0aa3a7bfb0
commit
c0ac2a19c6
19 files changed
+246
-41
No files matched your search
@@ -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";
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user