A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ns3::Resolver Class Reference
+ Collaboration diagram for ns3::Resolver:

Public Member Functions

 Resolver (std::string path)
virtual ~Resolver ()
void Resolve (Ptr< Object > root)

Private Member Functions

void Canonicalize (void)
void DoArrayResolve (std::string path, const ObjectPtrContainerValue &vector)
virtual void DoOne (Ptr< Object > object, std::string path)=0
void DoResolve (std::string path, Ptr< Object > root)
void DoResolveOne (Ptr< Object > object)
std::string GetResolvedPath (void) const

Private Attributes

std::string m_path
std::vector< std::string > m_workStack

Detailed Description

Definition at line 219 of file config.cc.

Constructor & Destructor Documentation

ns3::Resolver::Resolver ( std::string  path)

Definition at line 237 of file config.cc.

References Canonicalize().

+ Here is the call graph for this function:

ns3::Resolver::~Resolver ( )
virtual

Definition at line 242 of file config.cc.

Member Function Documentation

void ns3::Resolver::Canonicalize ( void  )
private

Definition at line 246 of file config.cc.

References m_path.

Referenced by Resolver().

+ Here is the caller graph for this function:

void ns3::Resolver::DoArrayResolve ( std::string  path,
const ObjectPtrContainerValue vector 
)
private

Definition at line 434 of file config.cc.

References ns3::ObjectPtrContainerValue::Begin(), DoResolve(), ns3::ObjectPtrContainerValue::End(), m_workStack, ns3::ArrayMatcher::Matches(), NS_ASSERT, and NS_LOG_FUNCTION.

Referenced by DoResolve().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

virtual void ns3::Resolver::DoOne ( Ptr< Object object,
std::string  path 
)
privatepure virtual

Referenced by DoResolveOne().

+ Here is the caller graph for this function:

void ns3::Resolver::DoResolve ( std::string  path,
Ptr< Object root 
)
private
void ns3::Resolver::DoResolveOne ( Ptr< Object object)
private

Definition at line 281 of file config.cc.

References DoOne(), GetResolvedPath(), and NS_LOG_DEBUG.

Referenced by DoResolve().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

std::string ns3::Resolver::GetResolvedPath ( void  ) const
private

Definition at line 270 of file config.cc.

References m_workStack.

Referenced by DoResolve(), and DoResolveOne().

+ Here is the caller graph for this function:

void ns3::Resolver::Resolve ( Ptr< Object root)

Definition at line 264 of file config.cc.

References DoResolve(), and m_path.

+ Here is the call graph for this function:

Member Data Documentation

std::string ns3::Resolver::m_path
private

Definition at line 234 of file config.cc.

Referenced by Canonicalize(), and Resolve().

std::vector<std::string> ns3::Resolver::m_workStack
private

Definition at line 233 of file config.cc.

Referenced by DoArrayResolve(), DoResolve(), and GetResolvedPath().


The documentation for this class was generated from the following file: