Public Member Functions | |
Resolver (std::string path) | |
virtual | ~Resolver () |
void | Resolve (Ptr< Object > root) |
Private Member Functions | |
void | Canonicalize (void) |
void | DoResolve (std::string path, Ptr< Object > root) |
void | DoArrayResolve (std::string path, const ObjectVectorValue &vector) |
void | DoResolveOne (Ptr< Object > object) |
std::string | GetResolvedPath (void) const |
virtual void | DoOne (Ptr< Object > object, std::string path)=0 |
Private Attributes | |
std::vector< std::string > | m_workStack |
std::string | m_path |
Definition at line 214 of file config.cc.
ns3::Resolver::Resolver | ( | std::string | path | ) |
Definition at line 232 of file config.cc.
References Canonicalize().
void ns3::Resolver::Canonicalize | ( | void | ) | [private] |
void ns3::Resolver::DoArrayResolve | ( | std::string | path, | |
const ObjectVectorValue & | vector | |||
) | [private] |
Definition at line 360 of file config.cc.
References DoResolve(), ns3::ObjectVectorValue::Get(), ns3::ObjectVectorValue::GetN(), m_workStack, ns3::ArrayMatcher::Matches(), NS_ASSERT, and NS_FATAL_ERROR.
Referenced by DoResolve().
virtual void ns3::Resolver::DoOne | ( | Ptr< Object > | object, | |
std::string | path | |||
) | [private, pure virtual] |
Referenced by DoResolveOne().
Definition at line 282 of file config.cc.
References ns3::TypeId::AttributeInfo::checker, DoArrayResolve(), DoResolveOne(), ns3::PointerValue::Get(), GetResolvedPath(), ns3::TypeId::LookupAttributeByName(), ns3::TypeId::LookupByName(), m_workStack, NS_ASSERT, NS_LOG_DEBUG, NS_LOG_ERROR, NS_LOG_FUNCTION, and ns3::PeekPointer().
Referenced by DoArrayResolve(), and Resolve().
Definition at line 275 of file config.cc.
References DoOne(), GetResolvedPath(), and NS_LOG_DEBUG.
Referenced by DoResolve().
std::string ns3::Resolver::GetResolvedPath | ( | void | ) | const [private] |
Definition at line 264 of file config.cc.
References m_workStack.
Referenced by DoResolve(), and DoResolveOne().
Definition at line 258 of file config.cc.
References DoResolve(), and m_path.
std::string ns3::Resolver::m_path [private] |
Definition at line 229 of file config.cc.
Referenced by Canonicalize(), and Resolve().
std::vector<std::string> ns3::Resolver::m_workStack [private] |
Definition at line 228 of file config.cc.
Referenced by DoArrayResolve(), DoResolve(), and GetResolvedPath().