ns-3 Direct Code Execution
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ns3::ElfDependencies Class Reference

#include <elf-dependencies.h>

+ Collaboration diagram for ns3::ElfDependencies:

Classes

struct  Dependency

Public Types

typedef std::vector< struct
Dependency >::const_iterator 
Iterator

Public Member Functions

 ElfDependencies (std::string filename)
Iterator Begin (void) const
Iterator End (void) const

Private Member Functions

bool Exists (std::string filename) const
std::vector< struct DependencyGatherDependencies (std::string fullname) const
std::list< std::string > GetSearchDirectories (void) const
std::vector< struct DependencyNewGather (std::string sName, std::string fullname) const
bool SearchFile (std::string filename, std::string *dirname) const
std::list< std::string > Split (std::string input, std::string sep) const

Private Attributes

std::vector< struct Dependencym_deps

Detailed Description

Definition at line 10 of file elf-dependencies.h.

Member Typedef Documentation

typedef std::vector<struct Dependency>::const_iterator ns3::ElfDependencies::Iterator

Definition at line 18 of file elf-dependencies.h.

Constructor & Destructor Documentation

ns3::ElfDependencies::ElfDependencies ( std::string  filename)

Member Function Documentation

ElfDependencies::Iterator ns3::ElfDependencies::Begin ( void  ) const

Definition at line 277 of file elf-dependencies.cc.

References m_deps.

Referenced by ns3::CoojaLoader::LoadModule().

+ Here is the caller graph for this function:

ElfDependencies::Iterator ns3::ElfDependencies::End ( void  ) const

Definition at line 283 of file elf-dependencies.cc.

References m_deps.

Referenced by ns3::CoojaLoader::LoadModule().

+ Here is the caller graph for this function:

bool ns3::ElfDependencies::Exists ( std::string  filename) const
private

Definition at line 244 of file elf-dependencies.cc.

Referenced by SearchFile().

+ Here is the caller graph for this function:

std::vector< struct ElfDependencies::Dependency > ns3::ElfDependencies::GatherDependencies ( std::string  fullname) const
private

Definition at line 79 of file elf-dependencies.cc.

References ns3::ElfDependencies::Dependency::found, and ns3::ElfDependencies::Dependency::required.

Referenced by ElfDependencies().

+ Here is the caller graph for this function:

std::list< std::string > ns3::ElfDependencies::GetSearchDirectories ( void  ) const
private

Definition at line 217 of file elf-dependencies.cc.

References Split().

Referenced by SearchFile().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

std::vector< struct ElfDependencies::Dependency > ns3::ElfDependencies::NewGather ( std::string  sName,
std::string  fullname 
) const
private

Definition at line 49 of file elf-dependencies.cc.

References ns3::ElfLdd::Begin(), ns3::ElfLdd::End(), and ns3::ElfLdd::GetDeps().

Referenced by ElfDependencies().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool ns3::ElfDependencies::SearchFile ( std::string  filename,
std::string *  dirname 
) const
private

Definition at line 253 of file elf-dependencies.cc.

References Exists(), and GetSearchDirectories().

Referenced by ElfDependencies().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

std::list< std::string > ns3::ElfDependencies::Split ( std::string  input,
std::string  sep 
) const
private

Definition at line 189 of file elf-dependencies.cc.

Referenced by GetSearchDirectories().

+ Here is the caller graph for this function:

Member Data Documentation

std::vector<struct Dependency> ns3::ElfDependencies::m_deps
private

Definition at line 33 of file elf-dependencies.h.

Referenced by Begin(), ElfDependencies(), and End().


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