A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::SystemPath Namespace Reference

Namespace for various file and directory path functions. More...

Functions

std::string Append (std::string left, std::string right)
 Join two file system path elements.
 
std::string CreateValidSystemPath (const std::string path)
 Replace incompatible characters in a path, to get a path compatible with different file systems.
 
std::string Dirname (std::string path)
 Get the directory path for a file.
 
bool Exists (const std::string path)
 Check if a path exists.
 
std::string FindSelfDirectory ()
 Get the file system path to the current executable.
 
std::string Join (std::list< std::string >::const_iterator begin, std::list< std::string >::const_iterator end)
 Join a list of file system path directories into a single file system path.
 
void MakeDirectories (std::string path)
 Create all the directories leading to path.
 
std::string MakeTemporaryDirectoryName ()
 Get the name of a temporary directory.
 
std::list< std::string > ReadFiles (std::string path)
 Get the list of files located in a file system directory.
 
std::list< std::string > Split (std::string path)
 Split a file system path into directories according to the local path separator.
 

Detailed Description

Namespace for various file and directory path functions.