A Discrete-Event Network Simulator
API
system-path.h File Reference

ns3::SystemPath declarations. More...

#include <string>
#include <list>
+ Include dependency graph for system-path.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 ns3
 Every class exported by the ns3 library is enclosed in the ns3 namespace.
 
 ns3::SystemPath
 Namespace for various file and directory path functions.
 

Functions

std::string ns3::SystemPath::Append (std::string left, std::string right)
 Join two file system path elements. More...
 
bool ns3::SystemPath::Exists (const std::string path)
 Check if a path exists. More...
 
std::string ns3::SystemPath::FindSelfDirectory (void)
 Get the file system path to the current executable. More...
 
std::string ns3::SystemPath::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. More...
 
void ns3::SystemPath::MakeDirectories (std::string path)
 Create all the directories leading to path. More...
 
std::string ns3::SystemPath::MakeTemporaryDirectoryName (void)
 Get the name of a temporary directory. More...
 
std::list< std::string > ns3::SystemPath::ReadFiles (std::string path)
 Get the list of files located in a file system directory. More...
 
std::list< std::string > ns3::SystemPath::Split (std::string path)
 Split a file system path into directories according to the local path separator. More...
 

Detailed Description

ns3::SystemPath declarations.

Definition in file system-path.h.