A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ns3::Resolver Class Referenceabstract
+ 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 236 of file config.cc.

Constructor & Destructor Documentation

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

Definition at line 254 of file config.cc.

References Canonicalize(), and NS_LOG_FUNCTION.

+ Here is the call graph for this function:

ns3::Resolver::~Resolver ( )
virtual

Definition at line 260 of file config.cc.

References NS_LOG_FUNCTION.

Member Function Documentation

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

Definition at line 265 of file config.cc.

References m_path, and NS_LOG_FUNCTION.

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 461 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 306 of file config.cc.

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

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 293 of file config.cc.

References m_workStack, and NS_LOG_FUNCTION.

Referenced by DoResolve(), and DoResolveOne().

+ Here is the caller graph for this function:

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

Definition at line 285 of file config.cc.

References DoResolve(), m_path, and NS_LOG_FUNCTION.

+ Here is the call graph for this function:

Member Data Documentation

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

Definition at line 251 of file config.cc.

Referenced by Canonicalize(), and Resolve().

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

Definition at line 250 of file config.cc.

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


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