Public Member Functions | |
NamesPriv () | |
~NamesPriv () | |
bool | Add (std::string name, Ptr< Object > object) |
bool | Add (std::string path, std::string name, Ptr< Object > object) |
bool | Add (Ptr< Object > context, std::string name, Ptr< Object > object) |
void | Clear (void) |
Ptr< Object > | Find (std::string name) |
Ptr< Object > | Find (std::string path, std::string name) |
Ptr< Object > | Find (Ptr< Object > context, std::string name) |
std::string | FindName (Ptr< Object > object) |
std::string | FindPath (Ptr< Object > object) |
bool | Rename (std::string oldpath, std::string newname) |
bool | Rename (std::string path, std::string oldname, std::string newname) |
bool | Rename (Ptr< Object > context, std::string oldname, std::string newname) |
Private Member Functions | |
bool | IsDuplicateName (NameNode *node, std::string name) |
NameNode * | IsNamed (Ptr< Object >) |
Static Private Member Functions | |
static NamesPriv * | Get (void) |
Private Attributes | |
std::map< Ptr< Object > , NameNode * > | m_objectMap |
NameNode | m_root |
Friends | |
class | Names |
ns3::NamesPriv::NamesPriv | ( | ) |
Definition at line 124 of file names.cc.
References ns3::NameNode::m_name, ns3::NameNode::m_object, ns3::NameNode::m_parent, m_root, and NS_LOG_FUNCTION.
ns3::NamesPriv::~NamesPriv | ( | ) |
Definition at line 133 of file names.cc.
References Clear(), ns3::NameNode::m_name, m_root, and NS_LOG_FUNCTION.
Definition at line 163 of file names.cc.
References NS_ASSERT_MSG, and NS_LOG_FUNCTION.
Referenced by ns3::Names::Add(), and Add().
Definition at line 225 of file names.cc.
References Add(), Find(), and NS_LOG_FUNCTION.
Definition at line 236 of file names.cc.
References IsDuplicateName(), IsNamed(), ns3::NameNode::m_nameMap, m_objectMap, m_root, NS_ASSERT_MSG, NS_LOG_FUNCTION, and NS_LOG_LOGIC.
void ns3::NamesPriv::Clear | ( | void | ) |
Definition at line 141 of file names.cc.
References ns3::NameNode::m_name, ns3::NameNode::m_nameMap, ns3::NameNode::m_object, m_objectMap, ns3::NameNode::m_parent, m_root, and NS_LOG_FUNCTION.
Referenced by ns3::Names::Clear(), and ~NamesPriv().
Definition at line 439 of file names.cc.
References ns3::NameNode::m_nameMap, m_root, NS_ASSERT_MSG, NS_LOG_FUNCTION, and NS_LOG_LOGIC.
Referenced by Add(), Find(), ns3::Names::FindInternal(), and Rename().
Definition at line 533 of file names.cc.
References Find(), and NS_LOG_FUNCTION.
Definition at line 545 of file names.cc.
References IsNamed(), ns3::NameNode::m_nameMap, m_root, NS_LOG_FUNCTION, and NS_LOG_LOGIC.
Definition at line 393 of file names.cc.
References m_objectMap, NS_LOG_FUNCTION, and NS_LOG_LOGIC.
Referenced by ns3::Names::FindName().
Definition at line 411 of file names.cc.
References ns3::NameNode::m_name, m_objectMap, ns3::NameNode::m_parent, NS_ASSERT_MSG, NS_LOG_FUNCTION, and NS_LOG_LOGIC.
Referenced by ns3::Names::FindPath().
|
staticprivate |
Definition at line 117 of file names.cc.
References NS_LOG_FUNCTION_NOARGS.
Referenced by ns3::Names::Add(), ns3::Names::Clear(), ns3::Names::FindInternal(), ns3::Names::FindName(), ns3::Names::FindPath(), and ns3::Names::Rename().
|
private |
Definition at line 598 of file names.cc.
References ns3::NameNode::m_nameMap, NS_LOG_FUNCTION, and NS_LOG_LOGIC.
Referenced by Add(), and Rename().
Definition at line 580 of file names.cc.
References m_objectMap, NS_LOG_FUNCTION, and NS_LOG_LOGIC.
Referenced by Add(), Find(), and Rename().
bool ns3::NamesPriv::Rename | ( | std::string | oldpath, |
std::string | newname | ||
) |
Definition at line 271 of file names.cc.
References NS_ASSERT_MSG, and NS_LOG_FUNCTION.
Referenced by Rename(), and ns3::Names::Rename().
bool ns3::NamesPriv::Rename | ( | std::string | path, |
std::string | oldname, | ||
std::string | newname | ||
) |
Definition at line 335 of file names.cc.
References Find(), NS_LOG_FUNCTION, and Rename().
Definition at line 346 of file names.cc.
References IsDuplicateName(), IsNamed(), ns3::NameNode::m_name, ns3::NameNode::m_nameMap, m_root, NS_ASSERT_MSG, NS_LOG_FUNCTION, and NS_LOG_LOGIC.
Definition at line 113 of file names.cc.
Referenced by Add(), Clear(), FindName(), FindPath(), and IsNamed().
|
private |
Definition at line 112 of file names.cc.
Referenced by Add(), Clear(), Find(), NamesPriv(), Rename(), and ~NamesPriv().