ns-3 Direct Code Execution
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ns3::SharedLibrary Class Reference
+ Collaboration diagram for ns3::SharedLibrary:

Public Member Functions

 SharedLibrary (string sName, string fullName)
void AddLibrary (string l)
void AddPath (string p)
bool CalcDepth (int max, map< string, SharedLibrary * > &mapScanned)
bool GetArch32 () const
bool GetArch64 () const
int GetDepth () const
set< pair< string, string > > GetLibs () const
string GetName (bool full) const
vector< string > GetPath () const
string GetSoname () const
bool SearchLibs ()
void SetArch32 ()
void SetArch64 ()
void SetSoName (string s)

Private Attributes

bool m_arch32
bool m_arch64
int m_depth
const string m_fullName
set< pair< string, string > > m_libs
vector< string > m_path
const string m_sName
string m_soname

Detailed Description

Definition at line 48 of file elf-ldd.cc.

Constructor & Destructor Documentation

ns3::SharedLibrary::SharedLibrary ( string  sName,
string  fullName 
)

Definition at line 83 of file elf-ldd.cc.

Member Function Documentation

void ns3::SharedLibrary::AddLibrary ( string  l)

Definition at line 92 of file elf-ldd.cc.

References m_libs.

Referenced by ns3::ElfLdd::ExtractLibraries().

+ Here is the caller graph for this function:

void ns3::SharedLibrary::AddPath ( string  p)

Definition at line 98 of file elf-ldd.cc.

References m_path.

Referenced by ns3::ElfLdd::ExtractLibraries(), and ns3::ElfLdd::Loop().

+ Here is the caller graph for this function:

bool ns3::SharedLibrary::CalcDepth ( int  max,
map< string, SharedLibrary * > &  mapScanned 
)

Definition at line 229 of file elf-ldd.cc.

References m_depth, and m_libs.

bool ns3::SharedLibrary::GetArch32 ( ) const

Definition at line 171 of file elf-ldd.cc.

References m_arch32.

Referenced by ns3::ElfLdd::Loop().

+ Here is the caller graph for this function:

bool ns3::SharedLibrary::GetArch64 ( ) const

Definition at line 175 of file elf-ldd.cc.

References m_arch64.

Referenced by ns3::ElfLdd::Loop().

+ Here is the caller graph for this function:

int ns3::SharedLibrary::GetDepth ( ) const

Definition at line 260 of file elf-ldd.cc.

References m_depth.

set< pair< string, string > > ns3::SharedLibrary::GetLibs ( ) const

Definition at line 146 of file elf-ldd.cc.

References m_libs.

Referenced by ns3::ElfLdd::Loop().

+ Here is the caller graph for this function:

string ns3::SharedLibrary::GetName ( bool  full) const

Definition at line 180 of file elf-ldd.cc.

References m_fullName, and m_sName.

vector< string > ns3::SharedLibrary::GetPath ( ) const

Definition at line 151 of file elf-ldd.cc.

References m_path.

string ns3::SharedLibrary::GetSoname ( ) const

Definition at line 156 of file elf-ldd.cc.

References m_soname.

bool ns3::SharedLibrary::SearchLibs ( )

Definition at line 192 of file elf-ldd.cc.

References m_libs, and m_path.

Referenced by ns3::ElfLdd::Loop().

+ Here is the caller graph for this function:

void ns3::SharedLibrary::SetArch32 ( )

Definition at line 161 of file elf-ldd.cc.

References m_arch32.

Referenced by ns3::ElfLdd::ExtractLibraries().

+ Here is the caller graph for this function:

void ns3::SharedLibrary::SetArch64 ( )

Definition at line 166 of file elf-ldd.cc.

References m_arch64.

Referenced by ns3::ElfLdd::ExtractLibraries().

+ Here is the caller graph for this function:

void ns3::SharedLibrary::SetSoName ( string  s)

Definition at line 141 of file elf-ldd.cc.

References m_soname.

Referenced by ns3::ElfLdd::ExtractLibraries().

+ Here is the caller graph for this function:

Member Data Documentation

bool ns3::SharedLibrary::m_arch32
private

Definition at line 78 of file elf-ldd.cc.

Referenced by GetArch32(), and SetArch32().

bool ns3::SharedLibrary::m_arch64
private

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

Referenced by GetArch64(), and SetArch64().

int ns3::SharedLibrary::m_depth
private

Definition at line 80 of file elf-ldd.cc.

Referenced by CalcDepth(), and GetDepth().

const string ns3::SharedLibrary::m_fullName
private

Definition at line 69 of file elf-ldd.cc.

Referenced by GetName().

set<pair<string,string> > ns3::SharedLibrary::m_libs
private

Definition at line 73 of file elf-ldd.cc.

Referenced by AddLibrary(), CalcDepth(), GetLibs(), and SearchLibs().

vector<string> ns3::SharedLibrary::m_path
private

Definition at line 75 of file elf-ldd.cc.

Referenced by AddPath(), GetPath(), and SearchLibs().

const string ns3::SharedLibrary::m_sName
private

Definition at line 71 of file elf-ldd.cc.

Referenced by GetName().

string ns3::SharedLibrary::m_soname
private

Definition at line 77 of file elf-ldd.cc.

Referenced by GetSoname(), and SetSoName().


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