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 |
Definition at line 48 of file elf-ldd.cc.
ns3::SharedLibrary::SharedLibrary | ( | string | sName, |
string | fullName | ||
) |
Definition at line 83 of file elf-ldd.cc.
void ns3::SharedLibrary::AddLibrary | ( | string | l | ) |
Definition at line 92 of file elf-ldd.cc.
References m_libs.
Referenced by ns3::ElfLdd::ExtractLibraries().
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().
bool ns3::SharedLibrary::CalcDepth | ( | int | max, |
map< string, SharedLibrary * > & | mapScanned | ||
) |
Definition at line 229 of file elf-ldd.cc.
bool ns3::SharedLibrary::GetArch32 | ( | ) | const |
Definition at line 171 of file elf-ldd.cc.
References m_arch32.
Referenced by ns3::ElfLdd::Loop().
bool ns3::SharedLibrary::GetArch64 | ( | ) | const |
Definition at line 175 of file elf-ldd.cc.
References m_arch64.
Referenced by ns3::ElfLdd::Loop().
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().
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().
void ns3::SharedLibrary::SetArch32 | ( | ) |
Definition at line 161 of file elf-ldd.cc.
References m_arch32.
Referenced by ns3::ElfLdd::ExtractLibraries().
void ns3::SharedLibrary::SetArch64 | ( | ) |
Definition at line 166 of file elf-ldd.cc.
References m_arch64.
Referenced by ns3::ElfLdd::ExtractLibraries().
void ns3::SharedLibrary::SetSoName | ( | string | s | ) |
Definition at line 141 of file elf-ldd.cc.
References m_soname.
Referenced by ns3::ElfLdd::ExtractLibraries().
|
private |
Definition at line 78 of file elf-ldd.cc.
Referenced by GetArch32(), and SetArch32().
|
private |
Definition at line 79 of file elf-ldd.cc.
Referenced by GetArch64(), and SetArch64().
|
private |
Definition at line 80 of file elf-ldd.cc.
Referenced by CalcDepth(), and GetDepth().
|
private |
Definition at line 69 of file elf-ldd.cc.
Referenced by GetName().
|
private |
Definition at line 73 of file elf-ldd.cc.
Referenced by AddLibrary(), CalcDepth(), GetLibs(), and SearchLibs().
|
private |
Definition at line 75 of file elf-ldd.cc.
Referenced by AddPath(), GetPath(), and SearchLibs().
|
private |
Definition at line 71 of file elf-ldd.cc.
Referenced by GetName().
|
private |
Definition at line 77 of file elf-ldd.cc.
Referenced by GetSoname(), and SetSoName().